arm: dts: am335x: add 'u-boot, dm-pre-reloc' to panel
authorDario Binacchi <dariobin@libero.it>
Sat, 22 Feb 2020 13:05:46 +0000 (14:05 +0100)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 3 Mar 2020 07:38:14 +0000 (13:08 +0530)
commit72e0a0e1c7f8557e852f4533c3a07840183ae24e
tree92cba8e7e9434df2bd50c692792c3e01888baf9c
parent96b109ba7487d4ec1dfb27782d7408d415fc161d
arm: dts: am335x: add 'u-boot, dm-pre-reloc' to panel

Add the "u-boot,dm-pre-reloc" property to the "ti,tilcdc,panel"
compatible node. In this way the video-uclass module can allocate the
amount of memory needed to be assigned to the frame buffer.
For boards that support Linux the property is added to the *-u-boot.dtsi
file since it is a u-boot specific dt flag.

Ran building tests with CONFIG_AM335X_LCD enabled and disabled for the
following configurations:
 - brxre1_defconfig           --> success
 - am335x_guardian_defconfig  --> success
 - am335x_evm_defconfig       --> success
 - da850evm_defconfig         --> failure with CONFIG_AM335X_LCD enabled

Enabling CONFIG_AM335X_LCD in da850evm_defconfig causes building errors
even without applying the patch. The driver has never been enabled on the
da850 and must be adapted for this platform.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Tested-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Felix Brack <fb@ltec.ch>
12 files changed:
arch/arm/dts/am335x-brppt1-mmc.dts
arch/arm/dts/am335x-brppt1-nand.dts
arch/arm/dts/am335x-brppt1-spi.dts
arch/arm/dts/am335x-brsmarc1.dts
arch/arm/dts/am335x-brxre1.dts
arch/arm/dts/am335x-evm-u-boot.dtsi
arch/arm/dts/am335x-evmsk-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/am335x-guardian-u-boot.dtsi
arch/arm/dts/am335x-pdu001-u-boot.dtsi
arch/arm/dts/am335x-pxm50-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/am335x-rut-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/da850-evm-u-boot.dtsi