Hey folks, This patchset adds support for the s2mps16 pmic, used on devices like the Samsung Galaxy S7, S7 edge and the Note 7. It is still wired over I2C, unlike newer exynoses, but also can be communicated with via APM, support for which is not done (and probably will never be, as it's pretty much useless). The order of patches is important, hence why I've not split it into subsystems. Patch 1/7 should go before patch 2/7, as 2/7 includes the file made at 1/7. The rest can be applied without a specific order. Thanks! Best regards, Ivaylo Ivaylo Ivanov (7): regulator: dt-bindings: add documentation for s2mps16-pmic regulators dt-bindings: mfd: samsung,s2mps11: add compatible for s2mps16-pmic dt-bindings: clock: samsung,s2mps11: document the S2MPS16 compatible mfd: sec: add support for s2mps16 pmic clk: s2mps11: add the support for S2MPS16 PMIC clock rtc: s5m: add support for S2MPS16 RTC regulator: s2mps11: add support for S2MPS16 regulators .../bindings/clock/samsung,s2mps11.yaml | 3 +- .../bindings/mfd/samsung,s2mps11.yaml | 17 +- .../bindings/regulator/samsung,s2mps16.yaml | 50 +++++ drivers/clk/clk-s2mps11.c | 8 + drivers/mfd/sec-common.c | 10 + drivers/mfd/sec-i2c.c | 16 ++ drivers/mfd/sec-irq.c | 46 +++++ drivers/regulator/Kconfig | 4 +- drivers/regulator/s2mps11.c | 147 +++++++++++++ drivers/rtc/rtc-s5m.c | 16 ++ include/linux/mfd/samsung/core.h | 1 + include/linux/mfd/samsung/irq.h | 66 ++++++ include/linux/mfd/samsung/s2mps16.h | 195 ++++++++++++++++++ 13 files changed, 574 insertions(+), 5 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps16.yaml create mode 100644 include/linux/mfd/samsung/s2mps16.h -- 2.43.0