12 Feb, 2016

2 commits


20 Oct, 2014

1 commit


24 Oct, 2013

1 commit


11 Oct, 2013

2 commits


17 Sep, 2013

1 commit


24 Jul, 2013

1 commit

  • The ldo voltage table is composed of linear ranges.

    Below is the equation in original code (tps65912_vsel_to_uv_ldo):
    0 ... 32: uv = vsel * 25000 + 800000;
    33 ... 60: uv = (vsel - 32) * 50000 + 1600000;
    = (vsel -33) * 50000 + 1650000;
    61 ...63: uv = (vsel - 60) * 100000 + 3000000;
    = (vsel - 61) * 100000 + 3100000;

    This patch converts tps65912_ops_ldo to use multiple linear ranges APIs.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin
     

20 Nov, 2012

3 commits


23 Apr, 2012

2 commits


11 Apr, 2012

1 commit


09 Apr, 2012

1 commit

  • Rather than adding new arguments to regulator_register() every time we
    want to add a new bit of dynamic information at runtime change the function
    to take these via a struct. By doing this we avoid needing to do further
    changes like the recent addition of device tree support which required each
    regulator driver to be updated to take an additional parameter.

    The regulator_desc which should (mostly) be static data is still passed
    separately as most drivers are able to configure this statically at build
    time.

    Signed-off-by: Mark Brown

    Mark Brown
     

01 Apr, 2012

2 commits


14 Mar, 2012

3 commits


12 Mar, 2012

3 commits


24 Nov, 2011

1 commit

  • With device tree support for regulators, its needed that the
    regulator_dev->dev device has the right of_node attached.
    To be able to do this add an additional parameter to the
    regulator_register() api, wherein the dt-adapted driver can
    then pass this additional info onto the regulator core.

    Signed-off-by: Rajendra Nayak
    Signed-off-by: Mark Brown

    Rajendra Nayak
     

09 Aug, 2011

1 commit


01 Aug, 2011

2 commits