Comments (3)
i update my OrangePiZero OS from Linux 5.10.43-sunxi to Linux 5.10.60-sunxi
my screen fbtft spi lcd stop working , the screen is black.
fbtft history:
This patch is new in 5.10.60 and looks like it changes the reset gpio polarity:
staging: fbtft: Rectify GPIO handling
Also backlight control has been broken since 5.4, fixed in 5.10.83: #571 (edit: if backlight is built as a module)
from fbtft.
Hi First of all thank you very much.
I finally managed to turn on the screen,
The problem was, in the polarization of the LED pin (backlight).
Before that it was on 0 when I switched it to 1 everything suddenly works.
The connection to the screen worked fine, but there was no lighting to display the content :-)
The DTS file that worked for me is: (ORANGE PI ZERO)
reset ---> PA7
led ---> PA6
dc ----> PA2
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
fragment@0 {
target-path = "/aliases";
__overlay__ {
spi1 = "/soc/spi@01c69000";
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
status = "okay";
spidev@0{
status = "disabled";
};
spidev@1{
status = "disabled";
};
};
};
fragment@2 {
target = <&pio>;
__overlay__ {
opiz_display_pins: opiz_display_pins {
pins = "PA7", "PA2", "PA6";
function = "gpio_out";
};
};
};
fragment@3 {
target = <&spi1>;
__overlay__ {
/* needed to avoid dtc warning */
#address-cells = <1>;
#size-cells = <0>;
opizdisplay: opiz-display@0{
compatible = "ilitek,ili9341";
reg = <0>;
pinctrl-names = "default";
pinctrl-0 = <&opiz_display_pins>;
spi-max-frequency = <8000000>;
rotate = <270>;
bgr;
fps = <30>;
buswidth = <8>;
reset-gpios = <&pio 0 7 1>;
dc-gpios = <&pio 0 2 0>;
led-gpios= <&pio 0 6 1>;
debug = <3>;
status="okay";
};
};
};
__overrides__ {
speed = <&opizdisplay>,"spi-max-frequency:0";
rotate = <&opizdisplay>,"rotate:0";
fps = <&opizdisplay>,"fps:0";
debug = <&opizdisplay>,"debug:0";
};
};
from fbtft.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
from fbtft.
Related Issues (20)
- fbtft going blank after 2-3 hours HOT 5
- dmesg errors: no spi_device_id, using dummy regulator HOT 2
- A request to take a look at this tinydrm patch HOT 3
- ILI9341 low fps HOT 5
- ili9341 2.8" not working on beagleboneblack kernel version 5.10.0-rc7 HOT 2
- Buildroot failed because of fbtft HOT 9
- Parallel interface overlay HOT 7
- ADS7846 wont probe spi3.0 on rk3566 HOT 5
- The 6.0 kernel uses tbftf and there is a problem that fbtft cannot be mounted HOT 4
- support for ssd_1305 HOT 5
- initialize the screen to black HOT 11
- IlI9431 white screen with F1C100S (lichee nano) HOT 8
- Problem with ST7735S HOT 4
- Problems about the mainline linux and this repo HOT 2
- Can the fbtft driver still be used directly with Raspberry Pi 5B? HOT 2
- Raspberry Pi 4 HOT 5
- ST7789v inverted colors HOT 6
- Column offset HOT 3
- ST7735 SPI transfer timed out HOT 8
- Incorrect image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fbtft.