]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00213014-4 HDMI HDCP: IOMUX define for MX6X
authorSandor Yu <R01008@freescale.com>
Tue, 26 Jun 2012 09:47:16 +0000 (17:47 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:56 +0000 (08:34 +0200)
Added IOMUX and pad setting for HDMI DDC for mx6q/mx6dl.

Signed-off-by: Sandor Yu <R01008@freescale.com>
arch/arm/plat-mxc/include/mach/iomux-mx6dl.h
arch/arm/plat-mxc/include/mach/iomux-mx6q.h

index 1fa0e82b6a7e4a2761c6b6cf94b2fbf72e6098a9..4d0fa922c742aa333d7caef414e1e258087464bd 100644 (file)
 #define MX6DL_PAD_KEY_COL3__ENET_CRS                                           \
                IOMUX_PAD(0x0638, 0x0250, 1, 0x0000, 0, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_COL3__HDMI_TX_DDC_SCL                                    \
-               IOMUX_PAD(0x0638, 0x0250, 2, 0x0860, 1, NO_PAD_CTRL)
+               IOMUX_PAD(0x0638, 0x0250, 2 | IOMUX_CONFIG_SION, 0x0860, 1,            \
+                               MX6DL_I2C_PAD_CTRL)
 #define MX6DL_PAD_KEY_COL3__KPP_COL_3                                          \
                IOMUX_PAD(0x0638, 0x0250, 3, 0x0000, 0, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_COL3__I2C2_SCL                                           \
-               IOMUX_PAD(0x0638, 0x0250, 4 | IOMUX_CONFIG_SION, 0x0870, 1, MX6DL_I2C_PAD_CTRL)
+               IOMUX_PAD(0x0638, 0x0250, 4 | IOMUX_CONFIG_SION, 0x0870, 1,            \
+                               MX6DL_I2C_PAD_CTRL)
 #define MX6DL_PAD_KEY_COL3__GPIO_4_12                                          \
                IOMUX_PAD(0x0638, 0x0250, 5, 0x0000, 0, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_COL3__SPDIF_IN1                                          \
 #define MX6DL_PAD_KEY_ROW3__ASRC_ASRC_EXT_CLK                                  \
                IOMUX_PAD(0x064C, 0x0264, 1, 0x0794, 2, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_ROW3__HDMI_TX_DDC_SDA                                    \
-               IOMUX_PAD(0x064C, 0x0264, 2, 0x0864, 1, NO_PAD_CTRL)
+               IOMUX_PAD(0x064C, 0x0264, 2 | IOMUX_CONFIG_SION, 0x0864, 1,            \
+                               MX6DL_I2C_PAD_CTRL)
 #define MX6DL_PAD_KEY_ROW3__KPP_ROW_3                                          \
                IOMUX_PAD(0x064C, 0x0264, 3, 0x0000, 0, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_ROW3__I2C2_SDA                                           \
-               IOMUX_PAD(0x064C, 0x0264, 4 | IOMUX_CONFIG_SION, 0x0874, 1, MX6DL_I2C_PAD_CTRL)
+               IOMUX_PAD(0x064C, 0x0264, 4 | IOMUX_CONFIG_SION, 0x0874, 1,            \
+                               MX6DL_I2C_PAD_CTRL)
 #define MX6DL_PAD_KEY_ROW3__GPIO_4_13                                          \
                IOMUX_PAD(0x064C, 0x0264, 5, 0x0000, 0, NO_PAD_CTRL)
 #define MX6DL_PAD_KEY_ROW3__USDHC1_VSELECT                                     \
index 98e44710ba0eb4a80969331e98ee37eafd76f865..7618975d38a356d8f94ec9244e627dcd1dbb635d 100644 (file)
 #define _MX6Q_PAD_KEY_COL3__ENET_CRS                   \
                IOMUX_PAD(0x05E0, 0x0210, 1, 0x0000, 0, 0)
 #define _MX6Q_PAD_KEY_COL3__HDMI_TX_DDC_SCL                    \
-               IOMUX_PAD(0x05E0, 0x0210, 2, 0x0890, 1, 0)
+               IOMUX_PAD(0x05E0, 0x0210, 2 | IOMUX_CONFIG_SION, 0x0890, 1, 0)
 #define _MX6Q_PAD_KEY_COL3__KPP_COL_3                  \
                IOMUX_PAD(0x05E0, 0x0210, 3, 0x0000, 0, 0)
 #define _MX6Q_PAD_KEY_COL3__I2C2_SCL                   \
 #define _MX6Q_PAD_KEY_ROW3__ASRC_ASRC_EXT_CLK          \
                IOMUX_PAD(0x05E4, 0x0214, 1, 0x07B0, 0, 0)
 #define _MX6Q_PAD_KEY_ROW3__HDMI_TX_DDC_SDA                    \
-               IOMUX_PAD(0x05E4, 0x0214, 2, 0x0894, 1, 0)
+               IOMUX_PAD(0x05E4, 0x0214, 2 | IOMUX_CONFIG_SION, 0x0894, 1, 0)
 #define _MX6Q_PAD_KEY_ROW3__KPP_ROW_3                  \
                IOMUX_PAD(0x05E4, 0x0214, 3, 0x0000, 0, 0)
 #define _MX6Q_PAD_KEY_ROW3__I2C2_SDA                   \
 #define  MX6Q_PAD_KEY_COL3__ENET_CRS           \
                (_MX6Q_PAD_KEY_COL3__ENET_CRS | MUX_PAD_CTRL(NO_PAD_CTRL))
 #define  MX6Q_PAD_KEY_COL3__HDMI_TX_DDC_SCL            \
-               (_MX6Q_PAD_KEY_COL3__HDMI_TX_DDC_SCL | MUX_PAD_CTRL(NO_PAD_CTRL))
+               (_MX6Q_PAD_KEY_COL3__HDMI_TX_DDC_SCL | MUX_PAD_CTRL(MX6Q_I2C_PAD_CTRL))
 #define  MX6Q_PAD_KEY_COL3__KPP_COL_3          \
                (_MX6Q_PAD_KEY_COL3__KPP_COL_3 | MUX_PAD_CTRL(NO_PAD_CTRL))
 #define  MX6Q_PAD_KEY_COL3__I2C2_SCL           \
 #define  MX6Q_PAD_KEY_ROW3__ASRC_ASRC_EXT_CLK          \
                (_MX6Q_PAD_KEY_ROW3__ASRC_ASRC_EXT_CLK | MUX_PAD_CTRL(NO_PAD_CTRL))
 #define  MX6Q_PAD_KEY_ROW3__HDMI_TX_DDC_SDA            \
-               (_MX6Q_PAD_KEY_ROW3__HDMI_TX_DDC_SDA | MUX_PAD_CTRL(NO_PAD_CTRL))
+               (_MX6Q_PAD_KEY_ROW3__HDMI_TX_DDC_SDA | MUX_PAD_CTRL(MX6Q_I2C_PAD_CTRL))
 #define  MX6Q_PAD_KEY_ROW3__KPP_ROW_3          \
                (_MX6Q_PAD_KEY_ROW3__KPP_ROW_3 | MUX_PAD_CTRL(NO_PAD_CTRL))
 #define  MX6Q_PAD_KEY_ROW3__I2C2_SDA           \