Commit a5e2051b authored by Javier Martin's avatar Javier Martin Committed by Sascha Hauer

ARM: Add SSI and aic3204 code to Visstrim_M10 boards.

Visstrim_M10 boards have an TI tlv320aic3204 codec
attached to SSI1.
Signed-off-by: default avatarJavier Martin <javier.martin@vista-silicon.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 3fc6b609
...@@ -265,6 +265,7 @@ config MACH_IMX27LITE ...@@ -265,6 +265,7 @@ config MACH_IMX27LITE
bool "LogicPD MX27 LITEKIT platform" bool "LogicPD MX27 LITEKIT platform"
select SOC_IMX27 select SOC_IMX27
select IMX_HAVE_PLATFORM_IMX_UART select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_IMX_SSI
help help
Include support for MX27 LITEKIT platform. This includes specific Include support for MX27 LITEKIT platform. This includes specific
configurations for the board and its peripherals. configurations for the board and its peripherals.
......
...@@ -67,6 +67,11 @@ static const int visstrim_m10_pins[] __initconst = { ...@@ -67,6 +67,11 @@ static const int visstrim_m10_pins[] __initconst = {
PD15_AOUT_FEC_COL, PD15_AOUT_FEC_COL,
PD16_AIN_FEC_TX_ER, PD16_AIN_FEC_TX_ER,
PF23_AIN_FEC_TX_EN, PF23_AIN_FEC_TX_EN,
/* SSI1 */
PC20_PF_SSI1_FS,
PC21_PF_SSI1_RXD,
PC22_PF_SSI1_TXD,
PC23_PF_SSI1_CLK,
/* SDHC1 */ /* SDHC1 */
PE18_PF_SD1_D0, PE18_PF_SD1_D0,
PE19_PF_SD1_D1, PE19_PF_SD1_D1,
...@@ -205,6 +210,9 @@ static struct i2c_board_info visstrim_m10_i2c_devices[] = { ...@@ -205,6 +210,9 @@ static struct i2c_board_info visstrim_m10_i2c_devices[] = {
I2C_BOARD_INFO("pca9555", 0x20), I2C_BOARD_INFO("pca9555", 0x20),
.platform_data = &visstrim_m10_pca9555_pdata, .platform_data = &visstrim_m10_pca9555_pdata,
}, },
{
I2C_BOARD_INFO("tlv320aic32x4", 0x18),
}
}; };
/* USB OTG */ /* USB OTG */
...@@ -223,6 +231,11 @@ visstrim_m10_usbotg_pdata __initconst = { ...@@ -223,6 +231,11 @@ visstrim_m10_usbotg_pdata __initconst = {
.portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT, .portsc = MXC_EHCI_MODE_ULPI | MXC_EHCI_UTMI_8BIT,
}; };
/* SSI */
static const struct imx_ssi_platform_data visstrim_m10_ssi_pdata __initconst = {
.flags = IMX_SSI_DMA | IMX_SSI_SYN,
};
static void __init visstrim_m10_board_init(void) static void __init visstrim_m10_board_init(void)
{ {
int ret; int ret;
...@@ -232,6 +245,7 @@ static void __init visstrim_m10_board_init(void) ...@@ -232,6 +245,7 @@ static void __init visstrim_m10_board_init(void)
if (ret) if (ret)
pr_err("Failed to setup pins (%d)\n", ret); pr_err("Failed to setup pins (%d)\n", ret);
imx27_add_imx_ssi(0, &visstrim_m10_ssi_pdata);
imx27_add_imx_uart0(&uart_pdata); imx27_add_imx_uart0(&uart_pdata);
i2c_register_board_info(0, visstrim_m10_i2c_devices, i2c_register_board_info(0, visstrim_m10_i2c_devices,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment