accessing SD_3V3 in drivers/mmc/host/s3cmci.c

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Feb 5 14:30:18 CET 2009


On Thu, Feb 05, 2009 at 11:16:52AM -0200, Werner Almesberger wrote:
> Mark Brown wrote:

> > Note that when you add consumers you're specifying a per-consumer name
> > that the consumer will use to request the regulator - it's just a key
> > used for lookup.

> So perhaps something like MMC_REG would be a good "local" name then ?
> Is there a common style for these per-driver names ?

I'd suggest using either whatever the chip documentation uses for the
supply name or the pin name used for the supply (IME they're normally
the same).  That tends to make it much easier to write the platform
support - you don't need to work out what the software name for the
supply is.



More information about the openmoko-kernel mailing list