[PATCH 0/3] Allow use of DVS GPIOs on the RK808 PMIC variant only
Dragan Simic
dsimic at manjaro.org
Mon Oct 14 03:43:38 PDT 2024
This is a small series that primarily makes the rk808-regulator driver
more compliant to the DT bindings, by allowing use of DVS GPIOs on the
RK808 variant only. There's no point in allowing that on the other PMIC
variants, because they don't support the DVS GPIOs, and it goes against
the DT bindings to allow a possibly misplaced "dvs-gpios" property to
actually be handled in the rk808-regulator driver.
This series also cleans up the code a bit, improves some comments, and
replaces dev_err() with dev_err_probe(), where appropriate.
Dragan Simic (3):
regulator: rk808: Perform trivial code cleanups
regulator: rk808: Use dev_err_probe() in the probe path
regulator: rk808: Restrict DVS GPIOs to the RK808 variant only
drivers/regulator/rk808-regulator.c | 41 +++++++++++++----------------
1 file changed, 19 insertions(+), 22 deletions(-)
More information about the Linux-rockchip
mailing list