Commit e1428350 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by Shawn Guo
Browse files

ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node



Add touchscreen support to the Protonic VT7 board.

Co-Developed-by: default avatarRobin van der Gracht <robin@protonic.nl>
Signed-off-by: default avatarRobin van der Gracht <robin@protonic.nl>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 1c147690
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -223,6 +223,21 @@ &ecspi2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_ecspi2>;
	status = "okay";

	touchscreen@0 {
		compatible = "ti,tsc2046";
		reg = <0>;
		pinctrl-0 = <&pinctrl_tsc>;
		pinctrl-names ="default";
		spi-max-frequency = <100000>;
		interrupts-extended = <&gpio3 20 IRQ_TYPE_EDGE_FALLING>;
		pendown-gpio = <&gpio3 20 GPIO_ACTIVE_LOW>;
		touchscreen-max-pressure = <4095>;
		ti,vref-delay-usecs = /bits/ 16 <100>;
		ti,x-plate-ohms = /bits/ 16 <800>;
		ti,y-plate-ohms = /bits/ 16 <300>;
		wakeup-source;
	};
};

&i2c1 {