Messages in this thread | | | From | Yadwinder Singh Brar <> | Subject | [v2 PATCH 0/6] Add DT support for s2mps11 | Date | Sat, 29 Jun 2013 18:21:14 +0530 |
| |
Mainly this series adds dt support for s2mps11 in mfd and regulator driver.
changes since v1: - As suggested by Mark, used regulator-ramp-delay = <0> as ramp_disable and Moved the ramp_disable into regulator constraints as it is quite generic. - Implemented set_ramp_delay callback, to make driver simple and in more compliance with framework. - Modified Documentation accordingly. - Fixed some NITs pointed by Sachin.
It also includes a patch to remove some redundant checks in _regulator_do_set_voltage().
Yadwinder Singh Brar (6): regulator: core: Add support for disabling ramp delay regulator: s2mps11: Implement set_ramp_rate callback for bucks regulator: s2mps11: Add DT support regulator: s2mps11: Convert driver completely to use set_ramp_delay callback regulator: core: Remove redundant checks mfd: s2mps11: Add device tree support
Documentation/devicetree/bindings/mfd/s2mps11.txt | 89 +++++++++ .../devicetree/bindings/regulator/regulator.txt | 2 + drivers/mfd/sec-core.c | 3 + drivers/regulator/core.c | 7 +- drivers/regulator/of_regulator.c | 12 +- drivers/regulator/s2mps11.c | 203 +++++++++++++++----- include/linux/mfd/samsung/s2mps11.h | 11 + include/linux/regulator/machine.h | 1 + 8 files changed, 270 insertions(+), 58 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/s2mps11.txt
| |