Skip to content

Commit

Permalink
leo: add touchscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
z3ntu committed Mar 3, 2023
1 parent 930c26f commit 0cd9cbe
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion arch/arm/boot/dts/qcom-msm8974pro-sony-xperia-shinano-leo.dts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,35 @@

status = "okay";

/* Touchscreen synaptics @ 0x2c */
synaptics@2c {
compatible = "syna,rmi4-i2c";
reg = <0x2c>;

interrupt-parent = <&tlmm>;
interrupts = <86 IRQ_TYPE_EDGE_FALLING>;

#address-cells = <1>;
#size-cells = <0>;

vdd-supply = <&pm8941_l22>;
vio-supply = <&pm8941_s3>;

pinctrl-0 = <&ts_int_pin>;
pinctrl-names = "default";

syna,startup-delay-ms = <100>;

rmi-f01@1 {
reg = <0x1>;
syna,nosleep = <1>;
};

rmi-f11@11 {
reg = <0x11>;
syna,f11-flip-x = <1>;
syna,sensor-type = <1>;
};
};
};

&blsp2_i2c5 {
Expand Down Expand Up @@ -391,6 +419,14 @@
bias-pull-up;
};
};

ts_int_pin: ts-int-pin-state {
pins = "gpio86";
function = "gpio";
drive-strength = <2>;
bias-disable;
input-enable;
};
};

&usb {
Expand Down

0 comments on commit 0cd9cbe

Please sign in to comment.