diff options
author | Wallace Wang <r59996@freescale.com> | 2009-07-30 13:20:05 +0000 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2009-10-13 11:04:43 -0400 |
commit | 8d917de8dd1b56ab33bea0c4960df3b94c109e49 (patch) | |
tree | 645ee2ba8af971039c8e2378b61c5d9f4c0eed1c /arch | |
parent | 55a414f48e2090823dfcc4f5f0ed16702e089702 (diff) |
ENGR00114625 BABBAGE: Add spdif support
Add spdif support
Signed-off-by: Wallace Wang <r59996@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx51/mx51_babbage_gpio.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-mx51/mx51_babbage_gpio.c b/arch/arm/mach-mx51/mx51_babbage_gpio.c index 153da411d5b4..49b4a0be2dd2 100644 --- a/arch/arm/mach-mx51/mx51_babbage_gpio.c +++ b/arch/arm/mach-mx51/mx51_babbage_gpio.c @@ -443,6 +443,16 @@ static struct mxc_iomux_pin_cfg __initdata mxc_iomux_pins[] = { MX51_PIN_CSI1_HSYNC, IOMUX_CONFIG_ALT0, (PAD_CTL_HYS_NONE | PAD_CTL_SRE_SLOW), }, + { + MX51_PIN_OWIRE_LINE, IOMUX_CONFIG_ALT6, + (PAD_CTL_DRV_HIGH | PAD_CTL_PKE_ENABLE | + PAD_CTL_PUE_PULL | PAD_CTL_100K_PU | PAD_CTL_SRE_FAST), + }, + { + MX51_PIN_EIM_D18, IOMUX_CONFIG_GPIO, + (PAD_CTL_DRV_HIGH | PAD_CTL_PKE_ENABLE | + PAD_CTL_PUE_KEEPER | PAD_CTL_100K_PU | PAD_CTL_SRE_FAST), + }, }; void __init mx51_babbage_io_init(void) @@ -640,6 +650,11 @@ void __init mx51_babbage_io_init(void) /* Camera low power */ mxc_set_gpio_direction(MX51_PIN_CSI2_D19, 0); mxc_set_gpio_dataout(MX51_PIN_CSI2_D19, 0); + + /* OSC_EN */ + mxc_set_gpio_direction(MX51_PIN_EIM_D18, 0); + mxc_set_gpio_dataout(MX51_PIN_EIM_D18, 1); + } /* workaround for ecspi chipselect pin may not keep correct level when idle */ |