Commit 7ad86d61 authored by Linus Walleij's avatar Linus Walleij Committed by Olof Johansson

ARM: dts: ux500: add synaptics RMI4 for Ux500 TVK DT

This adds the Synaptics RMI4 touchscreen to the Ux500 TVK
user interface board. Tested on the U8500 HREFv60plus with
the TVK UIB.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent d36694b6
......@@ -37,7 +37,6 @@ button@145 {
};
soc {
/* Add Synaptics touch screen, TC35893 keypad etc here */
i2c@80004000 {
tc35893@44 {
compatible = "toshiba,tc35893";
......@@ -159,6 +158,33 @@ lsp001wm@5c {
vddio-supply = <&db8500_vsmps2_reg>;
};
};
i2c@80110000 {
synaptics@4b {
/* Synaptics RMI4 TM1217 touchscreen */
compatible = "syna,rmi4-i2c";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x4b>;
vdd-supply = <&ab8500_ldo_aux1_reg>;
vddio-supply = <&db8500_vsmps2_reg>;
pinctrl-names = "default";
pinctrl-0 = <&synaptics_tvk_mode>;
interrupt-parent = <&gpio2>;
interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
rmi-f01@1 {
reg = <0x1>;
syna,nosleep = <1>;
};
rmi-f11@11 {
reg = <0x11>;
touchscreen-inverted-x;
syna,sensor-type = <1>;
};
};
};
pinctrl {
/* Pull up this GPIO pin */
tc35893 {
......@@ -212,6 +238,15 @@ tvk_cfg2 {
};
};
};
synaptics {
synaptics_tvk_mode: synaptics_tvk {
/* Touchscreen uses GPIO 84 */
tvk_cfg1 {
pins = "GPIO84_C2";
ste,config = <&gpio_in_pu>;
};
};
};
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment