diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-02-20 09:36:26 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-26 13:46:35 +0000 |
commit | 95daa868f22b509ad641bf003d9d441d6a2fa505 (patch) | |
tree | cb757a3df65e48c604fc5dc84b3f2744979cb9c9 /sound/soc/soc-ops.c | |
parent | e450a2b3a335332d4a51fe10c9fff8150c6e2364 (diff) |
regulator: lp8788-buck: Fully convert to GPIO descriptors
This converts the LP8788 BUCK regulator driver to use GPIO
descriptors.
BUCK1 can use one DVS GPIO and BUCK2 can use two DVS GPIOS,
and no more so just hardcode two GPIO descriptors into
the per-DVS state containers.
Obtain the descriptors from each regulators subdevice.
As there are no in-tree users, board files need to populate
descriptor tables for the buck regulator devices when
they want to use this driver. BUCK1 need a GPIO descriptor
at index 0 and BUCK2 needs two GPIO descriptors at
indices 0 and 1.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://msgid.link/r/20240220-descriptors-regulators-v1-3-097f608694be@linaro.org
Acked-by: Lee Jones <lee@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-ops.c')
0 files changed, 0 insertions, 0 deletions