aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gerlach2015-08-03 20:19:05 -0500
committerSekhar Nori2015-08-04 03:52:55 -0500
commit6e7d8a7dacd34c4a1f702370eb3dcb8093f61959 (patch)
tree2c946a8d5fae54ea07248303874483af851d98c7
parent4b03ff78b28f0ee5bcb21f8139635ed1c6875d16 (diff)
downloadkernel-audio-6e7d8a7dacd34c4a1f702370eb3dcb8093f61959.tar.gz
kernel-audio-6e7d8a7dacd34c4a1f702370eb3dcb8093f61959.tar.xz
kernel-audio-6e7d8a7dacd34c4a1f702370eb3dcb8093f61959.zip
ARM: dts: am437x-gp-evm: Add pinctrl sleep states for pixcir_ts
Add pinctrl sleep state for pixcir_ts interrupt pin to save power during suspend. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/boot/dts/am437x-gp-evm.dts13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 6ba302a94505..2cc58b2a477a 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -197,12 +197,18 @@
197 >; 197 >;
198 }; 198 };
199 199
200 pixcir_ts_pins: pixcir_ts_pins { 200 pixcir_ts_pins_default: pixcir_ts_pins_default {
201 pinctrl-single,pins = < 201 pinctrl-single,pins = <
202 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ 202 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */
203 >; 203 >;
204 }; 204 };
205 205
206 pixcir_ts_pins_sleep: pixcir_ts_pins_sleep {
207 pinctrl-single,pins = <
208 0x264 (PIN_INPUT | PULL_DISABLE | MUX_MODE7) /* spi2_d0.gpio3_22 */
209 >;
210 };
211
206 cpsw_default: cpsw_default { 212 cpsw_default: cpsw_default {
207 pinctrl-single,pins = < 213 pinctrl-single,pins = <
208 /* Slave 1 */ 214 /* Slave 1 */
@@ -567,8 +573,9 @@
567 pinctrl-0 = <&i2c1_pins>; 573 pinctrl-0 = <&i2c1_pins>;
568 pixcir_ts@5c { 574 pixcir_ts@5c {
569 compatible = "pixcir,pixcir_tangoc"; 575 compatible = "pixcir,pixcir_tangoc";
570 pinctrl-names = "default"; 576 pinctrl-names = "default", "sleep";
571 pinctrl-0 = <&pixcir_ts_pins>; 577 pinctrl-0 = <&pixcir_ts_pins_default>;
578 pinctrl-1 = <&pixcir_ts_pins_sleep>;
572 reg = <0x5c>; 579 reg = <0x5c>;
573 interrupt-parent = <&gpio3>; 580 interrupt-parent = <&gpio3>;
574 interrupts = <22 0>; 581 interrupts = <22 0>;