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) ...). Cc: Matti Vaittinen <mazziesaccount@xxxxxxxxx> 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 v4: mfd bindings: - drop the -mfd in the compatible - change reference path to the regulator yaml to an absolute one - use -gpios for the reset GPIO - make reset-gpios a required property - correct the example node name - correct the example compatible regulator bindings: - add unevaluatedProperties: false to all four types of regulators v5: mfd driver: - depend on OF for the SM5703 MFD (Kconfig) - correct the compatible in the MFD driver - remove the compatible of -regulators in the struct mfd_cell* mfd bindings: - adjust the example for regulators {} node - include GPIO header in the example - indent the example properly - adjust the example for the voltage regulators being fixed regulator bindings: - remove the compatible - refer to regulators.yaml regulator driver: - add a separate ops for fixed voltage regulators (to avoid kernel WARN) - set the config.dev to dev->parent to probe from parent OF node - (Kconfig) SM5703_MFD -> MFD_SM5703 fix typo - Add a patch to avoid driver name conflicts in SM5502 extcon driver 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