On 11/01/2013 12:20 AM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Thu, Oct 31, 2013 at 03:05:26PM +0800, Wei Ni wrote: >> Set full constraints during machine initialisation, so that the >> regulator_get() can get the dummy regulator if the regulator is >> physically present and enabled. >> Discussed this in the link: >> https://lkml.org/lkml/2013/10/8/40 > > This should be done for all DT systems - I'd expect this to be done in > generic DT init code rather than for a specific board. Hi, Mark I didn't find the generic DT init code, do you mean to add it in the customize_machine() in arch/arm/kernel/setup.c ? But it isn't only for DT systems. How about to add it in the regulator subsystem? I mean we can add following codes in the regulator_init() routine in driver/regulator/core.c: +#ifdef CONFIG_OF +regulator_has_full_constraints(); +#endif Thanks. Wei. > > * Unknown Key > * 0x7EA229BD > -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html