STM32MP1 ECO 5.0 LTDC device tree, RGB LCD not working anymore
Objective is to get the RGB888 LCD working with ECO 5.0 This panel worked fine with ECO 1.0
[1] Follow this, topic: https://community.st.com/t5/stm32-mpus-products/stm32mp1-ltdc-device-tree-for-rgb-display/td-p/315953. In ECO 5.0 these DT entries seems not valid anymore. DTC warnings occurs as listed below, even though the build goes through.
[2] RGB LCDs have reset and Enable pins for LCD control, The link above had an DT entry for it.
enable-gpios = <&gpioh 15 GPIO_ACTIVE_HIGH>; // DISP
reset-gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>; // RESET
But PH7 the reset pin is not released at boot. using gpioset -c 7 7=1, the reset is released (backlight goes on), it seems the panel DT node is ignored or panel entries have been changed. Since CubeMX does not generate DT panel examples and the wiki's might be outdated, it feels like a state of limbo.
P.S: when using gpioget -c 7 7, the tool seems to reconfigure the I/O as input and the output goes low. (LCD reset)
[3] Perhaps not related, ( I guessed it may been needed to switch on the GPU) DT examples for dk2 mention:
&gpu
{
contiguous-area = <&gpu_reserved>;
};
but this give an error in ECO 5.0,
For item [1] the u-boot DTC output:
arch/arm/dts/stm32mp157a-board-mx-lcd.dtb: Warning (reg_format): /panel/port@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm/dts/stm32mp157a-board-mx-lcd.dtb: Warning (avoid_default_addr_size): /panel/port@0: Relying on default #address-cells value
arch/arm/dts/stm32mp157a-board-mx-lcd.dtb: Warning (avoid_default_addr_size): /panel/port@0: Relying on default #size-cells value
