diff options
author | Gary Zhang <b13634@freescale.com> | 2012-08-16 16:21:25 +0800 |
---|---|---|
committer | Gary Zhang <b13634@freescale.com> | 2012-08-17 09:48:50 +0800 |
commit | 8ca6288db45a89a353c3b4fb51b417e91a7d4d6d (patch) | |
tree | df5b16200fe7bcb673b1828a2766fe4f916ad093 /arch/arm/plat-mxc | |
parent | b6606f032a02f4ee7f665ff7398567ec5fdc6a49 (diff) |
ENGR00220027-2 mx6sl: add pad ctrl for audmux iomux setting
for avoiding pop-noise adn setting audmux pad to 1.8v on evk,
add pad ctrl for audmux iomux setting
Signed-off-by: Gary Zhang <b13634@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc')
-rwxr-xr-x | arch/arm/plat-mxc/include/mach/iomux-mx6sl.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/arch/arm/plat-mxc/include/mach/iomux-mx6sl.h b/arch/arm/plat-mxc/include/mach/iomux-mx6sl.h index 52442b5ef561..296df42d3ef7 100755 --- a/arch/arm/plat-mxc/include/mach/iomux-mx6sl.h +++ b/arch/arm/plat-mxc/include/mach/iomux-mx6sl.h @@ -74,9 +74,20 @@ #define MX6SL_TSPAD_CTRL (PAD_CTL_HYS | PAD_CTL_PKE | PAD_CTL_PUE | \ PAD_CTL_PUS_47K_UP) +#define MX6SL_ADU_PAD_CTRL (PAD_CTL_PKE | PAD_CTL_PUE | \ + PAD_CTL_DSE_40ohm | PAD_CTL_PUS_100K_DOWN | \ + PAD_CTL_HYS | PAD_CTL_SPEED_MED) + +#define MX6SL_PAD_AUD_MCLK 0x02A4 +#define MX6SL_PAD_AUD_RXD 0x02AC +#define MX6SL_PAD_AUD_TXC 0x02B4 +#define MX6SL_PAD_AUD_TXD 0x02B8 +#define MX6SL_PAD_AUD_TXFS 0x02BC +#define MX6SL_PAD_HSIC_DAT 0x0444 +#define MX6SL_PAD_HSIC_STROBE 0x0448 #define MX6SL_PAD_AUD_MCLK__AUDMUX_AUDIO_CLK_OUT \ - IOMUX_PAD(0x02A4, 0x004C, 0, 0x0000, 0, NO_PAD_CTRL) + IOMUX_PAD(0x02A4, 0x004C, 0, 0x0000, 0, MX6SL_ADU_PAD_CTRL) #define MX6SL_PAD_AUD_MCLK__PWM4_PWMO \ IOMUX_PAD(0x02A4, 0x004C, 1, 0x0000, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_MCLK__ECSPI3_RDY \ @@ -112,7 +123,7 @@ IOMUX_PAD(0x02A8, 0x0050, 7, 0x0000, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_RXD__AUDMUX_AUD3_RXD \ - IOMUX_PAD(0x02AC, 0x0054, 0, 0x0000, 0, NO_PAD_CTRL) + IOMUX_PAD(0x02AC, 0x0054, 0, 0x0000, 0, MX6SL_ADU_PAD_CTRL) #define MX6SL_PAD_AUD_RXD__ECSPI3_MOSI \ IOMUX_PAD(0x02AC, 0x0054, 1, 0x06BC, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_RXD__UART4_TXD \ @@ -150,7 +161,7 @@ IOMUX_PAD(0x02B0, 0x0058, 7, 0x07EC, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXC__AUDMUX_AUD3_TXC \ - IOMUX_PAD(0x02B4, 0x005C, 0, 0x0000, 0, NO_PAD_CTRL) + IOMUX_PAD(0x02B4, 0x005C, 0, 0x0000, 0, MX6SL_ADU_PAD_CTRL) #define MX6SL_PAD_AUD_TXC__ECSPI3_MISO \ IOMUX_PAD(0x02B4, 0x005C, 1, 0x06B8, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXC__UART4_TXD \ @@ -169,7 +180,7 @@ IOMUX_PAD(0x02B4, 0x005C, 7, 0x0000, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXD__AUDMUX_AUD3_TXD \ - IOMUX_PAD(0x02B8, 0x0060, 0, 0x0000, 0, NO_PAD_CTRL) + IOMUX_PAD(0x02B8, 0x0060, 0, 0x0000, 0, MX6SL_ADU_PAD_CTRL) #define MX6SL_PAD_AUD_TXD__ECSPI3_SCLK \ IOMUX_PAD(0x02B8, 0x0060, 1, 0x06B0, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXD__UART4_CTS \ @@ -188,7 +199,7 @@ IOMUX_PAD(0x02B8, 0x0060, 7, 0x0000, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXFS__AUDMUX_AUD3_TXFS \ - IOMUX_PAD(0x02BC, 0x0064, 0, 0x0000, 0, NO_PAD_CTRL) + IOMUX_PAD(0x02BC, 0x0064, 0, 0x0000, 0, MX6SL_ADU_PAD_CTRL) #define MX6SL_PAD_AUD_TXFS__PWM3_PWMO \ IOMUX_PAD(0x02BC, 0x0064, 1, 0x0000, 0, NO_PAD_CTRL) #define MX6SL_PAD_AUD_TXFS__UART4_CTS \ |