Skip to content

Commit

Permalink
ARM: dts: am437x-gp-evm: Add wakeup interrupt source for pixcir_i2c_ts
Browse files Browse the repository at this point in the history
On am437x-gp-evm, pixcir_i2c_ts can wakeup the system from low power
state via pinctrl and IO daisy chain using generic wakeirq framework.
With commit 3fffd12 ("i2c: allow specifying separate wakeup
interrupt in device tree") i2c core allows optional wakeirq to be
specified via device tree. Add wakeup irq entry to enable pixcir_i2c_ts
to wake the system from low power state.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Vignesh R authored and Tony Lindgren committed Oct 20, 2015
1 parent 56a31e5 commit f513d22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions arch/arm/boot/dts/am437x-gp-evm.dts
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,17 @@

attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;

/*
* 0x264 represents the offset of padconf register of
* gpio3_22 from am43xx_pinmux base.
*/
interrupts-extended = <&gpio3 22 IRQ_TYPE_NONE>,
<&am43xx_pinmux 0x264>;
interrupt-names = "tsc", "wakeup";

touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
wakeup-source;
};

ov2659@30 {
Expand Down

0 comments on commit f513d22

Please sign in to comment.