[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220610172018.101498-1-linmengbo0689@protonmail.com>
Date: Fri, 10 Jun 2022 17:46:40 +0000
From: "Lin, Meng-Bo" <linmengbo0689@...tonmail.com>
To: devicetree@...r.kernel.org
Cc: agross@...nel.org, bjorn.andersson@...aro.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht, stephan@...hold.net,
nikita@...n.ru
Subject: [PATCH] arm64: dts: qcom: msm8916-samsung-a2015: Add touchscreen pinctrl
A3, A5 and most of the MSM8916 Samsung uses GPIO pin 13 for touchscreen
interrupts. Add it to common dtsi.
Signed-off-by: Lin, Meng-Bo <linmengbo0689@...tonmail.com>
---
.../arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi | 8 ++++++++
arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts | 8 --------
arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts | 8 --------
3 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
index 9b4b7de7cec2..9c19f257cc81 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
@@ -460,6 +460,14 @@ tsp_en_default: tsp-en-default {
drive-strength = <2>;
bias-disable;
};
+
+ ts_int_default: ts-int-default {
+ pins = "gpio13";
+ function = "gpio";
+
+ drive-strength = <2>;
+ bias-disable;
+ };
};
&pm8916_gpios {
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
index 4ba11b020f9b..bc198a2eea25 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
@@ -128,12 +128,4 @@ tkey_led_en_default: tkey-led-en-default {
drive-strength = <2>;
bias-disable;
};
-
- ts_int_default: ts-int-default {
- pins = "gpio13";
- function = "gpio";
-
- drive-strength = <2>;
- bias-disable;
- };
};
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts
index d978c9ac179d..7f2ab1891d91 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts
@@ -69,12 +69,4 @@ tkey_en_default: tkey-en-default {
drive-strength = <2>;
bias-disable;
};
-
- ts_int_default: ts-int-default {
- pins = "gpio13";
- function = "gpio";
-
- drive-strength = <2>;
- bias-disable;
- };
};
--
2.30.2
Powered by blists - more mailing lists