2023-01-16 15:08:03

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 1/2] arm64: dts: qcom: sdm630-nile: Don't use underscores in node names

Rename the reserved-memory subnodes such that they don't use
undescores.

Signed-off-by: Konrad Dybcio <[email protected]>
---
v1 -> v2:
- Correct the patch title, didn't hit CTRL-C quick enough..

arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
index 0259e90aad1c..763b1df692f2 100644
--- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
@@ -133,12 +133,12 @@ ramoops@ffc00000 {
status = "okay";
};

- debug_region@ffb00000 {
+ debug@ffb00000 {
reg = <0x00 0xffb00000 0x00 0x100000>;
no-map;
};

- removed_region@85800000 {
+ reserved@85800000 {
reg = <0x00 0x85800000 0x00 0x3700000>;
no-map;
};
--
2.39.0


2023-01-16 15:24:17

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v2 2/2] arm64: dts: qcom: sdm630-nile: Reserve simplefb memory

Reserve the bit of memory that simplefb uses to ensure it can always
probe.

Signed-off-by: Konrad Dybcio <[email protected]>
---
No changes

arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts | 5 +++++
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi | 5 +++++
2 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts
index 71b448978e88..9425b2d9536e 100644
--- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts
+++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts
@@ -21,6 +21,11 @@ framebuffer@9d400000 {
};
};

+/* Reserve a bigger chunk of RAM for the higher-res display */
+&cont_splash_mem {
+ reg = <0 0x9d400000 0 (2520 * 1080 * 4)>;
+};
+
/* Ganges devices feature a Novatek touchscreen instead. */
/delete-node/ &touchscreen;
/delete-node/ &vreg_l18a_1v8;
diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
index 763b1df692f2..e52580acd5c8 100644
--- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
@@ -142,6 +142,11 @@ reserved@85800000 {
reg = <0x00 0x85800000 0x00 0x3700000>;
no-map;
};
+
+ cont_splash_mem: splash@9d400000 {
+ reg = <0 0x9d400000 0 (1920 * 1080 * 4)>;
+ no-map;
+ };
};

/*
--
2.39.0

2023-01-17 19:17:29

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH v2 1/2] arm64: dts: qcom: sdm630-nile: Don't use underscores in node names

On Mon, 16 Jan 2023 15:14:50 +0100, Konrad Dybcio wrote:
> Rename the reserved-memory subnodes such that they don't use
> undescores.
>
>

Applied, thanks!

[1/2] arm64: dts: qcom: sdm630-nile: Don't use underscores in node names
commit: 305db81657b47cbf041a45aa4c0845ed600e3157
[2/2] arm64: dts: qcom: sdm630-nile: Reserve simplefb memory
commit: 2f20f276dd4f2796eba88a06a0fb90b5a9bbbd4b

Best regards,
--
Bjorn Andersson <[email protected]>