[PATCH] UBUNTU : SAUCE - ARM: Adding vdd_sdi regulator supply to OMAP3EVM

Tim Gardner tim.gardner at canonical.com
Thu Sep 16 14:02:13 UTC 2010


On 09/15/2010 05:30 PM, Mathieu Poirier wrote:
>> From a653e18117df1973818604d057d34d7ff880affa Mon Sep 17 00:00:00 2001
> From: Mathieu J. Poirier<mathieu.poirier at 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 at 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 = {

With the kernel freeze in effect you now need to write the SRU 
justification. This patch is also a bit short on provenance, e.g., 
http://marc.info/?l=linux-omap&m=126829773001754&w=2

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list