]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: max8997: Convert to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Feb 2024 08:36:27 +0000 (09:36 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 26 Feb 2024 13:46:36 +0000 (13:46 +0000)
commit84618d5e31cfd01fc3f53a8c2ebb68bc43d8b760
tree5ccf84dd6a3ed16c10fa227e9b291b10eb8e3bd6
parent95daa868f22b509ad641bf003d9d441d6a2fa505
regulator: max8997: Convert to GPIO descriptors

This rewrites the max8997 regulator driver to fetch the dvs
regulators as descriptors. This will likely mostly come from
the device tree since there are no in-tree users of the platform
data, but supplying GPIO descriptor tables from board files is
also possible if needed.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://msgid.link/r/20240220-descriptors-regulators-v1-4-097f608694be@linaro.org
Acked-by: Lee Jones <lee@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8997-regulator.c
include/linux/mfd/max8997.h