ARM: dts: OMAP3-N950-N9: Add ssi idle pinctrl state
authorSebastian Reichel <sre@kernel.org>
Sun, 31 Jan 2016 00:52:37 +0000 (01:52 +0100)
committerTony Lindgren <tony@atomide.com>
Fri, 12 Feb 2016 22:26:26 +0000 (14:26 -0800)
This adds an idle pinctrl state, which will be used
by the driver to avoid incoming data during clock
rate changes or data flushing.

Signed-off-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-n950-n9.dtsi

index 702062e88e149b77045ccfc6ec63e64a4539b550..858a25048102de016793d30a229aba0ae55dd5ff 100644 (file)
                >;
        };
 
+       ssi_pins_idle: pinmux_ssi_pins_idle {
+               pinctrl-single,pins = <
+                       OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE7)            /* ssi1_dat_tx */
+                       OMAP3_CORE1_IOPAD(0x217e, PIN_OUTPUT | MUX_MODE7)            /* ssi1_flag_tx */
+                       OMAP3_CORE1_IOPAD(0x2180, PIN_INPUT_PULLDOWN | MUX_MODE7)    /* ssi1_rdy_tx */
+                       OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* ssi1_wake_tx (cawake) */
+                       OMAP3_CORE1_IOPAD(0x2184, PIN_INPUT | MUX_MODE7)             /* ssi1_dat_rx */
+                       OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE7)             /* ssi1_flag_rx */
+                       OMAP3_CORE1_IOPAD(0x2188, PIN_OUTPUT | MUX_MODE4)            /* ssi1_rdy_rx */
+                       OMAP3_CORE1_IOPAD(0x218a, PIN_OUTPUT | MUX_MODE7)            /* ssi1_wake */
+               >;
+       };
+
        modem_pins1: pinmux_modem_core1_pins {
                pinctrl-single,pins = <
                        OMAP3_CORE1_IOPAD(0x207a, PIN_INPUT | WAKEUP_EN | MUX_MODE4) /* gpio_34 (ape_rst_rq) */
 };
 
 &ssi_port1 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "idle";
        pinctrl-0 = <&ssi_pins>;
+       pinctrl-1 = <&ssi_pins_idle>;
 
        ti,ssi-cawake-gpio = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* 151 */