Convert some regulator drivers to GPIO descriptors

Despite the work to convert the regulator core to GPIO
descriptors, there are some outliers that use legacy GPIO
numbers in various ways. Convert them all over.

To: Liam Girdwood <lgirdwood@gmail.com>
To: Mark Brown <broonie@kernel.org>
To: Support Opensource <support.opensource@diasemi.com>
To: Lee Jones <lee@kernel.org>
Cc:  <linux-kernel@vger.kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
Linus Walleij (5):
      regulator: max8973: Finalize switch to GPIO descriptors
      regulator: da9055: Fully convert to GPIO descriptors
      regulator: lp8788-buck: Fully convert to GPIO descriptors
      regulator: max8997: Convert to GPIO descriptors
      regulator: max8998: Convert to GPIO descriptors

 drivers/regulator/da9055-regulator.c        |  48 ++++-----
 drivers/regulator/lp8788-buck.c             |  64 +++++-------
 drivers/regulator/max8973-regulator.c       |  36 +++----
 drivers/regulator/max8997-regulator.c       |  85 +++++-----------
 drivers/regulator/max8998.c                 | 150 ++++++++++------------------
 include/linux/mfd/da9055/pdata.h            |  13 ---
 include/linux/mfd/lp8788.h                  |   9 +-
 include/linux/mfd/max8997.h                 |   1 -
 include/linux/mfd/max8998.h                 |   6 --
 include/linux/regulator/max8973-regulator.h |   6 --
 10 files changed, 143 insertions(+), 275 deletions(-)
---
base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d
change-id: 20240212-descriptors-regulators-f455ccf0119c

Best regards,
regulator: max8998: Convert to GPIO descriptors

This rewrites the max8998 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>
2 files changed