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
     

12 Jan, 2011

1 commit

  • Change the interface used by set_voltage() to report the selected value
    to the regulator core in terms of a selector used by list_voltage().
    This allows the regulator core to know the voltage that was chosen
    without having to do an explict get_voltage(), which would be much more
    expensive as it will generally access hardware.

    Signed-off-by: Mark Brown
    Signed-off-by: Liam Girdwood

    Mark Brown
     

14 Dec, 2009

1 commit

  • Currently the pcf50633-regulator driver data is set to the pcf50633 core
    structure, but the pcf50633-regulator remove handler assumes that it is set to
    the regulator device. This patch fixes the issue by accessing the pcf506533
    core structure through its parent device and setting the driver data to the
    regulator device.

    Signed-off-by: Lars-Peter Clausen
    Signed-off-by: Paul Fertser
    Signed-off-by: Samuel Ortiz

    Lars-Peter Clausen
     

22 Sep, 2009

2 commits


15 Jun, 2009

1 commit

  • Regulators need to be available early in init in order to allow them
    to be available for consumers when requested. This is generally done
    by registering them at subsys_initcall() time but not all regulator
    drivers have done that. Convert these drivers to do so in order to
    mimimise future support.

    Signed-off-by: Mark Brown
    Acked-by: Mike Rapoport
    Signed-off-by: Liam Girdwood

    Mark Brown
     

31 Mar, 2009

1 commit


11 Jan, 2009

1 commit