[PATCH v3 0/8] Add support for Rockchip RK860X regulators

From: Cristian Ciocaltea
Date: Thu Apr 06 2023 - 15:42:11 EST


This patch series introduces support for the Rockchip RK860X regulators,
while also providing a few fixes and improvements to the existing fan53555
driver.

RK8600/RK8601 are quite similar to the FAN53555 regulators.

RK8602/RK8603 are a bit different, having a wider output voltage
selection range, from 0.5 V to 1.5 V in 6.25 mV steps. They are used
in the Rock 5B board to power the ARM Cortex-A76 cores and the NPU.

Changes in v3:
- Improved PATCH v2 1/8, as suggested by Krzysztof
- Added Acked-by from Krzysztof in PATCH v3 1/8
- v2: https://lore.kernel.org/lkml/20230406171806.948290-1-cristian.ciocaltea@xxxxxxxxxxxxx/

Changes in v2:
- Dropped the rk8601 and rk8603 entries from the device_id arrays
in PATCH 8/8 and updated the bindings accordingly in PATCH 1/8,
per Krzysztof's review
- v1: https://lore.kernel.org/lkml/20230405194721.821536-1-cristian.ciocaltea@xxxxxxxxxxxxx/

Cristian Ciocaltea (8):
regulator: dt-bindings: fcs,fan53555: Add support for RK860X
regulator: fan53555: Explicitly include bits header
regulator: fan53555: Fix wrong TCS_SLEW_MASK
regulator: fan53555: Remove unused *_SLEW_SHIFT definitions
regulator: fan53555: Make use of the bit macros
regulator: fan53555: Improve vsel_mask computation
regulator: fan53555: Use dev_err_probe
regulator: fan53555: Add support for RK860X

.../bindings/regulator/fcs,fan53555.yaml | 21 +-
drivers/regulator/fan53555.c | 203 ++++++++++++++----
2 files changed, 171 insertions(+), 53 deletions(-)

--
2.40.0