On Sun, Apr 1, 2012 at 22:52, Linus Walleij <[email protected]> wrote: > On Sun, Apr 1, 2012 at 5:29 PM, Mark Brown > <[email protected]> wrote: >> The impact should be minimal since currently there are no mainline >> systems which actually provide a vcore regulator so none need updating. > > Oh yes there are: > drivers/mfd/db8500-prcmu.c > > This driver registers a number of voltage domain regulators, > among those: > > static struct regulator_consumer_supply db8500_vape_consumers[] = { > (...) > REGULATOR_SUPPLY("vcore", "sdi0"), > REGULATOR_SUPPLY("vcore", "sdi1"), > REGULATOR_SUPPLY("vcore", "sdi2"), > REGULATOR_SUPPLY("vcore", "sdi3"), > REGULATOR_SUPPLY("vcore", "sdi4"), > (...) > REGULATOR_SUPPLY("vcore", "uart0"), > REGULATOR_SUPPLY("vcore", "uart1"), > REGULATOR_SUPPLY("vcore", "uart2"), > > IIRC the machine will not boot (i.e. these drivers cannot even > probe) without these regulators in place, so they get enabled by > the AMBA bus code.
These vcore "regulators" do nothing but increment a variable which is write-only in mainline, so the machine will boot and drivers will probe fine with Mark's patch. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ spi-devel-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/spi-devel-general
