[v2,0/7] Add support for Maxim 77663 MFD
mbox series

Message ID 20190422191350.27527-1-digetx@gmail.com
Headers show
  • Add support for Maxim 77663 MFD
Related show


Dmitry Osipenko April 22, 2019, 7:13 p.m. UTC

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.


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

    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(-)