From nobody Sun Dec 14 12:14:19 2025 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BB066189BAC; Sat, 19 Apr 2025 09:00:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053260; cv=none; b=dauRysMRKHaB6DLqw7U8T8/2VMZTxZmbBD2TFashai33P+/yBEDymjp2NtR/nOjrR67KyBgAAoqewNcE49vYkb9el3kPd7PBVEwEiuCQxPsbHn+JhHSxQDKM+WHphKVotqq3smcfGRFwx4RW/WuRaozy3iv6dQJ96mIMetibUWM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053260; c=relaxed/simple; bh=UTB0iLCcYAYtmujp3pQBrPpMHS5LGsxj+4ZntLwyGu0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NvLDCprPsHCc/02rtzkceCZGpPgTjXG99/G5T+6rCzLF2yj/vfdDc9zHR9pntM48rUL9qivd0u06wdbNE1IoKLqlR1HlF6/uoMNSET0pBcTs0uU2e/p0qgtuB7vCL/Pc55+Lb+jOJSiBHhcloA+mWgu3/S3jLZJZsvdf1Tc+GfM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=rUvEFJlY; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="rUvEFJlY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1745053250; bh=UTB0iLCcYAYtmujp3pQBrPpMHS5LGsxj+4ZntLwyGu0=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=rUvEFJlYqHygyIaSPnu8GaKHbC+d2NothMP+5r0wTocCVQTBOEUMr3eHrE44pK4eZ 8EiCZUXCwfkbZ0mh0VLmDLXnJOzabea/Eo2NA3XElttGhpyLd0FfeE6RPSJwitQUdy zERbtErbBIMUtVkEU3JhE1ChY4Ep9rnWxXdskVEw= From: Luca Weiss Date: Sat, 19 Apr 2025 11:00:38 +0200 Subject: [PATCH 1/4] ARM: dts: qcom: sony-xperia-rhine: Enable USB charging Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250419-togari-v1-1-45840c677364@lucaweiss.eu> References: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> In-Reply-To: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Kevin Widjaja , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1037; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=e6y8Mu1vjYCiO29scDHc/QVR91PS09dXMQ9Omaobgrs=; b=kA0DAAgBcthDuJ1N11YByyZiAGgDZjuic59Kx8ixMybDal8rTIg7bX8Rx8tPREhd60hsHsHLo YkCMwQAAQgAHRYhBDm60i8ILNqRuhWP+nLYQ7idTddWBQJoA2Y7AAoJEHLYQ7idTddW5UkP/j35 irxfaVsLOOj+QDtrbp9fRzFpyibucEgdBRNg5jagrt47CwqJql8wOJExbicjVB/ArqYaBJ75iaT Dwq4lP6AKAMSWr06EKjpqpSTRdXvABuh5J8vrbunJCY+cz1DOcDicT749zhCt5mdosXd1RZ7rec +4L9t93O0XTmUA/rom/6QZ1z0GqJ4bmlGJ0OREvIU2BllLOrbSVJ7hiArK81Bha3lgRxUfrEP+i bHY6nyeqvmUmGO+xubeYenDbLu47efd+F6PySSkLhdVfEc7UPLv20zXnOpHk2lByIuAYiVfkYFn cdwOOHeeDzltjaeT94V1sI1AsilwWPdf4KyvtOqMyJdNK3MSHLV6Q54C+Ry1Y6X8OfOyqMoUSZl tjmy05AG3+dpeFdAnXHVWBap7jEIBw/GmqcjPdiY5dnJ/gdUgEDHyTY5GYFyWX37DNoESmTaBA7 syeRqhLP6VpSirIqGfjZpiADGDFexyqmkwOGfYNqZKyG+iof2TqatB7l7/RmkiO+fnmBtiNkh1N SIXN+pXm+13WzJexgWBfApCwV5NBCbcNUNUUpMXCrLlczLMfGd4/AFiyfr41EF95h1zsQWKP3sL Zh2lxj+3fta8kB2952e00MHZX4Jb+MKew4uvmJyDQw5Uk2LdSfHB/MrGDz8AgkHj5hZl0SAE3Sh ggpBX X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD From: Kevin Widjaja Set usb-charge-current-limit to enable charging over USB for all sony-rhine devices. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss --- arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi b/a= rch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi index d34659ebac22e65a511994ef201fe04f12089781..915221e00ff348309b62bd9b637= ae9771d213f1e 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi @@ -449,6 +449,7 @@ &smbb { qcom,fast-charge-safe-current =3D <1500000>; qcom,fast-charge-current-limit =3D <1500000>; qcom,dc-current-limit =3D <1800000>; + usb-charge-current-limit =3D <1800000>; qcom,fast-charge-safe-voltage =3D <4400000>; qcom,fast-charge-high-threshold-voltage =3D <4350000>; qcom,fast-charge-low-threshold-voltage =3D <3400000>; --=20 2.49.0 From nobody Sun Dec 14 12:14:19 2025 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B28318DB29; Sat, 19 Apr 2025 09:00:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053262; cv=none; b=Z2yNlf8whGy4Ffs+5HWMJCCkS1f9kgkULOLAnkn5MOD5pk+x+WAPPbsxSmYuvm3meYYAQ94PtlTYgDvA3K9GFYE2/DpDenzut7442Q6JXat9DaVHhvGl6X80PqeBU2w3M2gb42kGLauQJlzYiUyyAAFMC8WiDLwKeFLbHWd6QUs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053262; c=relaxed/simple; bh=lt5Tbb7yoGzLnlkdrJgHcDdnT2gzIVPFvz4u8klWAPU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BOiTaMSFHSEQG1WDdQxK/NvFzKI1oONPAAyf/3Z0HR0toHVfLgIYspphefrU0VbAqHo5HLtLjniVpFIO7mizji6/DbrWzQ5eMLKxgs8JrBYPm1/7JzaONfH/foeByEOmUuvVbLDH0uLChYgm/MPJ/mq0GHDfTxFo9KzKqe5ZGHg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=R8iu/eTR; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="R8iu/eTR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1745053251; bh=lt5Tbb7yoGzLnlkdrJgHcDdnT2gzIVPFvz4u8klWAPU=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=R8iu/eTRX/MmerwguGS08M9WfDX+G/VYDazv9Pw3E7q+bvI1LhVhBs+/4ZoRvNUNc EsAO0inN8pwxVXmLDu0FgYtXzx1U1gFctlgsHffTh0XfGlHpnIcWzP6bnJ6/+nIEk/ vc1VegCvPLx1awY6macwle9TYXyVM/RBodLW0uDA= From: Luca Weiss Date: Sat, 19 Apr 2025 11:00:39 +0200 Subject: [PATCH 2/4] ARM: dts: qcom: sony-xperia-rhine: Move camera buttons to amami & honami Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250419-togari-v1-2-45840c677364@lucaweiss.eu> References: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> In-Reply-To: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Kevin Widjaja , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3311; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=3yIOYaj6eDb54x1obIXLMDmJ4v5EeAK4/3bjSDAvUfc=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBoA2Y869gNBIHttSK6pGTsPUmzbKp6D87awvAEH KGDN+C2iYiJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCaANmPAAKCRBy2EO4nU3X VhKgEACZqGsO3DP2YqyFJaWIT0ZPaxwH92XBlLkVtXw+/wM9R/iJpvxa2W7W2hyuOhmgbw2VaCf 25HM6jy0uf8DJnGfXKC6KBtkibel/r2akbgSWI3vsJgKISzubLTMP0Qx2fZc+rdEFAJ1hdj5DFJ 2bVG/tUKY0eHNjKmb7+dX5SR21l1IKG2L4nVY2dfm/ijR8ab3s/+EFdFY4QOQwcRngfDYFspQOh Q7VO9qvl2C855MtjLcKk/PTKjg2jBvGdh5tAmfN4vPNSVkJaZULW6s2ufODvyYruzIFaESAi7VE qbCTJQWYSYRf3WdcFZU0S3HY4yeYfXoW82eXCQ8M5PdrQ2lQzrurXnxgIP8ba73y77avkQalZFy pRmNRBEgoQIY/KTh0zN2noaevQIts7WwLswFSW+wtRpfS2SXirDgQ1Gw1JRLxzX/4b1wJf1GdgD TE5eJLxhjitUhrxJDmb7lZacNGkBbypwYOPh1y/9uDOefsRL9T4WK3/1Wjxpk0vw6XQxIUU11IZ vszewwvtbbcZQZncuAyEYmvdSbPB+fGV0x4dxvWUZiWEHKQjRdu+XiVq+IX5gVnvAqySkqJZCFd faoRE+c7uJ1K25rNHYRV7+rcIwISPOWCpElponw4wVwxDVtB0SSx233keHQEiIFn5MNek13zTzS XnztfwsjLex5uvA== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD From: Kevin Widjaja An upcoming board in the sony-xperia-rhine family (sony-togari) does not have dedicated camera buttons, so move those from common rhine dtsi to amami and honami dts files. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- .../dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts | 16 ++++++++++++= ++++ .../dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts | 16 ++++++++++++= ++++ .../boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 14 ------------= -- 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dt= s b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts index 9f2ab5c122d0b89e0ce343bec4d47ce238ade4f4..472a45408add20ccb685c4f3255= e1b895e722ab1 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts @@ -5,6 +5,22 @@ / { model =3D "Sony Xperia Z1 Compact"; compatible =3D "sony,xperia-amami", "qcom,msm8974"; chassis-type =3D "handset"; + + gpio-keys { + key-camera-snapshot { + label =3D "camera_snapshot"; + gpios =3D <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; + linux,input-type =3D <1>; + linux,code =3D ; + }; + + key-camera-focus { + label =3D "camera_focus"; + gpios =3D <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; + linux,input-type =3D <1>; + linux,code =3D ; + }; + }; }; =20 &smbb { diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.d= ts b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts index 9028f17e5c4a76e3d381eec0356591ab245b4569..c3d69641fc1da971dc34885e66c= 6cb05bc727ddd 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts @@ -5,4 +5,20 @@ / { model =3D "Sony Xperia Z1"; compatible =3D "sony,xperia-honami", "qcom,msm8974"; chassis-type =3D "handset"; + + gpio-keys { + key-camera-snapshot { + label =3D "camera_snapshot"; + gpios =3D <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; + linux,input-type =3D <1>; + linux,code =3D ; + }; + + key-camera-focus { + label =3D "camera_focus"; + gpios =3D <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; + linux,input-type =3D <1>; + linux,code =3D ; + }; + }; }; diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi b/a= rch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi index 915221e00ff348309b62bd9b637ae9771d213f1e..667b3aaa52ea030ac9d2c92cdf7= 5633ff878f34d 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi @@ -28,20 +28,6 @@ key-volume-down { linux,code =3D ; }; =20 - key-camera-snapshot { - label =3D "camera_snapshot"; - gpios =3D <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; - linux,input-type =3D <1>; - linux,code =3D ; - }; - - key-camera-focus { - label =3D "camera_focus"; - gpios =3D <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; - linux,input-type =3D <1>; - linux,code =3D ; - }; - key-volume-up { label =3D "volume_up"; gpios =3D <&pm8941_gpios 5 GPIO_ACTIVE_LOW>; --=20 2.49.0 From nobody Sun Dec 14 12:14:19 2025 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AE541BFE00; Sat, 19 Apr 2025 09:01:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053262; cv=none; b=nLAjwmXZ3JAsX8jX7bIaqJ3fTWpfUkLNAuSj3H2khXDUh06OC4eXvnWtFIrOxXr+n4tdoAS7V4Ztqzk3HjqfqN3xeUjlJRXFOfrtywE4fFbxfGuFAj/eEfvEjGWopzM1KPkY7jCYllYYkZUJBDvcnRD+dZ2NEjUecqd4SeZdAGI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053262; c=relaxed/simple; bh=rmgJm/JsERPy/3TdFszDhxywwL/IurERnhLfOReUByg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iWRXBRpihH/jeJymKJFzdG37EoPOK33oI26ZF9qz+lmchUc4d17B75ZVu/iU2ry7eaOwMhya8oHoCwGhp8Dqf3NNMgKAbkYoMgnbFxkOo7h9Ni+8TEr52rot3vJHJjbPqN642Gpkttt0adG6Sg9/ZKOBOrl02w8dXftfVja2xyY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=oHT6XIUW; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="oHT6XIUW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1745053253; bh=rmgJm/JsERPy/3TdFszDhxywwL/IurERnhLfOReUByg=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=oHT6XIUWQPUff9UekeFFLnLa/LhBGTyDt4SsKctpv715qw4yd1kFkrPe7bHAwKR0m fw9PrVpl4c1giqRIsURPGaAqNHg52G0u8yJD0raFXdWNWIT1EmlOnsN0Vu+fEdxvnk RCxyA0Guc7hoV3g2sNCXiheTSXhH8tXoJrBwQ24I= From: Luca Weiss Date: Sat, 19 Apr 2025 11:00:40 +0200 Subject: [PATCH 3/4] dt-bindings: arm: qcom: Add Sony Xperia Z Ultra (togari) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250419-togari-v1-3-45840c677364@lucaweiss.eu> References: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> In-Reply-To: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Kevin Widjaja , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=788; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=3pYZLD6BRjR4THekXqYU3cNCBio85/oAmVd32raWyRk=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBoA2Y9S3lMNBjMXo7l4VQLIDso5rLhDFnSFqojD aUhOwYuRIuJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCaANmPQAKCRBy2EO4nU3X VqOQEACUawpzrjJkF8ReMQr19bwfeatd2JZ9VYiRWBVhHarh40sU3p4uBgffY9K/9I0UfDb/qWu 5jesz9JHUBAVy144lgwcNUbeOy0xsgryWg4OHLB6buQlFj+dJw0PSQadYE8Mcd39t2B/LfTFpId LVT6ihVIYvo4ScWLgR2FZb+LO5UaJaOPCJoinP9gacsNWo3Peuu6ul2kuJMCIpwuuGmnOHvrNfE xLlmZjAnu1OJE4Y0KJcb+92Hn1lxkkglYMH0C5Zjtjp66qS3PFLLIcN5EQGfJy2q/jYb7vq0p1Q DvLOIF2PnF6M/C00ULR+GyPNwAgB2iLR50S6R+vonZdGLUKb0kn8NjPPghl6chz1YDmvScSujP/ /ictp+srLbZVv4zwI3ri5NrRWUHOWG0rRu0Ho5WcF0dBH9Ey5rM4FcfQGysbT7BxNNiN/Wpaey1 cGFP7OcrxsZxwFYsk3Q/KSGc3eg4RLmkj0xHTCiuBkmN4osXizE1fs/cZ+tb45tIAmJyGMIjVy6 RpIofsDjpGPCzNa29xYgAGD2ChopQ6f04z1k/6qdAAAW4fRVHb/RTof8uBWbTyLdCmHxLzAuwMz OjP9QcaVdGkm11WPhyrku1ZxWfi+3YAnYJqsQeoEPGzCSHeuZGHZ+FgptFc/HNEryRM5GB699nj 34S85uH1j12Q78Q== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD From: Kevin Widjaja Based on the msm8974. Signed-off-by: Kevin Widjaja Signed-off-by: Luca Weiss Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index 618a87693ac1dc32b40a2201bc219a4f12e9f3e8..8b355fdc56ea3581540e60c5b9b= 7a9687439da55 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -208,6 +208,7 @@ properties: - samsung,hlte - sony,xperia-amami - sony,xperia-honami + - sony,xperia-togari - const: qcom,msm8974 =20 - items: --=20 2.49.0 From nobody Sun Dec 14 12:14:19 2025 Received: from ahti.lucaweiss.eu (ahti.lucaweiss.eu [128.199.32.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F4BA1C5D7A; Sat, 19 Apr 2025 09:01:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=128.199.32.197 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053265; cv=none; b=H7MZHvWdJUGZ9zyzwekd1lJmk/CwbA3iaM3vmDeeJIUxiybnZJEyyI+KSwoNX8zC9vCUO74PqL16nAXEw7AcdETXbzxVs4YTrsOmfSsrSXmlhWJVUm0rAN5Lp/vE7U12rhw7upE4PLVdnVu3/6Pdhio7d0nJEy3Z8UT/rwNKYAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745053265; c=relaxed/simple; bh=g700F99MjVU+rSl33Myklqzcz/DbVPqJAv8Kw6yjkq8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HvxQO6QrtIRLi9w2t9Cia5I8fUHABrDGhHBw5durACQjTALTaenOf1Jo0DXJZbhvhhlNf7Vmz6D3iwLC3tyEBk6tunufGvbg2+rivscmHdrT0kH/zz1X9wNgcGj+NWeGH2k3sUmQTIkGvBZFWKNPvKU9FGKCYXYI25fMRWvi18o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu; spf=pass smtp.mailfrom=lucaweiss.eu; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b=axiEZ4SU; arc=none smtp.client-ip=128.199.32.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lucaweiss.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lucaweiss.eu header.i=@lucaweiss.eu header.b="axiEZ4SU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucaweiss.eu; s=s1; t=1745053254; bh=g700F99MjVU+rSl33Myklqzcz/DbVPqJAv8Kw6yjkq8=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=axiEZ4SUEnn0pvca7blIJ6p/UdvRrVoPkWxXsKREUHouzzGRa0EUP5gx0n9VE6QMG fWDj0ZkOAVx528gsigKVxII3nh5qRv3R6MckNrlvIuFIlr7ihbHrcf9VK9qFB4wLCM +6vVykjLIqNLUAOSit2j0f8JyRQ+2hnwGJWe7eUw= From: Luca Weiss Date: Sat, 19 Apr 2025 11:00:41 +0200 Subject: [PATCH 4/4] ARM: dts: qcom: Add initial support for Sony Xperia Z Ultra (togari) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250419-togari-v1-4-45840c677364@lucaweiss.eu> References: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> In-Reply-To: <20250419-togari-v1-0-45840c677364@lucaweiss.eu> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Kevin Widjaja , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2537; i=luca@lucaweiss.eu; h=from:subject:message-id; bh=/7hR7DixqOgS4KZb6hJUlWRSv2ZNfu7+shwQXIzUjYw=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBoA2Y9h089Bx4G08ky0bXQWsmU0gbfg2HeX6Qyf AnWVlCdAv2JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCaANmPQAKCRBy2EO4nU3X VkguD/9p9P1ohv09/j3YVNceheZnbEC6Ut8ynOEt4NnGDiOmDuwACuY51txgOIroA/9bnEoavxs pw924TI8HRSbUri6ZBdpbAxxQ0IMzYbR1qRFExMAy8vcEenxqKDvxZ67zTUvn7jsSRCtPdrBbDv jHduqV/ijCtwIKEvL04p2CL6wLENYy79wUVc3d4SfEAXS4uv3ajrphryq2BbE5d5Y0Eqr9B/PKu bGP2k/iZLpOtL2CspOyyrd750M3Gi0UJUmluHcT4rEQ3IJaMq9fNLdafyJqmVIpwsBrC+9WE2r5 8xvYTGvHDMnGD0U1M2pf76vl0DH1/W35nsY94/mJhsysxItWBoQTxnfa+02N5cWFe6mJaxev8Nm GtFLSLMrqY+I+H85MJlcbgRyMD4IZSXhUS3yLb4160c5YaqPJzlj5UjnHiphSZ7Da4Tm8PQeIIj NNfHemOm5fkdtQJZ/6LRVx3aNfJrklHDiDBvchlL+I0PnXPXeabwfPx3Mjat8EsgICO+oSkLyjY 0u2FOkxuQ3MoQ5d6b7hOeFPk2s3GgxT6hCuCdgDMbddD3FQtt1II5AwGGfT8VmRl74ROjpy7dgH PJL61/l58Dgd7MlvgCulGaxYL9SYoFb7DlPt+3pa3x/Ewnh4h42yaT8qd8IV1nyteJV1j0Jm15L yu6kcUijPEaVQ4g== X-Developer-Key: i=luca@lucaweiss.eu; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD From: Kevin Widjaja 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 Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts | 16 ++++++++++++= ++++ .../boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makef= ile index f06c6d425e91dd73c2b453d15543d95bd32383b9..597aa98bb2273619b10c3f97dac= 515e8fda5eeda 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -46,6 +46,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D \ 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.d= ts b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts new file mode 100644 index 0000000000000000000000000000000000000000..f60f7304d35e1e534bb350078da= e900ec54700d4 --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-togari.dts @@ -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 =3D "Sony Xperia Z Ultra"; + compatible =3D "sony,xperia-togari", "qcom,msm8974"; + chassis-type =3D "handset"; +}; + +&pm8941_l23 { + regulator-min-microvolt =3D <2600000>; + regulator-max-microvolt =3D <2600000>; +}; diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi b/a= rch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi index 667b3aaa52ea030ac9d2c92cdf75633ff878f34d..dca7b5f9f21148beb921d224b0b= 2257f22884024 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine.dtsi @@ -84,7 +84,7 @@ &blsp1_i2c2 { status =3D "okay"; clock-frequency =3D <355000>; =20 - synaptics@2c { + touchscreen: synaptics@2c { compatible =3D "syna,rmi4-i2c"; reg =3D <0x2c>; =20 --=20 2.49.0