Mark Brown
4ffc45c360
Merge remote-tracking branch 'regulator/topic/sm8767' into regulator-next
2012-12-11 21:44:55 +09:00
Mark Brown
f3cd19c38c
Merge remote-tracking branch 'regulator/topic/change' into regulator-next
2012-12-11 21:44:53 +09:00
Axel Lin
8a23b4e03d
regulator: core: Fix logic to determinate if regulator can change voltage
...
Having a linear_min_sel setting means the first linear_min_sel selectors are
invalid. We need to subtract linear_min_sel when use n_voltages to determinate
if regulator can change voltage.
Signed-off-by: Axel Lin <axel.lin@ingics.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-11 21:44:23 +09:00
Mark Brown
b17fc86cc5
Merge branch 'topic/min' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-change
2012-12-11 21:44:17 +09:00
Amit Daniel Kachhap
76c854d1df
regulator: s5m8767: Fix to work even if no DVS gpio present
...
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-11 12:44:05 +09:00
Amit Daniel Kachhap
da130ab2df
regulator: s5m8767: Fix to read the first DVS register.
...
This patch modifies the DVS register read function to select correct DVS1
register. This change is required because the GPIO select pin is 000 in
unintialized state and hence selects the DVS1 register.
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-11 12:44:05 +09:00
Amit Daniel Kachhap
9bb096ff37
regulator: s5m8767: Fix to work when platform registers less regulators
...
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-11 12:44:04 +09:00
Mark Brown
bfd9155ebb
Merge remote-tracking branch 'regulator/topic/gpio' into regulator-next
2012-12-10 23:14:11 +09:00
Lee Jones
3708903ee6
regulator: gpio-regulator: gpio_set_value should use cansleep
...
If it's possible for gpio_set_value to sleep, we should be using
the *_cansleep call instead. This patch fixes multiple warnings
from gpiolib.
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 23:12:41 +09:00
Lee Jones
ad0b8b9e82
regulator: gpio-regulator: Fix logical error in for() loop
...
The cond-statement of this particular for() loop will always be
true as long as at least one voltage-shifting GPIO is present.
If it wasn't for the break below, we'd be stuck in a forever loop.
This patch inserts the correct cond-statement into the statement.
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com >
Signed-off-by: Lee Jones <lee.jones@linaro.org >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2012-12-10 23:12:41 +09:00
Mark Brown
925f14dc2d
Merge remote-tracking branch 'regulator/topic/wm831x' into regulator-next
2012-12-10 12:43:33 +09:00
Mark Brown
8ee005112d
Merge remote-tracking branch 'regulator/topic/tps80031' into regulator-next
2012-12-10 12:43:32 +09:00
Mark Brown
f1e0d5f138
Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next
2012-12-10 12:43:30 +09:00
Mark Brown
21e55ca406
Merge remote-tracking branch 'regulator/topic/tps6586x' into regulator-next
2012-12-10 12:43:29 +09:00
Mark Brown
41f5983236
Merge remote-tracking branch 'regulator/topic/tps65090' into regulator-next
2012-12-10 12:43:27 +09:00
Mark Brown
f8c85fe186
Merge remote-tracking branch 'regulator/topic/tps516312' into regulator-next
2012-12-10 12:43:24 +09:00
Mark Brown
86caa905f3
Merge remote-tracking branch 'regulator/topic/s2mps11' into regulator-next
2012-12-10 12:43:19 +09:00
Mark Brown
e6120461e5
Merge remote-tracking branch 'regulator/topic/palmas' into regulator-next
2012-12-10 12:43:17 +09:00
Mark Brown
adca48f7c6
Merge remote-tracking branch 'regulator/topic/min' into regulator-next
2012-12-10 12:43:00 +09:00
Mark Brown
9e21867073
Merge remote-tracking branch 'regulator/topic/max8997' into regulator-next
2012-12-10 12:43:00 +09:00
Mark Brown
f675649e70
Merge remote-tracking branch 'regulator/topic/max8973' into regulator-next
2012-12-10 12:42:59 +09:00
Mark Brown
9199addf4f
Merge remote-tracking branch 'regulator/topic/max77686' into regulator-next
2012-12-10 12:42:58 +09:00
Mark Brown
0d2cff8b67
Merge remote-tracking branch 'regulator/topic/max1586' into regulator-next
2012-12-10 12:42:58 +09:00
Mark Brown
a8bfb69e77
Merge remote-tracking branch 'regulator/topic/lp8788' into regulator-next
2012-12-10 12:42:57 +09:00
Mark Brown
bdb7e45507
Merge remote-tracking branch 'regulator/topic/log' into regulator-next
2012-12-10 12:42:56 +09:00