]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 19:55:39 +0000 (11:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Mar 2012 19:55:39 +0000 (11:55 -0800)
added patches:
omap-4430sdp-panda-rename-hpd-gpio-to-ct_cp_hpd.patch
omap-4430sdp-panda-setup-hdmi-gpio-muxes.patch
omapdss-remove-wrong-hdmi-hpd-muxing.patch

queue-3.0/omap-4430sdp-panda-rename-hpd-gpio-to-ct_cp_hpd.patch [new file with mode: 0644]
queue-3.0/omap-4430sdp-panda-setup-hdmi-gpio-muxes.patch [new file with mode: 0644]
queue-3.0/omapdss-remove-wrong-hdmi-hpd-muxing.patch [new file with mode: 0644]
queue-3.0/series

diff --git a/queue-3.0/omap-4430sdp-panda-rename-hpd-gpio-to-ct_cp_hpd.patch b/queue-3.0/omap-4430sdp-panda-rename-hpd-gpio-to-ct_cp_hpd.patch
new file mode 100644 (file)
index 0000000..0e3eba6
--- /dev/null
@@ -0,0 +1,64 @@
+From 3932a32fcf5393f8be70ac99dc718ad7ad0a415b Mon Sep 17 00:00:00 2001
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Date: Tue, 17 Jan 2012 10:49:38 +0200
+Subject: OMAP: 4430SDP/Panda: rename HPD GPIO to CT_CP_HPD
+
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+
+commit 3932a32fcf5393f8be70ac99dc718ad7ad0a415b upstream.
+
+The GPIO 60 on 4430sdp and Panda is not HPD GPIO, as currently marked in
+the board files, but CT_CP_HPD, which is used to enable/disable HPD
+functionality.
+
+This patch renames the GPIO.
+
+Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Acked-by: Tony Lindgren <tony@atomide.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/mach-omap2/board-4430sdp.c    |    4 ++--
+ arch/arm/mach-omap2/board-omap4panda.c |    4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+--- a/arch/arm/mach-omap2/board-4430sdp.c
++++ b/arch/arm/mach-omap2/board-4430sdp.c
+@@ -49,7 +49,7 @@
+ #define ETH_KS8851_QUART              138
+ #define OMAP4_SFH7741_SENSOR_OUTPUT_GPIO      184
+ #define OMAP4_SFH7741_ENABLE_GPIO             188
+-#define HDMI_GPIO_HPD 60 /* Hot plug pin for HDMI */
++#define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */
+ #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */
+ static const int sdp4430_keymap[] = {
+@@ -591,7 +591,7 @@ static void sdp4430_hdmi_mux_init(void)
+ }
+ static struct gpio sdp4430_hdmi_gpios[] = {
+-      { HDMI_GPIO_HPD,        GPIOF_OUT_INIT_HIGH,    "hdmi_gpio_hpd"   },
++      { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" },
+       { HDMI_GPIO_LS_OE,      GPIOF_OUT_INIT_HIGH,    "hdmi_gpio_ls_oe" },
+ };
+--- a/arch/arm/mach-omap2/board-omap4panda.c
++++ b/arch/arm/mach-omap2/board-omap4panda.c
+@@ -52,7 +52,7 @@
+ #define GPIO_HUB_NRESET               62
+ #define GPIO_WIFI_PMENA               43
+ #define GPIO_WIFI_IRQ         53
+-#define HDMI_GPIO_HPD 60 /* Hot plug pin for HDMI */
++#define HDMI_GPIO_CT_CP_HPD 60 /* HPD mode enable/disable */
+ #define HDMI_GPIO_LS_OE 41 /* Level shifter for HDMI */
+ /* wl127x BT, FM, GPS connectivity chip */
+@@ -627,7 +627,7 @@ static void omap4_panda_hdmi_mux_init(vo
+ }
+ static struct gpio panda_hdmi_gpios[] = {
+-      { HDMI_GPIO_HPD,        GPIOF_OUT_INIT_HIGH, "hdmi_gpio_hpd"   },
++      { HDMI_GPIO_CT_CP_HPD, GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ct_cp_hpd" },
+       { HDMI_GPIO_LS_OE,      GPIOF_OUT_INIT_HIGH, "hdmi_gpio_ls_oe" },
+ };
diff --git a/queue-3.0/omap-4430sdp-panda-setup-hdmi-gpio-muxes.patch b/queue-3.0/omap-4430sdp-panda-setup-hdmi-gpio-muxes.patch
new file mode 100644 (file)
index 0000000..411dcc5
--- /dev/null
@@ -0,0 +1,46 @@
+From 78a1ad8f12db70b8b0a4548b90704de08ee216ce Mon Sep 17 00:00:00 2001
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Date: Tue, 17 Jan 2012 11:02:36 +0200
+Subject: OMAP: 4430SDP/Panda: setup HDMI GPIO muxes
+
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+
+commit 78a1ad8f12db70b8b0a4548b90704de08ee216ce upstream.
+
+The HDMI GPIO pins LS_OE and CT_CP_HPD are not currently configured.
+This patch configures them as output pins.
+
+Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Acked-by: Tony Lindgren <tony@atomide.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+
+---
+ arch/arm/mach-omap2/board-4430sdp.c    |    3 +++
+ arch/arm/mach-omap2/board-omap4panda.c |    3 +++
+ 2 files changed, 6 insertions(+)
+
+--- a/arch/arm/mach-omap2/board-4430sdp.c
++++ b/arch/arm/mach-omap2/board-4430sdp.c
+@@ -631,6 +631,9 @@ void omap_4430sdp_display_init(void)
+ {
+       sdp4430_hdmi_mux_init();
+       omap_display_init(&sdp4430_dss_data);
++
++      omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT);
++      omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT);
+ }
+ #ifdef CONFIG_OMAP_MUX
+--- a/arch/arm/mach-omap2/board-omap4panda.c
++++ b/arch/arm/mach-omap2/board-omap4panda.c
+@@ -674,6 +674,9 @@ void omap4_panda_display_init(void)
+       omap4_panda_hdmi_mux_init();
+       omap_display_init(&omap4_panda_dss_data);
++
++      omap_mux_init_gpio(HDMI_GPIO_LS_OE, OMAP_PIN_OUTPUT);
++      omap_mux_init_gpio(HDMI_GPIO_CT_CP_HPD, OMAP_PIN_OUTPUT);
+ }
+ static void __init omap4_panda_init(void)
diff --git a/queue-3.0/omapdss-remove-wrong-hdmi-hpd-muxing.patch b/queue-3.0/omapdss-remove-wrong-hdmi-hpd-muxing.patch
new file mode 100644 (file)
index 0000000..bb1dc2b
--- /dev/null
@@ -0,0 +1,54 @@
+From 7bb122d155f742fe2d79849090c825be7b4a247e Mon Sep 17 00:00:00 2001
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Date: Tue, 17 Jan 2012 10:59:00 +0200
+Subject: OMAPDSS: remove wrong HDMI HPD muxing
+
+From: Tomi Valkeinen <tomi.valkeinen@ti.com>
+
+commit 7bb122d155f742fe2d79849090c825be7b4a247e upstream.
+
+"hdmi_hpd" pin is muxed to INPUT and PULLUP, but the pin is not
+currently used, and in the future when it is used, the pin is used as a
+GPIO and is board specific, not an OMAP4 wide thing.
+
+So remove the muxing for now.
+
+Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
+Acked-by: Tony Lindgren <tony@atomide.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/arm/mach-omap2/board-4430sdp.c    |    4 ----
+ arch/arm/mach-omap2/board-omap4panda.c |    4 ----
+ 2 files changed, 8 deletions(-)
+
+--- a/arch/arm/mach-omap2/board-4430sdp.c
++++ b/arch/arm/mach-omap2/board-4430sdp.c
+@@ -578,12 +578,8 @@ static void __init omap_sfh7741prox_init
+ static void sdp4430_hdmi_mux_init(void)
+ {
+-      /* PAD0_HDMI_HPD_PAD1_HDMI_CEC */
+-      omap_mux_init_signal("hdmi_hpd",
+-                      OMAP_PIN_INPUT_PULLUP);
+       omap_mux_init_signal("hdmi_cec",
+                       OMAP_PIN_INPUT_PULLUP);
+-      /* PAD0_HDMI_DDC_SCL_PAD1_HDMI_DDC_SDA */
+       omap_mux_init_signal("hdmi_ddc_scl",
+                       OMAP_PIN_INPUT_PULLUP);
+       omap_mux_init_signal("hdmi_ddc_sda",
+--- a/arch/arm/mach-omap2/board-omap4panda.c
++++ b/arch/arm/mach-omap2/board-omap4panda.c
+@@ -614,12 +614,8 @@ int __init omap4_panda_dvi_init(void)
+ static void omap4_panda_hdmi_mux_init(void)
+ {
+-      /* PAD0_HDMI_HPD_PAD1_HDMI_CEC */
+-      omap_mux_init_signal("hdmi_hpd",
+-                      OMAP_PIN_INPUT_PULLUP);
+       omap_mux_init_signal("hdmi_cec",
+                       OMAP_PIN_INPUT_PULLUP);
+-      /* PAD0_HDMI_DDC_SCL_PAD1_HDMI_DDC_SDA */
+       omap_mux_init_signal("hdmi_ddc_scl",
+                       OMAP_PIN_INPUT_PULLUP);
+       omap_mux_init_signal("hdmi_ddc_sda",
index 8d350237ce21594e1d8690fd90bb7de5c6d39a40..49cfe7799ba9d78207cacae4973758a65c335c2f 100644 (file)
@@ -45,3 +45,6 @@ arm-orion-fix-usb-phy-for-orion5x.patch
 arm-orion-fix-orion5x-gpio-regression-from-mpp-cleanup.patch
 omap-dss2-hdmi-use-default-dividers.patch
 omap-4430sdp-panda-use-gpio_free_array-to-free-hdmi-gpios.patch
+omap-4430sdp-panda-rename-hpd-gpio-to-ct_cp_hpd.patch
+omapdss-remove-wrong-hdmi-hpd-muxing.patch
+omap-4430sdp-panda-setup-hdmi-gpio-muxes.patch