arm64: dts: exynos: Add stmfts touchscreen node for TM2 and TM2E
TM2 and TM2E devices are provided with a ST-Microelectronics Finger Tip S device with small differences: - screen size - TM2E uses the stmfts also as a touchkey for "back" and "menu" In this commit the initial value of the interrupt line is set to EXYNOS_PIN_PULL_UP as the interrupt is triggered when the line goes down. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
parent
0ed797f705
commit
2b17d2f8bc
|
@ -756,6 +756,19 @@ buck10_reg: BUCK10 {
|
|||
};
|
||||
};
|
||||
|
||||
&hsi2c_5 {
|
||||
status = "okay";
|
||||
|
||||
stmfts: touchscreen@49 {
|
||||
compatible = "st,stmfts";
|
||||
reg = <0x49>;
|
||||
interrupt-parent = <&gpa1>;
|
||||
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
|
||||
avdd-supply = <&ldo30_reg>;
|
||||
vdd-supply = <&ldo31_reg>;
|
||||
};
|
||||
};
|
||||
|
||||
&hsi2c_7 {
|
||||
status = "okay";
|
||||
|
||||
|
@ -901,7 +914,7 @@ initial_alive: initial-state {
|
|||
PIN(INPUT, gpa0-7, NONE, FAST_SR1);
|
||||
|
||||
PIN(INPUT, gpa1-0, UP, FAST_SR1);
|
||||
PIN(INPUT, gpa1-1, NONE, FAST_SR1);
|
||||
PIN(INPUT, gpa1-1, UP, FAST_SR1);
|
||||
PIN(INPUT, gpa1-2, NONE, FAST_SR1);
|
||||
PIN(INPUT, gpa1-3, DOWN, FAST_SR1);
|
||||
PIN(INPUT, gpa1-4, DOWN, FAST_SR1);
|
||||
|
|
|
@ -76,3 +76,8 @@ &ldo38_reg {
|
|||
regulator-min-microvolt = <3000000>;
|
||||
regulator-max-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
&stmfts {
|
||||
touchscreen-size-x = <1439>;
|
||||
touchscreen-size-y = <2559>;
|
||||
};
|
||||
|
|
|
@ -63,3 +63,10 @@ &ldo38_reg {
|
|||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
&stmfts {
|
||||
touchscreen-size-x = <1599>;
|
||||
touchscreen-size-y = <2559>;
|
||||
touch-key-connected;
|
||||
ledvdd-supply = <&ldo33_reg>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue