diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-11-15 09:01:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-15 11:42:08 -0800 |
commit | 1d2f46814d20a55c45ac171739b6885826e0c793 (patch) | |
tree | 417accb18dff5ce13dae132b97521325a0b7a263 /arch/sh/kernel/cpu | |
parent | 1c984942f0a480ed41635528234b8bc672f6bac7 (diff) |
regulator: wm8994: Pass descriptor instead of GPIO number
Instead of passing a global GPIO number for the enable GPIO, pass
a descriptor looked up from the device tree node or the board file
decriptor table for the regulator.
There is a single board file passing the GPIOs for LDO1 and LDO2
through platform data, so augment this to pass descriptors
associated with the i2c device as well.
The special GPIO enable DT property for the enable GPIO is
nonstandard but this was accomodated in
commit 6a537d48461deacc57c07ed86d9915e5aa4b3539
"gpio: of: Support regulator nonstandard GPIO properties".
Cc: patches@opensource.cirrus.com
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
0 files changed, 0 insertions, 0 deletions