Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Ubuntu Kernel Team (http://www.linux-archive.org/ubuntu-kernel-team/)
-   -   UBUNTU : SAUCE - ARM: Adding vdd_sdi regulator supply to OMAP3EVM (http://www.linux-archive.org/ubuntu-kernel-team/428531-ubuntu-sauce-arm-adding-vdd_sdi-regulator-supply-omap3evm.html)

Leann Ogasawara 09-17-2010 09:32 PM

UBUNTU : SAUCE - ARM: Adding vdd_sdi regulator supply to OMAP3EVM
 
Applied to Maverick linux master but with a modified commit message to
include much of the information outlined in the SRU justification.

Thanks,
Leann

On Wed, 2010-09-15 at 17:30 -0600, Mathieu Poirier wrote:
> >From a653e18117df1973818604d057d34d7ff880affa Mon Sep 17 00:00:00 2001
> From: Mathieu J. Poirier <mathieu.poirier@canonical.com>
> Date: Wed, 15 Sep 2010 17:14:01 -0600
> Subject: [PATCH] Adding vdd_sdi regulator supply to OMAP3EVM
>
> This is to allow the omapfb sub system to complete its
> initialisation properly and enable LCD display.
>
> https://bugs.launchpad.net/bugs/630885
>
> Signed-off-by: Mathieu Poirier <mathieu.poirier@canonical.com>
> ---
> arch/arm/mach-omap2/board-omap3evm.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
> index ef89ffa..be62606 100644
> --- a/arch/arm/mach-omap2/board-omap3evm.c
> +++ b/arch/arm/mach-omap2/board-omap3evm.c
> @@ -514,9 +514,9 @@ static struct regulator_init_data omap3_evm_vdac = {
> };
>
> /* VPLL2 for digital video outputs */
> -static struct regulator_consumer_supply omap3_evm_vpll2_supply = {
> - .supply = "vdvi",
> - .dev = &omap3_evm_lcd_device.dev,
> +static struct regulator_consumer_supply omap3_evm_vdds_supplies[] = {
> + REGULATOR_SUPPLY("vdds_sdi", "omapdss"),
> + REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
> };
>
> static struct regulator_init_data omap3_evm_vpll2 = {
> @@ -530,8 +530,8 @@ static struct regulator_init_data omap3_evm_vpll2 = {
> .valid_ops_mask = REGULATOR_CHANGE_MODE
> | REGULATOR_CHANGE_STATUS,
> },
> - .num_consumer_supplies = 1,
> - .consumer_supplies = &omap3_evm_vpll2_supply,
> + .num_consumer_supplies = ARRAY_SIZE(omap3_evm_vdds_supplies),
> + .consumer_supplies = omap3_evm_vdds_supplies,
> };
>
> static struct twl4030_platform_data omap3evm_twldata = {
> --
> 1.7.0.4
>
>
>
>



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


All times are GMT. The time now is 09:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.