[PATCH v2 0/7] Add support for Maxim 77663 MFD

Dmitry Osipenko
2019-04-22T19:18:54Z

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:

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 (7):
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: Support device-tree properly
mfd: max77620: Provide system power-off functionality

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

--
2.21.0