arm64: dts: qcom: sdm845-google: Add STM FTS touchscreen support
Basic touchscreen connected to second i2c bus. Signed-off-by: Petr Hodina <petr.hodina@protonmail.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Co-developed-by: David Heidelberg <david@ixit.cz> Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
1 parent
1c0fce1fc9
commit
55d66b816f
2 files changed
+19
-2
No files matched your search
@@ -26,7 +26,24 @@
|
||||
|
||||
status = "okay";
|
||||
|
||||
/* ST,FTS @ 49 */
|
||||
touchscreen@49 {
|
||||
compatible = "st,stmfts5";
|
||||
reg = <0x49>;
|
||||
|
||||
pinctrl-0 = <&touchscreen_irq_n>, <&touchscreen_reset>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
interrupts-extended = <&tlmm 125 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
mode-switch-gpios = <&tlmm 136 GPIO_ACTIVE_HIGH>;
|
||||
reset-gpios = <&tlmm 99 GPIO_ACTIVE_LOW>;
|
||||
|
||||
avdd-supply = <&vreg_l19a_3p3>;
|
||||
vdd-supply = <&vreg_l14a_1p8>;
|
||||
|
||||
touchscreen-size-x = <1080>;
|
||||
touchscreen-size-y = <2160>;
|
||||
};
|
||||
};
|
||||
|
||||
&mdss_dsi0 {
|
||||
|
||||
@@ -466,7 +466,7 @@
|
||||
bias-pull-up;
|
||||
};
|
||||
|
||||
touchscreen_pins: ts-pins-gpio-state {
|
||||
touchscreen_irq_n: ts-irq-n-gpio-state {
|
||||
pins = "gpio125";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
|
||||
Reference in new issue
Block a user