Add device tree bindings and a driver for the regulators found in the
Spreadtrum/Unisoc SC2730 PMIC.
The second patch in this series depends on the first patch.
Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
---
Changes in v4:
- Add missing patch for MFD cell registration
- Use conditional binding for referencing the regulators now that the
child node cannot be distinguished by its compatible for validation
purposes.
- Drop requirement for removed compatible property (sorry, should have
double-checked this before sending v3)
- Link to v3: https://lore.kernel.org/r/20260519-sc2730-regulators-v3-0-5bf0e02507e3@abscue.de
Changes in v3:
- Drop compatible property
- Drop unused VDDSIM0 and VDDSIM1 IDs
- Link to v2: https://lore.kernel.org/r/20260518-sc2730-regulators-v2-0-9a5b3a7b1e49@abscue.de
Changes in v2:
- Use lowercase names without underscores for device tree nodes
- Use oneOf for binding reference instead of making it conditional
- Remove some excess line breaks
- Fix author name in driver and add original Signed-off-by
- Link to v1: https://lore.kernel.org/r/20260220-sc2730-regulators-v1-0-3f2bbc9ecf14@abscue.de
---
Otto Pflüger (4):
regulator: dt-bindings: Add Unisoc SC2730 PMIC
dt-bindings: mfd: sprd,sc2731: Include SC2730 regulator bindings
mfd: sprd-sc27xx: Add SC2730 regulator cell
regulator: Add regulator driver for Unisoc SC2730 PMIC
.../devicetree/bindings/mfd/sprd,sc2731.yaml | 21 +-
.../bindings/regulator/sprd,sc2730-regulator.yaml | 44 +++
drivers/mfd/sprd-sc27xx-spi.c | 1 +
drivers/regulator/Kconfig | 7 +
drivers/regulator/Makefile | 1 +
drivers/regulator/sc2730-regulator.c | 411 +++++++++++++++++++++
6 files changed, 484 insertions(+), 1 deletion(-)
---
base-commit: 550604d6c9b9efc8d068aff94dc301694a7afdee
change-id: 20260216-sc2730-regulators-13ba789641a4
Best regards,
--
Otto Pflüger <otto.pflueger@abscue.de>