[PATCH] ARM: i.MX: define MUX_MODE_SION for use in board code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


While we set SION for all I2C pinmux configurations, board code may
need to set SION for other pads as well. Provide a MUX_MODE_SION
definition that can be OR-d into the pinmux argument of

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
 include/mach/imx/iomux-v3.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/mach/imx/iomux-v3.h b/include/mach/imx/iomux-v3.h
index e1d62ae4b8d6..fac736ed55f2 100644
--- a/include/mach/imx/iomux-v3.h
+++ b/include/mach/imx/iomux-v3.h
@@ -56,6 +56,7 @@ typedef u64 iomux_v3_cfg_t;
 #define MUX_SEL_INPUT_MASK	((iomux_v3_cfg_t)0xf << MUX_SEL_INPUT_SHIFT)
+#define MUX_MODE_SION		((iomux_v3_cfg_t)IOMUX_CONFIG_SION << MUX_MODE_SHIFT)
 #define MUX_PAD_CTRL(x)		((iomux_v3_cfg_t)(x) << MUX_PAD_CTRL_SHIFT)
 #define IOMUX_PAD(_pad_ctrl_ofs, _mux_ctrl_ofs, _mux_mode, _sel_input_ofs, \

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux