diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-4430sdp.c | 3 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 95766cdfc57f..cd6ec517a929 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c | |||
| @@ -54,6 +54,7 @@ | |||
| 54 | #define OMAP4_SFH7741_ENABLE_GPIO 188 | 54 | #define OMAP4_SFH7741_ENABLE_GPIO 188 |
| 55 | #define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */ | 55 | #define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */ |
| 56 | #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */ | 56 | #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */ |
| 57 | #define HDMI_GPIO_HPD 63 /* Hotplug detect */ | ||
| 57 | #define DISPLAY_SEL_GPIO 59 /* LCD2/PicoDLP switch */ | 58 | #define DISPLAY_SEL_GPIO 59 /* LCD2/PicoDLP switch */ |
| 58 | #define DLP_POWER_ON_GPIO 40 | 59 | #define DLP_POWER_ON_GPIO 40 |
| 59 | 60 | ||
| @@ -598,6 +599,7 @@ static void __init omap_sfh7741prox_init(void) | |||
| 598 | static struct gpio sdp4430_hdmi_gpios[] = { | 599 | static struct gpio sdp4430_hdmi_gpios[] = { |
| 599 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, | 600 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, |
| 600 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, | 601 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, |
| 602 | { HDMI_GPIO_HPD, GPIOF_DIR_IN, "hdmi_gpio_hpd" }, | ||
| 601 | }; | 603 | }; |
| 602 | 604 | ||
| 603 | static int sdp4430_panel_enable_hdmi(struct omap_dss_device *dssdev) | 605 | static int sdp4430_panel_enable_hdmi(struct omap_dss_device *dssdev) |
| @@ -824,6 +826,7 @@ static void omap_4430sdp_display_init(void) | |||
| 824 | 826 | ||
| 825 | omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT); | 827 | omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT); |
| 826 | omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT); | 828 | omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT); |
| 829 | omap_mux_init_gpio(HDMI_GPIO_HPD, OMAP_PIN_INPUT_PULLDOWN); | ||
| 827 | } | 830 | } |
| 828 | 831 | ||
| 829 | #ifdef CONFIG_OMAP_MUX | 832 | #ifdef CONFIG_OMAP_MUX |
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 982397269360..e1b196361f95 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | #define GPIO_WIFI_IRQ 53 | 53 | #define GPIO_WIFI_IRQ 53 |
| 54 | #define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */ | 54 | #define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */ |
| 55 | #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */ | 55 | #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */ |
| 56 | #define HDMI_GPIO_HPD 63 /* Hotplug detect */ | ||
| 56 | 57 | ||
| 57 | /* wl127x BT, FM, GPS connectivity chip */ | 58 | /* wl127x BT, FM, GPS connectivity chip */ |
| 58 | static int wl1271_gpios[] = {46, -1, -1}; | 59 | static int wl1271_gpios[] = {46, -1, -1}; |
| @@ -481,6 +482,7 @@ int __init omap4_panda_dvi_init(void) | |||
| 481 | static struct gpio panda_hdmi_gpios[] = { | 482 | static struct gpio panda_hdmi_gpios[] = { |
| 482 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, | 483 | { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" }, |
| 483 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, | 484 | { HDMI_GPIO_LS_OE, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" }, |
| 485 | { HDMI_GPIO_HPD, GPIOF_DIR_IN, "hdmi_gpio_hpd" }, | ||
| 484 | }; | 486 | }; |
| 485 | 487 | ||
| 486 | static int omap4_panda_panel_enable_hdmi(struct omap_dss_device *dssdev) | 488 | static int omap4_panda_panel_enable_hdmi(struct omap_dss_device *dssdev) |
| @@ -541,6 +543,7 @@ void omap4_panda_display_init(void) | |||
| 541 | 543 | ||
| 542 | omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT); | 544 | omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT); |
| 543 | omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT); | 545 | omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT); |
| 546 | omap_mux_init_gpio(HDMI_GPIO_HPD, OMAP_PIN_INPUT_PULLDOWN); | ||
| 544 | } | 547 | } |
| 545 | 548 | ||
| 546 | static void __init omap4_panda_init(void) | 549 | static void __init omap4_panda_init(void) |
