[PATCH 3/3] ARM: mach-shmobile: kzm9g: do not enable REGULATOR_DUMMY in defconfig

Simon Horman horms at verge.net.au
Fri Feb 15 08:13:31 EST 2013


On Thu, Feb 14, 2013 at 09:45:24AM +0100, Guennadi Liakhovetski wrote:
> On Thu, 14 Feb 2013, Simon Horman wrote:
> 
> > On Wed, Feb 13, 2013 at 10:11:43PM +0900, Simon Horman wrote:
> > > Don't enable REGULATOR_DUMMY, it is only intended for development / testing.
> > > There doesn't seem to be any value in setting it here and doing
> > > so was an error on my part.
> > > 
> > > Cc: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
> > > Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> > > ---
> > >  arch/arm/configs/kzm9g_defconfig |    1 -
> > >  1 file changed, 1 deletion(-)
> > > 
> > > diff --git a/arch/arm/configs/kzm9g_defconfig b/arch/arm/configs/kzm9g_defconfig
> > > index 670c3b6..6751c02 100644
> > > --- a/arch/arm/configs/kzm9g_defconfig
> > > +++ b/arch/arm/configs/kzm9g_defconfig
> > > @@ -86,7 +86,6 @@ CONFIG_I2C_SH_MOBILE=y
> > >  CONFIG_GPIO_PCF857X=y
> > >  # CONFIG_HWMON is not set
> > >  CONFIG_REGULATOR=y
> > > -CONFIG_REGULATOR_DUMMY=y
> > >  CONFIG_FB=y
> > >  CONFIG_FB_SH_MOBILE_LCDC=y
> > >  CONFIG_FRAMEBUFFER_CONSOLE=y
> > 
> > This patch seems to break NIC initialisation.
> > 
> > smsc911x: Driver version 2008-10-21
> > smsc911x smsc911x.0: Failed to get supply 'vdd33a': -517
> > smsc911x smsc911x.0 (unregistered net_device): couldn't get regulators -517
> > platform smsc911x.0: Driver smsc911x requests probe deferral
> 
> Right, you need a fixed regulator similar to how I adde it here
> 
> http://www.spinics.net/lists/linux-sh/msg15713.html

Perhaps that is the wrong link?
The code in the link seems to be the same as what is preseng
in boards-kzm9g.c already and with it in place I see the error
above if CONFIG_REGULATOR_DUMMY is not enabled.

I am testing against with next branch in the renesas tree
with the kzm9g_defconfig, less CONFIG_REGULATOR_DUMMY.



More information about the linux-arm-kernel mailing list