mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
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>
This commit is contained in:
parent
96b109ba74
commit
72e0a0e1c7
12 changed files with 63 additions and 0 deletions
|
@ -53,6 +53,8 @@
|
|||
bkl-pwm = <&pwmbacklight>;
|
||||
bkl-tps = <&tps_bl>;
|
||||
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
panel-info {
|
||||
ac-bias = <255>;
|
||||
ac-bias-intrpt = <0>;
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
bkl-pwm = <&pwmbacklight>;
|
||||
bkl-tps = <&tps_bl>;
|
||||
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
panel-info {
|
||||
ac-bias = <255>;
|
||||
ac-bias-intrpt = <0>;
|
||||
|
|
|
@ -54,6 +54,8 @@
|
|||
bkl-pwm = <&pwmbacklight>;
|
||||
bkl-tps = <&tps_bl>;
|
||||
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
panel-info {
|
||||
ac-bias = <255>;
|
||||
ac-bias-intrpt = <0>;
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
/*backlight = <&tps_bl>; */
|
||||
compatible = "ti,tilcdc,panel";
|
||||
status = "okay";
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
panel-info {
|
||||
ac-bias = <255>;
|
||||
|
|
|
@ -79,6 +79,8 @@
|
|||
|
||||
backlight = <&tps_bl>;
|
||||
|
||||
u-boot,dm-pre-reloc;
|
||||
|
||||
panel-info {
|
||||
ac-bias = <255>;
|
||||
ac-bias-intrpt = <0>;
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
* Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
|
||||
*/
|
||||
|
||||
/ {
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
&mmc3 {
|
||||
status = "disabled";
|
||||
|
|
12
arch/arm/dts/am335x-evmsk-u-boot.dtsi
Normal file
12
arch/arm/dts/am335x-evmsk-u-boot.dtsi
Normal file
|
@ -0,0 +1,12 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* am335x-evmsk U-Boot Additions
|
||||
*
|
||||
* Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
||||
*/
|
||||
|
||||
/ {
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
|
@ -8,6 +8,10 @@
|
|||
ocp {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
|
||||
&l4_wkup {
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
ocp {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
|
||||
&l4_wkup {
|
||||
|
|
12
arch/arm/dts/am335x-pxm50-u-boot.dtsi
Normal file
12
arch/arm/dts/am335x-pxm50-u-boot.dtsi
Normal file
|
@ -0,0 +1,12 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* am335x-pxm50 U-Boot Additions
|
||||
*
|
||||
* Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
||||
*/
|
||||
|
||||
/ {
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
12
arch/arm/dts/am335x-rut-u-boot.dtsi
Normal file
12
arch/arm/dts/am335x-rut-u-boot.dtsi
Normal file
|
@ -0,0 +1,12 @@
|
|||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* am335x-rut U-Boot Additions
|
||||
*
|
||||
* Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
||||
*/
|
||||
|
||||
/ {
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
|
@ -14,6 +14,10 @@
|
|||
nand {
|
||||
compatible = "ti,davinci-nand";
|
||||
};
|
||||
|
||||
panel {
|
||||
u-boot,dm-pre-reloc;
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
|
|
Loading…
Reference in a new issue