diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2014-07-17 19:23:05 +0000 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2014-07-17 13:12:02 -0700 |
commit | 82d3bbfc4cf9272a1f29eebc78926aa56ab9e8f3 (patch) | |
tree | b687b88bf58e5d187b69541fe6f2cdc8c556ca07 /dependencies | |
parent | 04d6077fc25fee75ee883f02b6cc8c2ca984ba6d (diff) |
backports: make regulator palmas driver depend on v3.15
The regulator palmas driver makes use of the new struct regulator_desc
enable_val and disable_val added via commit ca5d1b352 on v3.15 to help
overcome an issue on assumptions on how regulator drivers enable /
disable the regulator with only one value / mask. We can't port this
so just require at least v3.15 for it.
mcgrof@ergon ~/linux (git::master)$ git describe --contains ca5d1b352
v3.15-rc1~148^2~4^3
commit ca5d1b3524b4d90a2e2f1f71583c1dca6b96fd92
Author: Carlo Caione <carlo@caione.org>
Date: Wed Mar 5 22:11:29 2014 +0100
regulator: helpers: Modify helpers enabling multi-bit control
This patch extends the regulator helpers to account for device that use
multiple bits for control when using regmap enable/disable/bypass ops.
The actual regulator helpers wrongly assume that the regulator control
is always performed using single bits, using in the regulator_desc
struct only two parameters *_reg and *_mask defining register and mask
for control.
This patch extends this struct and introduces the helpers to take into
account devices where control is performed using multiple bits and
specific multi-bit values are used for enabling/disabling/bypassing the
regulator.
Signed-off-by: Carlo Caione <carlo@caione.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'dependencies')
-rw-r--r-- | dependencies | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dependencies b/dependencies index 2888bec6..c38098cf 100644 --- a/dependencies +++ b/dependencies @@ -50,7 +50,7 @@ REGULATOR_MAX14577 3.16 REGULATOR_MC13783 3.6 REGULATOR_MC13892 3.6 REGULATOR_MC13XXX_CORE 3.6 -REGULATOR_PALMAS 3.12 +REGULATOR_PALMAS 3.15 REGULATOR_PCAP 3.6 REGULATOR_PCF50633 3.8 REGULATOR_PFUZE100 3.6 |