mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
ARM: dts: qcom: msm8974-klte: Add support for touchscreen
Add support for the touchscreen found on the Samsung Galaxy S5. Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com> Link: https://lore.kernel.org/r/20200920144859.813032-4-iskren.chernev@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
a193dc521c
commit
972f5a62a6
|
|
@ -284,6 +284,16 @@ cmd-data {
|
|||
};
|
||||
};
|
||||
|
||||
i2c2_pins: i2c2 {
|
||||
mux {
|
||||
pins = "gpio6", "gpio7";
|
||||
function = "blsp_i2c2";
|
||||
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
i2c6_pins: i2c6 {
|
||||
mux {
|
||||
pins = "gpio29", "gpio30";
|
||||
|
|
@ -342,6 +352,42 @@ phy@a {
|
|||
};
|
||||
};
|
||||
|
||||
i2c@f9924000 {
|
||||
status = "okay";
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_pins>;
|
||||
|
||||
touchscreen@20 {
|
||||
compatible = "syna,rmi4-i2c";
|
||||
reg = <0x20>;
|
||||
|
||||
interrupt-parent = <&pma8084_gpios>;
|
||||
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
|
||||
|
||||
vdd-supply = <&max77826_ldo13>;
|
||||
vio-supply = <&pma8084_lvs2>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&touch_pin>;
|
||||
|
||||
syna,startup-delay-ms = <100>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
rmi4-f01@1 {
|
||||
reg = <0x1>;
|
||||
syna,nosleep-mode = <1>;
|
||||
};
|
||||
|
||||
rmi4-f12@12 {
|
||||
reg = <0x12>;
|
||||
syna,sensor-type = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
i2c@f9928000 {
|
||||
status = "okay";
|
||||
|
||||
|
|
@ -460,6 +506,14 @@ touchkey_pin: touchkey-int-pin {
|
|||
input-enable;
|
||||
power-source = <PMA8084_GPIO_S4>;
|
||||
};
|
||||
|
||||
touch_pin: touchscreen-int-pin {
|
||||
pins = "gpio8";
|
||||
function = "normal";
|
||||
bias-disable;
|
||||
input-enable;
|
||||
power-source = <PMA8084_GPIO_S4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user