OSDN Git Service

ARM: dts: imx6q-icore: Add touchscreen node
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 22 Mar 2017 19:05:18 +0000 (00:35 +0530)
committerShawn Guo <shawnguo@kernel.org>
Mon, 10 Apr 2017 08:16:18 +0000 (16:16 +0800)
max11801 touchscreen on Engicam iCoreM6 Quad module is
connected via i2c1, so add max11801: touchscreen@48 on i2c1.

Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Domenico Acri <domenico.acri@engicam.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-icore.dts

index 73f34d1..5613dd9 100644 (file)
        status = "okay";
 };
 
+&i2c1 {
+       max11801: touchscreen@48 {
+               compatible = "maxim,max11801";
+               reg = <0x48>;
+               interrupt-parent = <&gpio3>;
+               interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
+       };
+};
+
 &ldb {
        status = "okay";