FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 10-21-2010, 02:38 PM
Ricardo Salveti de Araujo
 
Default SRU: Fix DVI for Beagle xM rev A3

SRU Justification:

Impact: With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
2 on TPS65950. Without setting up this GPIO the DVI will be off, and the user
will be unable to install and use the distro.

Fix: The problem is fixed by setting up the GPIO 2 on TPS65950 for when running
at Beagle xM. There's no problem when setting this GPIO in previous xM revisions
as it's not connected. For more details please see
http://beagleboard.org/hardware/design.

Testcase: When booting with current kernel on xM A3 you should be unable to use
the DVI. After applying the fix it should work the same way as with previous xM revisions.

BugLink: https://bugs.launchpad.net/bugs/663642

From: Robert Nelson <robertcnelson@gmail.com>
Date: Mon, 18 Oct 2010 15:02:35 -0500
Subject: [PATCH] UBUNTU: SAUCE: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI on

With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
2 on TPS65950. This patch enable the correct GPIO pin in order to have a
working DVI again.

This patch is not yet upstream because it depends on the xM check
patches that are still not upstream.

BugLink: https://bugs.launchpad.net/bugs/663642

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
---
arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
index 94cb19c..81b19e3 100644
--- a/arch/arm/mach-omap2/board-omap3beagle.c
+++ b/arch/arm/mach-omap2/board-omap3beagle.c
@@ -306,6 +306,10 @@ static int beagle_twl_gpio_setup(struct device *dev,
if (cpu_is_omap3630()) {
gpio_request(gpio + 1, "nDVI_PWR_EN");
gpio_direction_output(gpio + 1, 0);
+
+ /* On the xM A3 DVI_PUP was moved to an empty GPIO pin on the TPS65950 */
+ gpio_request(gpio + 2, "DVI_PUP");
+ gpio_direction_output(gpio + 2, 1);

/* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
--
1.7.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 10-21-2010, 04:55 PM
Tim Gardner
 
Default SRU: Fix DVI for Beagle xM rev A3

On 10/21/2010 08:38 AM, Ricardo Salveti de Araujo wrote:
> SRU Justification:
>
> Impact: With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
> 2 on TPS65950. Without setting up this GPIO the DVI will be off, and the user
> will be unable to install and use the distro.
>
> Fix: The problem is fixed by setting up the GPIO 2 on TPS65950 for when running
> at Beagle xM. There's no problem when setting this GPIO in previous xM revisions
> as it's not connected. For more details please see
> http://beagleboard.org/hardware/design.
>
> Testcase: When booting with current kernel on xM A3 you should be unable to use
> the DVI. After applying the fix it should work the same way as with previous xM revisions.
>
> BugLink: https://bugs.launchpad.net/bugs/663642
>
> From: Robert Nelson<robertcnelson@gmail.com>
> Date: Mon, 18 Oct 2010 15:02:35 -0500
> Subject: [PATCH] UBUNTU: SAUCE: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI on
>
> With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
> 2 on TPS65950. This patch enable the correct GPIO pin in order to have a
> working DVI again.
>
> This patch is not yet upstream because it depends on the xM check
> patches that are still not upstream.
>
> BugLink: https://bugs.launchpad.net/bugs/663642
>
> Signed-off-by: Robert Nelson<robertcnelson@gmail.com>
> Signed-off-by: Ricardo Salveti de Araujo<ricardo.salveti@canonical.com>
> ---
> arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
> index 94cb19c..81b19e3 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -306,6 +306,10 @@ static int beagle_twl_gpio_setup(struct device *dev,
> if (cpu_is_omap3630()) {
> gpio_request(gpio + 1, "nDVI_PWR_EN");
> gpio_direction_output(gpio + 1, 0);
> +
> + /* On the xM A3 DVI_PUP was moved to an empty GPIO pin on the TPS65950 */
> + gpio_request(gpio + 2, "DVI_PUP");
> + gpio_direction_output(gpio + 2, 1);
>
> /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
> gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");

Acked-by: Tim Gardner <tim.gardner@canonical.com>

--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 10-21-2010, 05:03 PM
Leann Ogasawara
 
Default SRU: Fix DVI for Beagle xM rev A3

On Thu, 2010-10-21 at 12:38 -0200, Ricardo Salveti de Araujo wrote:
> SRU Justification:
>
> Impact: With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
> 2 on TPS65950. Without setting up this GPIO the DVI will be off, and the user
> will be unable to install and use the distro.
>
> Fix: The problem is fixed by setting up the GPIO 2 on TPS65950 for when running
> at Beagle xM. There's no problem when setting this GPIO in previous xM revisions
> as it's not connected. For more details please see
> http://beagleboard.org/hardware/design.
>
> Testcase: When booting with current kernel on xM A3 you should be unable to use
> the DVI. After applying the fix it should work the same way as with previous xM revisions.
>
> BugLink: https://bugs.launchpad.net/bugs/663642
>
> From: Robert Nelson <robertcnelson@gmail.com>
> Date: Mon, 18 Oct 2010 15:02:35 -0500
> Subject: [PATCH] UBUNTU: SAUCE: OMAP3: beagle: use GPIO2 on the xM A3 to turn DVI on
>
> With BeagleBoard xM rev A3 the DVI_PU is now used and connected to GPIO
> 2 on TPS65950. This patch enable the correct GPIO pin in order to have a
> working DVI again.
>
> This patch is not yet upstream because it depends on the xM check
> patches that are still not upstream.
>
> BugLink: https://bugs.launchpad.net/bugs/663642
>
> Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
> ---
> arch/arm/mach-omap2/board-omap3beagle.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
> index 94cb19c..81b19e3 100644
> --- a/arch/arm/mach-omap2/board-omap3beagle.c
> +++ b/arch/arm/mach-omap2/board-omap3beagle.c
> @@ -306,6 +306,10 @@ static int beagle_twl_gpio_setup(struct device *dev,
> if (cpu_is_omap3630()) {
> gpio_request(gpio + 1, "nDVI_PWR_EN");
> gpio_direction_output(gpio + 1, 0);
> +
> + /* On the xM A3 DVI_PUP was moved to an empty GPIO pin on the TPS65950 */
> + gpio_request(gpio + 2, "DVI_PUP");
> + gpio_direction_output(gpio + 2, 1);
>
> /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */
> gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR");
> --
> 1.7.1

Per comments in the bug report, the patch has been tested and confirmed
to resolve the issue.

Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 10:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org