Commit e76c7e1f authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

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: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210616122708.144770-6-konrad.dybcio@somainline.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 4a62a824
...@@ -462,7 +462,18 @@ &i2c13 { ...@@ -462,7 +462,18 @@ &i2c13 {
status = "okay"; status = "okay";
clock-frequency = <400000>; 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 { &i2c15 {
...@@ -570,6 +581,14 @@ mdm2ap_default: mdm2ap-default { ...@@ -570,6 +581,14 @@ mdm2ap_default: mdm2ap-default {
bias-disable; bias-disable;
}; };
ts_int_default: ts-int-default {
pins = "gpio39";
function = "gpio";
drive-strength = <2>;
bias-disabled;
input-enable;
};
ap2mdm_default: ap2mdm-default { ap2mdm_default: ap2mdm-default {
pins = "gpio56", "gpio57"; pins = "gpio56", "gpio57";
function = "gpio"; function = "gpio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment