Guys, I'm lookig for your help again.
Trying to start this display with TinyDRM.
The module I looking for is `panel-mipi-dbi`. I've built Armbian with this module enabled.
Edited my dts as follows:
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
fragment@0 {
target = <&pio>;
__overlay__ {
display_pins: display_pins {
pins = "PA1", "PA3", "PA2"; /*RESET, DC_RS*/
function = "gpio_out", "gpio_out", "gpio_out";
};
};
};
fragment@1 {
target = <&spi0>;
__overlay__ {
/* needed to avoid dtc warning */
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
cs-gpios = <&pio 2 3 0>; /* ChipSelect PC3 */
num-chipselects = <1>;
panel: panel@0 {
compatible = "pcd8544", "panel-mipi-dbi-spi";
reg = <0>;
spi-max-frequency = <4000000>;
dc-gpios = <&pio 0 3 0>; /*DC_RS=PA3*/
reset-gpios = <&pio 0 1 1>; /*RESET=PA1*/
/*led-gpios = <&pio 0 2 0>; /*LED=PA2*/
write-only;
width-mm = <35>;
height-mm = <27>;
panel-timing {
hactive = <84>;
vactive = <48>;
hback-porch = <0>;
vback-porch = <0>;
clock-frequency = <0>;
hfront-porch = <0>;
hsync-len = <0>;
vfront-porch = <0>;
vsync-len = <0>;
};
};
};
};
};
Tried both variants with `<&pio>` target and without. Double checked aliases
Also added firmware `pcd8544.bin` to /lib/firmware
command 0x21 # Function set
command 0x04 # Temperature control (0)
command 0x17 # Bias system (4)
command 0x22 # Function set
command 0x0C # Display control
But no luck again. Module is not loaded, dmesg tells nothing =/
Also found this topic, but my display is still blank.