diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2024-02-20 11:36:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-26 16:46:36 +0300 |
commit | 84618d5e31cfd01fc3f53a8c2ebb68bc43d8b760 (patch) | |
tree | 5ccf84dd6a3ed16c10fa227e9b291b10eb8e3bd6 /include/linux/mfd | |
parent | 95daa868f22b509ad641bf003d9d441d6a2fa505 (diff) | |
download | linux-84618d5e31cfd01fc3f53a8c2ebb68bc43d8b760.tar.xz |
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>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/max8997.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/max8997.h b/include/linux/mfd/max8997.h index 6193905abbb5..5c2cc1103437 100644 --- a/include/linux/mfd/max8997.h +++ b/include/linux/mfd/max8997.h @@ -178,7 +178,6 @@ struct max8997_platform_data { * */ bool ignore_gpiodvs_side_effect; - int buck125_gpios[3]; /* GPIO of [0]SET1, [1]SET2, [2]SET3 */ int buck125_default_idx; /* Default value of SET1, 2, 3 */ unsigned int buck1_voltage[8]; /* buckx_voltage in uV */ bool buck1_gpiodvs; |