Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1405117
| From | Henry Chen <henryc.chen@mediatek.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Add support for regulator operation mode of mt6397 |
| Date | 2016-05-23 09:20 +0200 |
| Message-ID | <rBSjD-2RI-13@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Some regulators support different operating modes, but there is no suitable property that can pass the opeation mode constraints on runtime at present. This series making the change to specify supported modes as a devicetree list. Consumers can change or get the regulator operation mode by regulator_set_mode /regulator_get_mode and define the support operating mode on devicetree. There is a requirement from SVS driver. SVS calibartion requires that the regulator be in its low-noise (pwm mode) state at boot, but at all other times it can be normal mode for power saving. http://www.spinics.net/lists/devicetree/msg111204.html Changes in v2: - Separate patch for binding document changes. - Create a header to define operation mode on dt-bindings. - Remove the property "regulator-supported-modes". Henry Chen (3): regulator: DT: Add DT property for operation mode configuration regulator: of: Add support for parsing operation mode regulator: mt6397: Add buck change mode regulator interface for mt6397 .../devicetree/bindings/regulator/regulator.txt | 5 ++ drivers/regulator/mt6397-regulator.c | 89 +++++++++++++++++++--- drivers/regulator/of_regulator.c | 15 +++- include/dt-bindings/regulator/regulator.h | 14 ++++ 4 files changed, 113 insertions(+), 10 deletions(-) create mode 100644 include/dt-bindings/regulator/regulator.h -- 1.8.1.1.dirty
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Add support for regulator operation mode of mt6397 Henry Chen <henryc.chen@mediatek.com> - 2016-05-23 09:20 +0200
[PATCH v2 1/3] regulator: DT: Add DT property for operation mode configuration Henry Chen <henryc.chen@mediatek.com> - 2016-05-23 09:20 +0200
Re: [PATCH v2 1/3] regulator: DT: Add DT property for operation mode configuration Mark Rutland <mark.rutland@arm.com> - 2016-05-23 12:50 +0200
Re: [PATCH v2 1/3] regulator: DT: Add DT property for operation mode configuration Mark Brown <broonie@kernel.org> - 2016-05-23 13:40 +0200
Re: [PATCH v2 1/3] regulator: DT: Add DT property for operation mode configuration Fan Chen <fan.chen@mediatek.com> - 2016-05-31 10:30 +0200
[PATCH v2 2/3] regulator: of: Add support for parsing operation mode Henry Chen <henryc.chen@mediatek.com> - 2016-05-23 09:20 +0200
[PATCH v2 3/3] regulator: mt6397: Add buck change mode regulator interface for mt6397 Henry Chen <henryc.chen@mediatek.com> - 2016-05-23 09:20 +0200
Re: [PATCH v2 3/3] regulator: mt6397: Add buck change mode regulator interface for mt6397 Mark Brown <broonie@kernel.org> - 2016-05-23 13:40 +0200
Applied "regulator: mt6397: Add buck change mode regulator interface for mt6397" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-05-23 20:00 +0200
csiph-web