arm64: dts: qcom: sdm630-xperia: Retire sdm630-sony-xperia-ganges.dtsi
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Wed, 28 Jul 2021 22:25:36 +0000 (00:25 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 4 Aug 2021 20:07:04 +0000 (15:07 -0500)
After further consideration, it is not worth to keep another
separate DTSI, as the differences between Nile and Ganges are
very minimal. Instead, let's just address the minimal differences
between Kirin and Mermaid.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210728222542.54269-34-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges-kirin.dts
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi [deleted file]
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-discovery.dts
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-pioneer.dts
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dts
arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts

index 46a7f2b26e6b906e8e6e77c1b76e3ba717871abd..aea949265a2d0ccf671324f655b59cf0e817e456 100644 (file)
@@ -5,9 +5,19 @@
 
 /dts-v1/;
 
-#include "sdm630-sony-xperia-ganges.dtsi"
+#include "sdm630.dtsi"
+#include "sdm630-sony-xperia-nile.dtsi"
 
 / {
        model = "Sony Xperia 10";
        compatible = "sony,kirin-row", "qcom,sdm630";
+
+       chosen {
+               framebuffer@9d400000 {
+                       reg = <0 0x9d400000 0 (2520 * 1080 * 4)>;
+                       height = <2520>;
+               };
+       };
 };
+
+/delete-node/ &vreg_l18a_1v8;
diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-ganges.dtsi
deleted file mode 100644 (file)
index cf2e8b5..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-// SPDX-License-Identifier: BSD-3-Clause
-/*
- * Copyright (c) 2020, Martin Botka
- */
-
-/dts-v1/;
-
-/* Ganges is very similar to Nile, but
- * there are some differences that will need
- * to be addresed when more peripherals are
- * enabled upstream. Hence the separate DTSI.
- */
-#include "sdm630-sony-xperia-nile.dtsi"
-
-/ {
-       chosen {
-               framebuffer@9d400000 {
-                       reg = <0 0x9d400000 0 (2520 * 1080 * 4)>;
-                       height = <2520>;
-               };
-       };
-
-       /* Yes, this is intentional.
-        * Ganges devices only use gpio-keys for
-        * Volume Down, but currently there's an
-        * issue with it that has to be resolved.
-        * Until then, let's not make the kernel panic
-        */
-       /delete-node/ gpio-keys;
-
-       soc {
-
-               i2c@c175000 {
-                       status = "okay";
-
-                       /* Novatek touchscreen */
-               };
-       };
-
-};
index 8fca0b69fa01eea3884f6292a4a1cbe5d4485922..c574e430ba67cfcc8da2b6a16ee97d9bd5b824b1 100644 (file)
@@ -5,6 +5,7 @@
 
 /dts-v1/;
 
+#include "sdm630.dtsi"
 #include "sdm630-sony-xperia-nile.dtsi"
 
 / {
index 90dcd4ebaaed8ea2246eb6719c58354a31531929..a93ff3ab1b6db8c61862d3b2ee7aa45aa1d38a8e 100644 (file)
@@ -5,6 +5,7 @@
 
 /dts-v1/;
 
+#include "sdm630.dtsi"
 #include "sdm630-sony-xperia-nile.dtsi"
 
 / {
index fae5f1bb68345ae9776c687d041dbc1f24230a25..59a679c205e08410968cabaf792c9132ba7ea161 100644 (file)
@@ -5,6 +5,7 @@
 
 /dts-v1/;
 
+#include "sdm630.dtsi"
 #include "sdm630-sony-xperia-nile.dtsi"
 
 / {
index 38488abbe50efed41f077eb49795cc3f01008c0c..7d33a75dca915765dc2e047677a427f179177297 100644 (file)
@@ -5,7 +5,6 @@
  *                     <angelogioacchino.delregno@somainline.org>
  */
 
-#include "sdm630.dtsi"
 #include "pm660.dtsi"
 #include "pm660l.dtsi"
 #include <dt-bindings/gpio/gpio.h>
index 7c0830e6a48cd639524c1d91c3a242d1d06e5670..bba1c2bce21310530079351d131dcd249cdece30 100644 (file)
@@ -5,16 +5,20 @@
 
 /dts-v1/;
 
-/* Mermaid uses sdm636, but it's different ever so slightly
- * that we can ignore it for the time being. Sony also commonizes
- * the Ganges platform as a whole in downstream kernels.
- */
-#include "sdm630-sony-xperia-ganges.dtsi"
+#include "sdm630-sony-xperia-ganges-kirin.dts"
+#include "sdm636.dtsi"
 
 / {
        model = "Sony Xperia 10 Plus";
        compatible = "sony,mermaid-row", "qcom,sdm636";
 
+       /* SDM636 v1 */
        qcom,msm-id = <345 0>;
        qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00 0x1001b 0x102001a 0x00 0x00>;
 };
+
+&sdc2_state_on {
+       pinconf-clk {
+               drive-strength = <14>;
+       };
+};