ARM: dts: qcom: msm8960: expressatt: Add mXT224S touchscreen
Add mXT224S touchscreen Signed-off-by: Rudraksha Gupta <guptarud@gmail.com> Link: https://lore.kernel.org/r/20240131-expressatt_mxt224s_touchscreen-v2-2-4463ae0414b5@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
committed by
Bjorn Andersson
parent
1cf6313648
commit
5936ee2125
@@ -85,6 +85,27 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi3 {
|
||||
qcom,mode = <GSBI_PROT_I2C>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gsbi3_i2c {
|
||||
status = "okay";
|
||||
|
||||
// Atmel mXT224S touchscreen
|
||||
touchscreen@4a {
|
||||
compatible = "atmel,maxtouch";
|
||||
reg = <0x4a>;
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
|
||||
vdda-supply = <&pm8921_lvs6>;
|
||||
vdd-supply = <&pm8921_l17>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touchscreen>;
|
||||
};
|
||||
};
|
||||
|
||||
&msmgpio {
|
||||
spi1_default: spi1-default-state {
|
||||
mosi-pins {
|
||||
@@ -123,6 +144,14 @@
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
touchscreen: touchscreen-int-state {
|
||||
pins = "gpio11";
|
||||
function = "gpio";
|
||||
output-enable;
|
||||
bias-disable;
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
&pm8921 {
|
||||
@@ -285,7 +314,7 @@
|
||||
};
|
||||
|
||||
pm8921_l17: l17 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
bias-pull-down;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user