]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am43xx-epos-evm: Add sleep pinmux for pixcir_ts
authorAndrew F. Davis <afd@ti.com>
Fri, 29 Sep 2017 16:44:24 +0000 (11:44 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Oct 2017 19:57:26 +0000 (12:57 -0700)
Add sleep pinmux for pixcir_ts.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am43x-epos-evm.dts

index 822e54cffd29db6fae65f4520e7ca9e5d4b0e176..9c4ac6f715ecf4f86f16b3ecbcc12c7c55940067 100644 (file)
@@ -323,12 +323,18 @@ AM4372_IOPAD(0x89c, DS0_PIN_OUTPUT_PULLUP | MUX_MODE7)
                        >;
                };
 
-               pixcir_ts_pins: pixcir_ts_pins {
+               pixcir_ts_pins_default: pixcir_ts_pins_default {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0x844, PIN_INPUT_PULLUP | MUX_MODE7)       /* gpmc_a1.gpio1_17 */
                        >;
                };
 
+               pixcir_ts_pins_sleep: pixcir_ts_pins_sleep {
+                       pinctrl-single,pins = <
+                               AM4372_IOPAD(0x844, DS0_PIN_OUTPUT_PULLUP | PIN_OUTPUT_PULLUP | MUX_MODE7)      /* gpmc_a1.gpio1_17 */
+                       >;
+               };
+
                hdq_pins: pinmux_hdq_pins {
                        pinctrl-single,pins = <
                                AM4372_IOPAD(0xa34, PIN_INPUT_PULLUP | MUX_MODE1)    /* cam1_wen.hdq_gpio */
@@ -538,8 +544,10 @@ at24@50 {
 
        pixcir_ts@5c {
                compatible = "pixcir,pixcir_tangoc";
-               pinctrl-names = "default";
-               pinctrl-0 = <&pixcir_ts_pins>;
+               pinctrl-names = "default", "sleep";
+               pinctrl-0 = <&pixcir_ts_pins_default>;
+               pinctrl-1 = <&pixcir_ts_pins_sleep>;
+
                reg = <0x5c>;
                interrupt-parent = <&gpio1>;
                interrupts = <17 IRQ_TYPE_EDGE_FALLING>;