[v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add reserved memory region

Message ID 20230127063355.1775246-1-amit.pundir@linaro.org
State New
Headers
Series [v2] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add reserved memory region |

Commit Message

Amit Pundir Jan. 27, 2023, 6:33 a.m. UTC
  Put cont splash memory region under the reserved-memory as
confirmed by the downstream code for both Tianma and EBBG variants.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
---
v2: The framebuffer address is same for the EBBG variant too,
    so moved this change from -tianma.dts to -common.dtsi.

 .../arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
  

Comments

Bjorn Andersson Feb. 9, 2023, 4:22 a.m. UTC | #1
On Fri, 27 Jan 2023 12:03:55 +0530, Amit Pundir wrote:
> Put cont splash memory region under the reserved-memory as
> confirmed by the downstream code for both Tianma and EBBG variants.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add reserved memory region
      commit: 1b8f9b9109790acf9c9647a721bad9ad345f0b29

Best regards,
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
index eb6b2b676eca..37591daace73 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi
@@ -97,6 +97,12 @@  spss_mem: memory@97f00000 {
 			no-map;
 		};
 
+		/* Cont splash region set up by the bootloader */
+		cont_splash_mem: framebuffer@9d400000 {
+			reg = <0 0x9d400000 0 0x2400000>;
+			no-map;
+		};
+
 		rmtfs_mem: memory@f6301000 {
 			compatible = "qcom,rmtfs-mem";
 			reg = <0 0xf6301000 0 0x200000>;