[PATCH] regulator: tps6586x: add support for SYS rail
Stephen Warren
swarren at wwwdotorg.org
Fri Aug 3 02:44:05 EST 2012
On 08/02/2012 05:16 AM, Laxman Dewangan wrote:
> Device have SYS rail which is always ON. It is system
> power bus. LDO5 and LDO_RTC get powered through this rail
> internally. Add support for this rail and make the
> LDO5/LDO_RTC input supply to "sys".
> Update document accordingly.
I believe you need to following patch on top of this, or the sys-supply
property is not used:
> diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c
> index 0c15ef8..a0ddc9f 100644
> --- a/drivers/regulator/tps6586x-regulator.c
> +++ b/drivers/regulator/tps6586x-regulator.c
> @@ -258,6 +258,7 @@ static const unsigned int tps6586x_dvm_voltages[] = {
> #define TPS6586X_SYS_REGULATOR() \
> { \
> .desc = { \
> + .supply_name = "sys", \
> .name = "REG-SYS", \
> .ops = &tps6586x_sys_regulator_ops, \
> .type = REGULATOR_VOLTAGE, \
BTW, this patch touches both the regulator and MFD trees. I'm not sure
who will apply it. I think it relies on the patch to this driver Mark
recently applied in the regulator tree (for 3.7 I think) doesn't it, at
least for context?
More information about the devicetree-discuss
mailing list