Add support for the ROHM BD73800 PMIC and compatibles. The ROHM BD73800 is a power management IC which integrates 8 BUCKs and 4 LDOs. There is also an ADC and operation amplifier intended for current / temperature measurement and accumulation. RTC and 32.768 kHz clock gate are also included. The PMIC can be customized via OTP and it has options for operating as a main PMIC in multi-PMIC installation. Some of the pins can also be used for GPO or GPI (including interrupt support). There are also ROHM BD71851 and BD71885 PMICs out there. These are, from the SW-perspective, similar to the BD73800. There is only some different default values and OTP settings. The driver should be able to handle them just fine. Oh, finally - there is absolutely no rush reviewing this. I am likely to be (mostly) offline for (at least) 3 weeks. So please, take your time, I probably will spin the next version only somewhere at August. --- Matti Vaittinen (8): dt-bindings: regulator: ROHM BD73800 regulators dt-bindings: mfd: ROHM BD73800 PMIC mfd: Support for ROHM BD73800 PMIC core rtc: bd70528: Support RTC on ROHM BD73800 regulator: bd71828: Support ROHM BD73800 clk: bd718x7: Support ROHM BD73800 gpio: bd73800: Support ROHM BD73800 PMIC GPIOs MAINTAINERS: Add ROHM BD73800 PMIC files .../bindings/mfd/rohm,bd73800-pmic.yaml | 229 ++++++++ .../regulator/rohm,bd73800-regulator.yaml | 119 ++++ MAINTAINERS | 2 + drivers/clk/clk-bd718x7.c | 8 + drivers/gpio/Kconfig | 11 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio-bd73800.c | 234 ++++++++ drivers/mfd/Kconfig | 15 +- drivers/mfd/rohm-bd71828.c | 145 ++++- drivers/regulator/Kconfig | 4 +- drivers/regulator/bd71828-regulator.c | 555 +++++++++++++++++- drivers/rtc/rtc-bd70528.c | 8 + include/linux/mfd/rohm-bd73800.h | 307 ++++++++++ include/linux/mfd/rohm-generic.h | 1 + 14 files changed, 1629 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/rohm,bd73800-pmic.yaml create mode 100644 Documentation/devicetree/bindings/regulator/rohm,bd73800-regulator.yaml create mode 100644 drivers/gpio/gpio-bd73800.c create mode 100644 include/linux/mfd/rohm-bd73800.h base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482 -- 2.54.0