diff options
author | Tony Lin <tony.lin@freescale.com> | 2012-03-27 19:18:14 +0800 |
---|---|---|
committer | Lily Zhang <r58066@freescale.com> | 2012-03-27 19:43:20 +0800 |
commit | 9329fa1504e395a9e18f72284ad885628f6e91db (patch) | |
tree | b18b8a9d2634267dca5aedcf44f0096cc96eb1a9 | |
parent | 4b1fe09e61bb3d867571f3f547fbf003d0861b9d (diff) |
ENGR00177058 mx6 sabreauto: enable tvin function
set different gpr register due to mx6q or mx6dl
Signed-off-by: Tony Lin <tony.lin@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabreauto.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index 1bad3d569266..56ebaa6af568 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -1213,7 +1213,11 @@ static inline void __init mx6q_csi0_io_init(void) gpio_direction_output(SABREAUTO_CSI0_PWN, 1); msleep(1); gpio_set_value(SABREAUTO_CSI0_PWN, 0); - mxc_iomux_set_gpr_register(1, 19, 1, 1); + + if (cpu_is_mx6q()) + mxc_iomux_set_gpr_register(1, 19, 1, 1); + else if (cpu_is_mx6dl()) + mxc_iomux_set_gpr_register(13, 0, 3, 4); } static struct mxc_spdif_platform_data mxc_spdif_data = { |