summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2021-06-16 15:27:08 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-06-18 20:43:33 +0300
commite76c7e1f15fe48996ca3ecfd6f2a21a67d07f9b7 (patch)
tree4ac3204437419a75e878027287bc3b2a185d8e9e /arch
parent4a62a824282e245e6429c0f40c66931430d2fce5 (diff)
downloadlinux-e76c7e1f15fe48996ca3ecfd6f2a21a67d07f9b7.tar.xz
arm64: dts: qcom: sm8250-edo: Add Samsung touchscreen
Add Samsung touchscreen node and relevant pin configuration to make the phones actually interactable with. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210616122708.144770-6-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi21
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
index a789e991b49c..d63f7a9bc4e9 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi
@@ -462,7 +462,18 @@
status = "okay";
clock-frequency = <400000>;
- /* Samsung touchscreen @ 48 */
+ touchscreen@48 {
+ compatible = "samsung,s6sy761";
+ reg = <0x48>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <39 0x2008>;
+ /* It's "vddio" downstream but it works anyway! */
+ vdd-supply = <&vreg_l1c_1p8>;
+ avdd-supply = <&vreg_l10c_3p3>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_int_default>;
+ };
};
&i2c15 {
@@ -570,6 +581,14 @@
bias-disable;
};
+ ts_int_default: ts-int-default {
+ pins = "gpio39";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disabled;
+ input-enable;
+ };
+
ap2mdm_default: ap2mdm-default {
pins = "gpio56", "gpio57";
function = "gpio";