Commit e8c74860 authored by Eric Bénard's avatar Eric Bénard Committed by Sascha Hauer

eukrea_mbimx27: fix audio support when SOC is compiled as module

Signed-off-by: default avatarEric Bénard <eric@eukrea.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent cbb052c9
...@@ -96,7 +96,8 @@ static int eukrea_mbimx27_pins[] = { ...@@ -96,7 +96,8 @@ static int eukrea_mbimx27_pins[] = {
PD30_PF_CSPI1_MISO, PD30_PF_CSPI1_MISO,
PD31_PF_CSPI1_MOSI, PD31_PF_CSPI1_MOSI,
/* SSI4 */ /* SSI4 */
#if defined(CONFIG_SND_SOC_EUKREA_TLV320) #if defined(CONFIG_SND_SOC_EUKREA_TLV320) \
|| defined(CONFIG_SND_SOC_EUKREA_TLV320_MODULE)
PC16_PF_SSI4_FS, PC16_PF_SSI4_FS,
PC17_PF_SSI4_RXD | GPIO_PUEN, PC17_PF_SSI4_RXD | GPIO_PUEN,
PC18_PF_SSI4_TXD | GPIO_PUEN, PC18_PF_SSI4_TXD | GPIO_PUEN,
...@@ -333,7 +334,8 @@ void __init eukrea_mbimx27_baseboard_init(void) ...@@ -333,7 +334,8 @@ void __init eukrea_mbimx27_baseboard_init(void)
mxc_gpio_setup_multiple_pins(eukrea_mbimx27_pins, mxc_gpio_setup_multiple_pins(eukrea_mbimx27_pins,
ARRAY_SIZE(eukrea_mbimx27_pins), "MBIMX27"); ARRAY_SIZE(eukrea_mbimx27_pins), "MBIMX27");
#if defined(CONFIG_SND_SOC_EUKREA_TLV320) #if defined(CONFIG_SND_SOC_EUKREA_TLV320) \
|| defined(CONFIG_SND_SOC_EUKREA_TLV320_MODULE)
/* SSI unit master I2S codec connected to SSI_PINS_4*/ /* SSI unit master I2S codec connected to SSI_PINS_4*/
mxc_audmux_v1_configure_port(MX27_AUDMUX_HPCR1_SSI0, mxc_audmux_v1_configure_port(MX27_AUDMUX_HPCR1_SSI0,
MXC_AUDMUX_V1_PCR_SYN | MXC_AUDMUX_V1_PCR_SYN |
......
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