diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2014-11-10 14:43:55 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-26 18:58:14 +0000 |
commit | 5e5e3a42c653c5ef1c281651f1882411601129bd (patch) | |
tree | bf723806a38f3d19bebb4bbf23fa46838568ee1f /Documentation/devicetree/bindings/regulator | |
parent | 75d6b2faf79cbe9086e831351d5d9085f1852928 (diff) |
regulator: of: Add support for parsing initial and suspend modes
Some regulators support their operating mode to be changed on startup
or by consumers when the system is running while others only support
their operating mode to be changed while the system has entered in a
suspend state.
The regulator Device Tree binding documents a set of properties to
configure the regulators operating modes from a FDT. This patch builds
on (40e20d6 regulator: of: Add support for parsing regulator_state for
suspend state) and adds support to parse those properties and fill the
regulator constraints so the regulator core can call the right suspend
handlers when the system enters into sleep.
The modes are defined in the Device Tree using the hardware specific
modes supported by the regulators. Regulator drivers have to define a
translation function that is used to map the hardware specific modes
to the standard ones.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
0 files changed, 0 insertions, 0 deletions