lkml.org 
[lkml]   [2012]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] regulator: tps6586x: add support for SYS rail
    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?


    \
     
     \ /
      Last update: 2012-08-02 19:01    [W:0.024 / U:0.884 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site