Skip to content

Commit

Permalink
xiaomi-daisy: add goodix gt917d touchscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
ntonnaett committed Aug 20, 2023
1 parent 0972520 commit fc5da81
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8953-xiaomi-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,25 @@

status = "disabled";
};

gt917d_ts: touchscreen@5d {
compatible = "goodix,gt917d";
reg = <0x5d>;

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

pinctrl-names = "default", "sleep";
pinctrl-0 = <&ts_reset_active &ts_int_active>;
pinctrl-1 = <&ts_reset_suspend &ts_int_suspend>;

reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;

VDDIO-supply = <&pm8953_l6>;
AVDD28-supply = <&pm8953_l10>;

status = "disabled";
};
};

&lpass {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/msm8953-xiaomi-daisy.dts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
reset-gpios = <&tlmm 89 GPIO_ACTIVE_LOW>;
};

&ft5406_ts {
&gt917d_ts {
status = "okay";

touchscreen-size-x = <1080>;
Expand Down

0 comments on commit fc5da81

Please sign in to comment.