]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: qcom: Add initial support for Sony Xperia Z Ultra (togari)
authorKevin Widjaja <kevin.widjaja21@gmail.com>
Tue, 10 Jun 2025 18:34:55 +0000 (20:34 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 12 Jun 2025 02:39:35 +0000 (21:39 -0500)
Add the dts for the Z Ultra. This is currently almost the same as Z1
Compact (amami) and Z1 (honami) as they share almost the same hardware.

Only USB Networking and volume button are confirmed working.

Signed-off-by: Kevin Widjaja <kevin.widjaja21@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Luca Weiss <luca@lucaweiss.eu>
Link: https://lore.kernel.org/r/20250610-togari-v2-4-10e7b53b87c1@lucaweiss.eu
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/Makefile
arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts [new file with mode: 0644]
arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi

index 0c1d116f6e84f76994aa8c8286350bdcd1657a42..e875b5d25e8421fe16c94a1526ff401638ff01ab 100644 (file)
@@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-msm8974-samsung-hlte.dtb \
        qcom-msm8974-sony-xperia-rhine-amami.dtb \
        qcom-msm8974-sony-xperia-rhine-honami.dtb \
+       qcom-msm8974-sony-xperia-rhine-togari.dtb \
        qcom-msm8974pro-fairphone-fp2.dtb \
        qcom-msm8974pro-htc-m8.dtb \
        qcom-msm8974pro-oneplus-bacon.dtb \
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts
new file mode 100644 (file)
index 0000000..f60f730
--- /dev/null
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0
+#include "qcom-msm8974-sony-xperia-rhine.dtsi"
+
+/* Togari uses a different touchscreen compared to other rhine devices */
+/delete-node/ &touchscreen;
+
+/ {
+       model = "Sony Xperia Z Ultra";
+       compatible = "sony,xperia-togari", "qcom,msm8974";
+       chassis-type = "handset";
+};
+
+&pm8941_l23 {
+       regulator-min-microvolt = <2600000>;
+       regulator-max-microvolt = <2600000>;
+};
index bf539e741ec060de67e7cb656a597abbc16650fe..f973ff65733242a243a850b99821967ccc582567 100644 (file)
@@ -84,7 +84,7 @@
        status = "okay";
        clock-frequency = <355000>;
 
-       synaptics@2c {
+       touchscreen: synaptics@2c {
                compatible = "syna,rmi4-i2c";
                reg = <0x2c>;