ARM: mx51: Add audmux support
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
b86186610f
commit
40e2eda921
|
@ -5,6 +5,7 @@ config ARCH_MX51
|
|||
default y
|
||||
select MXC_TZIC
|
||||
select ARCH_MXC_IOMUX_V3
|
||||
select ARCH_MXC_AUDMUX_V2
|
||||
|
||||
comment "MX5 platforms:"
|
||||
|
||||
|
|
|
@ -186,7 +186,13 @@ EXPORT_SYMBOL_GPL(mxc_audmux_v2_configure_port);
|
|||
static int mxc_audmux_v2_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
#if defined(CONFIG_ARCH_MX5)
|
||||
if (cpu_is_mx51()) {
|
||||
audmux_base = MX51_IO_ADDRESS(MX51_AUDMUX_BASE_ADDR);
|
||||
ret = 0;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
#if defined(CONFIG_ARCH_MX3)
|
||||
if (cpu_is_mx31())
|
||||
audmux_base = MX31_IO_ADDRESS(MX31_AUDMUX_BASE_ADDR);
|
||||
|
|
Loading…
Reference in New Issue