CHROMIUM: spring: dts: add Atmel trackpad configuration
authorVincent Palatin <vpalatin@chromium.org>
Wed, 13 Feb 2013 20:24:49 +0000 (12:24 -0800)
committerChromeBot <chrome-bot@google.com>
Fri, 15 Feb 2013 19:03:59 +0000 (11:03 -0800)
The Cypress one is defined in the common device tree,
so we currently define both of them.

Also add another entry if the trackpad is in bootloader mode at
address 0x25.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:17825
TEST=boot a machine with an Atmel trackpad attached and one with Cypress
trackpad and have a working pointer on both of them.

Change-Id: I1886f7d3b2eedf39d73ca31376bd3229f8373b2d
Reviewed-on: https://gerrit.chromium.org/gerrit/43230
Reviewed-by: Benson Leung <bleung@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
arch/arm/boot/dts/exynos5250-spring.dts

index cdfb0bb..e98e3e8 100644 (file)
                };
        };
 
+       i2c@12C70000 {
+               trackpad-alt {
+                       reg=<0x4b>;
+                       compatible="atmel,atmel_mxt_tp";
+                       interrupts=<10 0>;
+                       interrupt-parent=<&wakeup_eint>;
+                       wakeup-source;
+               };
+               trackpad-bootloader {
+                       reg=<0x25>;
+                       compatible="atmel,atmel_mxt_tp";
+                       interrupts=<10 0>;
+                       interrupt-parent=<&wakeup_eint>;
+                       wakeup-source;
+               };
+       };
+
        i2c@12CD0000 {
                ps8622-bridge@8 {
                        compatible = "parade,ps8622";