[PATCH v3 0/4] Add support for Silicon Mitus SM5703 MFD

Markuss Broks
2022-04-15T16:44:12Z

This series adds support for Silicon Mitus SM5703 MFD and the
appropriate device-tree bindings. This only adds support for the
regulator module, leaving room for other modules implemented in
future (code for other modules is really not ready for submission
right now). Silicon Mitus SM5703 is used on various mobile phones,
mostly Samsung Galaxy (J5 (2015, 2016), On7, J7 (2015, 2016) ...).

v2:
- mfd bindings: add "SM5703" to the title
- mfd bindings: indent the example
- regulators/Makefile: sort alphabetically
v3:
- mfd bindings: fix an error in example: there should be no
newline between #size-cells and #address-cells and the node

Markuss Broks (4):
dt-bindings: regulator: Add bindings for Silicon Mitus SM5703
regulators
dt-bindings: mfd: Add bindings for Silicon Mitus SM5703 MFD
mfd: sm5703: Add support for SM5703 MFD
regulator: sm5703-regulator: Add regulators support for SM5703 MFD

.../bindings/mfd/siliconmitus,sm5703.yaml | 91 ++++++++++
.../siliconmitus,sm5703-regulator.yaml | 48 ++++++
MAINTAINERS | 8 +
drivers/mfd/Kconfig | 12 ++
drivers/mfd/Makefile | 1 +
drivers/mfd/sm5703.c | 81 +++++++++
drivers/regulator/Kconfig | 7 +
drivers/regulator/Makefile | 1 +
drivers/regulator/sm5703-regulator.c | 162 ++++++++++++++++++
include/linux/mfd/sm5703.h | 105 ++++++++++++
10 files changed, 516 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/siliconmitus,sm5703.yaml
create mode 100644 Documentation/devicetree/bindings/regulator/siliconmitus,sm5703-regulator.yaml
create mode 100644 drivers/mfd/sm5703.c
create mode 100644 drivers/regulator/sm5703-regulator.c
create mode 100644 include/linux/mfd/sm5703.h

--
2.35.1