21 Apr, 2016

1 commit


28 Oct, 2015

1 commit


20 Feb, 2014

1 commit


01 Oct, 2013

1 commit


20 Sep, 2013

1 commit


30 Jul, 2013

1 commit


28 Apr, 2013

2 commits


26 Apr, 2013

1 commit


20 Nov, 2012

2 commits


29 Aug, 2012

1 commit


03 Jul, 2012

2 commits

  • This patch refactors the code to get rid of the fixed_ilimsel and FIXED_ILIMSEL
    flag usage, and convert all the fixed ilimsel to table based (with one entry in
    the table).

    We can differentiate fixed ilimsel by checking info->n_ilimsels == 1,
    thus FIXED_ILIMSEL flag can be removed.

    This change makes the logic of the code simpler as all the ilimsels are table
    based now.

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

    Axel Lin
     
  • This patch adds fixed_5000000_voltage table for fixed voltage,
    so we can convert regulator_ops to regulator_list_voltage_table.

    We can differentiate fixed voltage by checking rdev->desc->n_voltages == 1,
    thus remove the FIXED_VOLTAGE flag usage.

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

    Axel Lin
     

20 Jun, 2012

1 commit


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
     

04 Apr, 2012

1 commit


01 Apr, 2012

2 commits


22 Mar, 2012

1 commit

  • Pull regulator updates for 3.4 from Mark Brown:
    "This has been a fairly quiet release from a regulator point of view,
    the only real framework features added were devm support and a
    convenience helper for setting up fixed voltage regulators.

    We also added a couple of drivers (but will drop the BQ240022 driver
    via the arm-soc tree as it's been replaced by the more generic
    gpio-regulator driver) and Axel Lin continued his relentless and
    generally awesome stream of fixes and cleanups."

    * tag 'regulator-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: (93 commits)
    regulator: Fix up a confusing dev_warn when DT lookup fails
    regulator: Convert tps6507x to set_voltage_sel
    regulator: Refactor tps6507x to use one tps6507x_pmic_ops for all LDOs and DCDCs
    regulator: Make s5m8767_get_voltage_register always return correct register
    regulator: s5m8767: Check pdata->buck[2|3|4]_gpiodvs earlier
    regulator: tps65910: Provide settling time for DCDC voltage change
    regulator: Add Anatop regulator driver
    regulator: Simplify implementation of tps65912_get_voltage_dcdc
    regulator: Use tps65912_set_voltage_sel for both DCDCx and LDOx
    regulator: tps65910: Provide settling time for enabling rails
    regulator: max8925: Use DIV_ROUND_UP macro
    regulator: tps65912: Use simple equations to get register address
    regulator: Fix the logic of tps65910_get_mode
    regulator: Merge tps65217_pmic_ldo234_ops and tps65217_pmic_dcdc_ops to tps65217_pmic_ops
    regulator: Use DIV_ROUND_CLOSEST in wm8350_isink_get_current
    regulator: Use array to store dcdc_range settings for tps65912
    regulator: Rename s5m8767_convert_voltage to s5m8767_convert_voltage_to_sel
    regulator: tps6524x: Remove unneeded comment for N_REGULATORS
    regulator: Rename set_voltage_sel callback function name to *_sel
    regulator: Fix s5m8767_set_voltage_time_sel calculation value
    ...

    Linus Torvalds
     

12 Mar, 2012

2 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
     

26 Mar, 2011

1 commit

  • Acked-by: Mark Brown

    Fix section mismatch that is caused by init code calling exit code:
    pmic_remove() cannot be marked as __devexit.

    WARNING: drivers/regulator/tps6524x-regulator.o(.devinit.text+0x205): Section mismatch in reference from the function pmic_probe() to the function .devexit.text:pmic_remove()
    The function __devinit pmic_probe() references
    a function __devexit pmic_remove().
    This is often seen when error handling in the init function
    uses functionality in the exit path.
    The fix is often to remove the __devexit annotation of
    pmic_remove() so it may be used outside an exit section.

    Signed-off-by: Randy Dunlap
    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Cyril Chemparathy
    Signed-off-by: Liam Girdwood

    Randy Dunlap
     

12 Jan, 2011

1 commit