summaryrefslogtreecommitdiff
path: root/drivers/regulator (follow)
Commit message (Collapse)AuthorAge
...
| * | | | regulator: tps65023: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: tps62360: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: tps51632: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: ti-abb: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: rc5t583: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: palmas: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: mc13892: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: mc13783: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: isl6271a-regulator: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: anatop-regulator: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8998: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8997: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8973-regulator: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8907-regulator: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8660: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. [Fixups from rebase onto v3.12 code -- broonie] Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max8649: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max77693: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max1586: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: max77686: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm_* simplifies the code. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: s2mps11: Use devm_regulator_registerSachin Kamat2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit e398b51a ("regulator: s2mps11: Convert to devm_regulator_register()") intended to do this conversion. However the actual conversion to devm_* got missed out. Fix this. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: fan53555: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: da9055: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: da9052: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: da903x: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: as3711: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: ad5398: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: aat2870: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Jinyoung Park <jinyoungp@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: 88pm8607: Convert to devm_regulator_registerAxel Lin2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm8994: Convert to devm_regulator_registerMark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm8400: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm8350: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-ldo: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-isink: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-dcdc: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: s5m8767: Covert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Sangbeom Kim <sbkim73@samsung.com>
| * | | | regulator: s2mps11: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Sangbeom Kim <sbkim73@samsung.com>
| * | | | regulator: arizona-micsupp: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: arizona-ldo1: Convert to devm_regulator_register()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: core: Provide managed regulator registrationMark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many regulator drivers have a remove function that consists solely of calling regulator_unregister() so provide a devm_regulator_register() in order to allow this repeated code to be removed and help eliminate error handling code. Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-ldo: Use devm_request_threaded_irq()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm guarantees that resources are freed in the oposite order to that in which they are allocated. Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-isink: Use devm_request_threaded_irq()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm guarantees that resources are freed in the opposite order to that in which they are allocated. Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-dcdc: Convert to devm_request_threaded_irq()Mark Brown2013-09-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | devm guarantees that resources are freed in the opposite order to that in which they are registered. Signed-off-by: Mark Brown <broonie@linaro.org>
| * | | | regulator: wm831x-dcdc: Convert to devm_gpio_request_one()Mark Brown2013-09-17
| | |/ / | |/| | | | | | | | | | | | | | | | | | Saves code in the unwind path. Signed-off-by: Mark Brown <broonie@linaro.org>
* | | | regulator: ti-abb: Fix operator precedence typoNishanth Menon2013-10-11
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | commit 40b1936e (regulator: Introduce TI Adaptive Body Bias(ABB) on-chip LDO driver) missed a pair of brackets which cause the wrong vset data to be picked up from efuse, resulting in bad VBB voltage values. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
* | | Merge remote-tracking branch 'regulator/fix/wm8350' into regulator-linusMark Brown2013-09-30
|\ \ \
| * | | regulator: wm8350: correct the max_uV of LDOLaxman Dewangan2013-09-19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per datasheet, voltage range for LDOs are as follows: 0000 = 0.9V ...(50mV steps) 01111 = 1.65V 10000 = 1.8V ... (100mV stepns) 11111 = 3.3V So, there is no selector for 1.65V to 1.8V. Correcting the range for max_uV for selector between 0 to 15. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* | | Merge remote-tracking branch 'regulator/fix/wm831x' into regulator-linusMark Brown2013-09-30
|\ \ \
| * | | regulator: wm831x-ldo: Fix max_uV for gp_ldo and aldo linear range settingsAxel Lin2013-09-23
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the linear range settings in commit 5ff26a14c3331 "regulator: wm831x-ldo: Convert to use linear ranges". For wm831x_gp_ldo: We have below equations for list voltage before converting to linear ranges: sel <= 0xe: volt = 0.9-1.6V in 50mV steps sel <= 0x1f: volt = 1.7-3.3V in 100mV steps max_uV for the first linear range should be 1600000 rather than 1650000. Fix it. For wm831x_aldo: We have below equations for list voltage before converting to linear ranges: sel <= 0xc: volt = 1-1.6V in 50mV steps sel <= 0x1f volt = 1.7-3.5V in 100mV steps max_uV for the first linear range should be 1600000 rather than 1650000. Fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* | | Merge remote-tracking branch 'regulator/fix/ti-abb' into regulator-linusMark Brown2013-09-30
|\ \ \
| * | | regulator: ti-abb: Fix bias voltage glitch in transition to bypass modeNishanth Menon2013-09-27
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As documented in Application Note SWPA117 v2.1(NDA), LDO override has a requirement that when switching from Bias active + override active mode(FBB/RBB) to Bypass(nominal) mode, LDO reset must be performed *after* LDO transitions to Bypass(nominal) mode. The same rule in reverse applies when switching from a ABB bypass mode to ABB enabled - LDO override *must* be performed prior to transition to required ABB mode, if we do not do that, the same glitch takes place. Currently while transitioning to ABB bypass, we reset the LDO overide prior to the transition which causes a few milliseconds where ABB LDO voltage could go all the way to 800mV(based on SoC process node), during this period, the delta voltage between VDD rail and VBB rail could cause the system to improperly function. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org