Skip to contentSkip to conversation

arm64: dts: qcom: sdm670-google: add lpi reserved gpios

PATCH Applied Richard Acayan 4 participants 4 messages Jun 2 – Jul 8

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sdm670-google: add lpi reserved gpios

Add reserved GPIOs for the Pixel 3a, which blocks access to the sensor GPIOs. The hunk in the original patch was dropped in the commit because it depended on an unapplied patch, which is now commit fe9f4a46895d ("arm64: dts: qcom: sdm670-google: add common device tree include").

Fixes c4b423835ee7 ("arm64: dts: qcom: sdm670: add lpi pinctrl")
---
 arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi +5 -0
index 0f57b915186b..b4854801a5f5 100644
@@ -522,6 +522,11 @@ rmi4_f12: rmi4-f12@12 {
 	};
 };
 
+&lpi_tlmm {
+	/* sensor gpios are protected */
+	gpio-reserved-ranges = <0 8>, <12 6>;
+};
+
 &mdss {
 	status = "okay";
 };
Signature · 1 line
2.54.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Richard Acayan

Add reserved GPIOs for the Pixel 3a, which blocks access to the sensor GPIOs. The hunk in the original patch was dropped in the commit because it depended on an unapplied patch, which is now commit fe9f4a46895d ("arm64: dts: qcom: sdm670-google: add common device tree include").

Fixes c4b423835ee7 ("arm64: dts: qcom: sdm670: add lpi pinctrl")
---
 arch/arm64/boot/dts/qcom/sdm670-google-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
Signature · 2 lines
With best wishes
Dmitry
Reviewed-by on v1 1/1
#2 lore raw
In reply to Richard Acayan
Quoted 8 lines · Richard Acayan

Add reserved GPIOs for the Pixel 3a, which blocks access to the sensor GPIOs. The hunk in the original patch was dropped in the commit because it depended on an unapplied patch, which is now commit fe9f4a46895d ("arm64: dts: qcom: sdm670-google: add common device tree include").

Fixes c4b423835ee7 ("arm64: dts: qcom: sdm670: add lpi pinctrl")

---

that's a lot of GPIOs..

Konrad

maintainer Applied
#3 lore raw
In reply to Richard Acayan
Quoted 6 lines · Richard Acayan

Add reserved GPIOs for the Pixel 3a, which blocks access to the sensor GPIOs. The hunk in the original patch was dropped in the commit because it depended on an unapplied patch, which is now commit fe9f4a46895d ("arm64: dts: qcom: sdm670-google: add common device tree include").

Applied, thanks!

[1/1] arm64: dts: qcom: sdm670-google: add lpi reserved gpios

      commit: 71dd62dac8e2d03f952587f8985a859fce422815

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>