> -----Original Message----- > From: Tomi Valkeinen [mailto:tomi.valkeinen@xxxxxxxxx] > Sent: Thursday, March 11, 2010 2:29 PM > To: Hiremath, Vaibhav > Cc: linux-omap@xxxxxxxxxxxxxxx; tony@xxxxxxxxxxx > Subject: Re: [PATCH-Fix] OMAP: Add DSI regulator supply to OMAP3EVM board > file > > Hi, > > On Thu, 2010-03-11 at 09:55 +0100, ext hvaibhav@xxxxxx wrote: > > From: Vaibhav Hiremath <hvaibhav@xxxxxx> > > > > With recent changes happened in OMAP2/3 DSS library for regulator > interface, it > > is required to define DSI regulator supply, without this DSS (in turn > Fbdev) > > fails to get regulator. > > > > Signed-off-by: Vaibhav Hiremath <hvaibhav@xxxxxx> > > --- > > arch/arm/mach-omap2/board-omap3evm.c | 16 +++++++++++----- > > 1 files changed, 11 insertions(+), 5 deletions(-) > > > > diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach- > omap2/board-omap3evm.c > > index 017bb2f..a05de10 100644 > > --- a/arch/arm/mach-omap2/board-omap3evm.c > > +++ b/arch/arm/mach-omap2/board-omap3evm.c > > @@ -514,9 +514,15 @@ 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_vpll2_supplies[] = { > > + { > > + .supply = "vdvi", > > + .dev = &omap3_evm_lcd_device.dev, > > + }, > > Are you sure vdvi is required by the panel? At least the panel in > 3430SDP doesn't require it. [Hiremath, Vaibhav] As I mentioned before also, we don't need vdvi supply for OMAP3EVM. Infact there is no supply like vdvi coming out of TWL4030 Since it was being used in panel file I had defined it. But now I can see that we are no longer using vdvi supply, so I can safely remove this supply. Thanks for pointing me to this. I have created another patch which will replace the vdvi with vdds_dsi regulator supply; I have tested it on OMAP3EVM. Please merge this patch, without this OMAP3EVM DSS/Fbdev will fail in regulator_get. Thanks, Vaibhav > > Tomi >
Attachment:
0001-OMAP-Replace-vdvi-with-vdds_dsi-regulator-supply-in.patch
Description: 0001-OMAP-Replace-vdvi-with-vdds_dsi-regulator-supply-in.patch