summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevarsh Thakkar <devarsht@ti.com>2024-03-05 22:39:30 +0530
committerPraneeth Bajjuri <praneeth@ti.com>2024-03-05 15:24:54 -0600
commita0fc596d669bd82d4b0b151c0eb1c5c2d32864d3 (patch)
tree530fd9d3ae7d1078cddcbef684782c2c96de9717
parent5287c9813d7f0806ecb4f5e9bc461701b33c6304 (diff)
arm64: dts: ti: am62x: am62p: Remove fb reserve and keep simplefb disabled
U-boot now supports dynamic update of simple-framebuffer region and framebuffer reservation for AM62x and AM62p platforms if bootloader splash screen is enabled. U-boot detects simple-framebuffer stub in device-tree (which is kept as disabled by default) updates it with framebuffer meta-data (viz. video format, framebuffer address) and enables it before booting Linux. In case simple-framebuffer stub is not preset in device-tree (for e.g. when user wants to keep bootloader splash active till OS bootup without displaying anything else as an intermediate), U-boot still updates the device-tree with framebuffer reservation to preserve the splash-screen till OS bootup. Reviewed-by: Bryan Brattlof <bb@ti.com> Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62p5-sk.dts13
-rw-r--r--arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi11
2 files changed, 3 insertions, 21 deletions
diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
index bf58a7aa6d5f..79e6adf3e18b 100644
--- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
@@ -39,18 +39,14 @@
stdout-path = &main_uart0;
- framebuffer0: framebuffer@ff700000 {
+ framebuffer0: framebuffer@0 {
compatible = "simple-framebuffer";
power-domains = <&k3_pds 186 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 186 6>,
<&k3_clks 186 0>,
<&k3_clks 186 2>;
display = <&dss0>;
- reg = <0x00 0xff700000 0x00 0x008ca000>;
- width = <1920>;
- height = <1200>;
- stride = <(1920 * 4)>;
- format = "x8r8g8b8";
+ status = "disabled";
};
};
@@ -113,11 +109,6 @@
reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
no-map;
};
-
- framebuffer: framebuffer@ff700000 {
- reg = <0x00 0xff700000 0x00 0x008ca000>;
- no-map;
- };
};
vmain_pd: regulator-0 {
diff --git a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
index 167e2b52e572..b1980b85cfc2 100644
--- a/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
@@ -40,11 +40,7 @@
<&k3_clks 186 0>,
<&k3_clks 186 2>;
display = <&dss>;
- reg = <0x00 0xff700000 0x00 0x008ca000>;
- width = <1920>;
- height = <1200>;
- stride = <(1920 * 4)>;
- format = "x8r8g8b8";
+ status = "disabled";
};
};
@@ -118,11 +114,6 @@
alignment = <0x1000>;
no-map;
};
-
- framebuffer: framebuffer@ff700000 {
- reg = <0x00 0xff700000 0x00 0x008ca000>;
- no-map;
- };
};
leds {