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 46a7f2b..aea9492 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 38488ab..7d33a75 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 7c0830e..bba1c2b 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>;
+       };
+};