Commit 71e21bd4 authored by Andreas Faerber's avatar Andreas Faerber Committed by Kukjin Kim

ARM: dts: Add trackpad to exynos5250-spring

The HP Chromebook 11 uses an Atmel maXTouch as trackpad.
The keymap was found by trial-and-error.
Signed-off-by: default avatarAndreas Faerber <afaerber@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 69538f61
...@@ -330,6 +330,22 @@ &i2c_1 { ...@@ -330,6 +330,22 @@ &i2c_1 {
status = "okay"; status = "okay";
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-max-bus-freq = <378000>; samsung,i2c-max-bus-freq = <378000>;
trackpad@4b {
compatible = "atmel,maxtouch";
reg = <0x4b>;
interrupt-parent = <&gpx1>;
interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
pinctrl-names = "default";
pinctrl-0 = <&trackpad_irq>;
linux,gpio-keymap = <KEY_RESERVED
KEY_RESERVED
KEY_RESERVED
KEY_RESERVED
KEY_RESERVED
BTN_LEFT>;
wakeup-source;
};
}; };
/* /*
...@@ -465,6 +481,13 @@ dp_hpd_gpio: dp-hpd-gpio { ...@@ -465,6 +481,13 @@ dp_hpd_gpio: dp-hpd-gpio {
samsung,pin-drv = <0>; samsung,pin-drv = <0>;
}; };
trackpad_irq: trackpad-irq {
samsung,pins = "gpx1-2";
samsung,pin-function = <0xf>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
power_key_irq: power-key-irq { power_key_irq: power-key-irq {
samsung,pins = "gpx1-3"; samsung,pins = "gpx1-3";
samsung,pin-function = <0>; samsung,pin-function = <0>;
......
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