[PATCH v3 0/6] Add support for Maxim 77663 MFD

From: Dmitry Osipenko
Date: Wed Apr 24 2019 - 18:49:45 EST


Hello,

This series adds support for the Maxim 77663 chip that provides PMIC, RTC,
GPIO and watchdog timer functionality. The hardware is very similar to the
Maxim 77620/20024 hardware units that are already supported by the kernel,
hence we will reuse the existing drivers for 77663. The GPIO, regulator,
RTC and watchdog timer functionality was tested on a Nexus 7 tablet that
has the Max77663 chip, everything is working perfectly fine. I'm looking
at upstreaming support for that tablet device and Max77663 is one of the
core components that are currently missing in the upstream kernel.

Changelog:

v3: Dropped "Support device-tree properly" patch since turned out that
I2C core takes care of the device-tree matching and I wasn't aware of
it.

v2: Added PINCTRL sub-device to Max77663 MFD as it looks compatible with
77620.

Added new "maxim,system-power-controller" OF property.

Patch "Support device-tree properly" now doesn't remove driver's
"id_table" since potentially it could have some use in the downstream
kernel forks and it doesn't hurt to keep it around.

Dmitry Osipenko (6):
mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
mfd: max77620: Support Maxim 77663
regulator: max77620: Support Maxim 77663
dt-bindings: mfd: max77620: Add compatible for Maxim 77663
dt-bindings: mfd: max77620: Add maxim,system-power-controller property
mfd: max77620: Provide system power-off functionality

.../devicetree/bindings/mfd/max77620.txt | 7 +-
drivers/mfd/max77620.c | 88 ++++++++++++++++++-
drivers/regulator/max77620-regulator.c | 26 +++++-
include/linux/mfd/max77620.h | 5 +-
4 files changed, 121 insertions(+), 5 deletions(-)

--
2.21.0