diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2012-06-11 20:44:56 -0400 |
commit | 88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch) | |
tree | e1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch | |
parent | a1e2573369c6714956af561523ba274aa9c185f7 (diff) | |
download | meta-ti-88867c1d96684925027a0ecc9e25c6ea70040cc6.tar.gz |
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring
extra non-standard dependencies besides oe-core.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch b/extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch new file mode 100644 index 00000000..1808a861 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/base/0002-omap3-beaglexm-fix-DVI-reset-GPIO.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | From e1dd1afba99853083da545f632a1f7c6899ae379 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@beagleboard.org> | ||
3 | Date: Tue, 11 Jan 2011 17:13:36 +0000 | ||
4 | Subject: [PATCH 02/28] omap3: beaglexm: fix DVI reset GPIO | ||
5 | |||
6 | GPIO reset line for Beagle XM is different from vanilla beagle | ||
7 | so we populate it as part of gpio update routine. | ||
8 | |||
9 | This in part fixes the issue of display not functioning on beagle XM | ||
10 | platform. | ||
11 | |||
12 | [nm@ti.com: split up, added descriptive changelogs] | ||
13 | Signed-off-by: Nishanth Menon <nm@ti.com> | ||
14 | Signed-off-by: Koen Kooi <koen@beagleboard.org> | ||
15 | Signed-off-by: Tony Lindgren <tony@atomide.com> | ||
16 | --- | ||
17 | arch/arm/mach-omap2/board-omap3beagle.c | 8 +++++++- | ||
18 | 1 files changed, 7 insertions(+), 1 deletions(-) | ||
19 | |||
20 | diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c | ||
21 | index af1166b..673deb9 100644 | ||
22 | --- a/arch/arm/mach-omap2/board-omap3beagle.c | ||
23 | +++ b/arch/arm/mach-omap2/board-omap3beagle.c | ||
24 | @@ -199,7 +199,7 @@ static struct omap_dss_device beagle_dvi_device = { | ||
25 | .name = "dvi", | ||
26 | .driver_name = "generic_panel", | ||
27 | .phy.dpi.data_lines = 24, | ||
28 | - .reset_gpio = 170, | ||
29 | + .reset_gpio = -EINVAL, | ||
30 | .platform_enable = beagle_enable_dvi, | ||
31 | .platform_disable = beagle_disable_dvi, | ||
32 | }; | ||
33 | @@ -307,6 +307,12 @@ static int beagle_twl_gpio_setup(struct device *dev, | ||
34 | else | ||
35 | gpio_direction_output(gpio + TWL4030_GPIO_MAX, 0); | ||
36 | |||
37 | + /* DVI reset GPIO is different between beagle revisions */ | ||
38 | + if (omap3_beagle_get_rev() == OMAP3BEAGLE_BOARD_XM) | ||
39 | + beagle_dvi_device.reset_gpio = 129; | ||
40 | + else | ||
41 | + beagle_dvi_device.reset_gpio = 170; | ||
42 | + | ||
43 | /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */ | ||
44 | gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1; | ||
45 | |||
46 | -- | ||
47 | 1.6.6.1 | ||
48 | |||