summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2011-12-15 15:39:31 +0800
committerJason Chen <b02280@freescale.com>2011-12-15 15:39:31 +0800
commit626f839ff54d52aac0f22c864a0bd3e12055649d (patch)
tree06eb5a3a7d281c96df52fa3178ef18c322afd412 /arch/arm
parentb1813a677116a2d6135b0b5747d6dde1b71149ba (diff)
ENGR00170350 dvi detect: request cable detect pin when real init
request cable detect pin when real init Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx6/board-mx6q_arm2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_arm2.c b/arch/arm/mach-mx6/board-mx6q_arm2.c
index 54c7fc0e85d2..b0f45f0c6f3e 100644
--- a/arch/arm/mach-mx6/board-mx6q_arm2.c
+++ b/arch/arm/mach-mx6/board-mx6q_arm2.c
@@ -648,6 +648,10 @@ static void ddc_dvi_init(void)
{
/* enable DVI I2C */
gpio_set_value(MX6Q_ARM2_DISP0_I2C_EN, 1);
+
+ /* DISP0 Detect */
+ gpio_request(MX6Q_ARM2_DISP0_DET_INT, "disp0-detect");
+ gpio_direction_input(MX6Q_ARM2_DISP0_DET_INT);
}
static int ddc_dvi_update(void)
@@ -1500,10 +1504,6 @@ static void __init mx6_board_init(void)
imx_asrc_data.asrc_audio_clk = clk_get(NULL, "asrc_serial_clk");
imx6q_add_asrc(&imx_asrc_data);
- /* DISP0 Detect */
- gpio_request(MX6Q_ARM2_DISP0_DET_INT, "disp0-detect");
- gpio_direction_input(MX6Q_ARM2_DISP0_DET_INT);
-
/* DISP0 Reset - Assert for i2c disabled mode */
gpio_request(MX6Q_ARM2_DISP0_RESET, "disp0-reset");
gpio_direction_output(MX6Q_ARM2_DISP0_RESET, 0);