|
|
Log in / Subscribe / Register

Introduce MAX77759 charger driver

From:  Amit Sunil Dhamne via B4 Relay <devnull+amitsd.google.com-AT-kernel.org>
To:  Sebastian Reichel <sre-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>, AndrĂ© Draszik <andre.draszik-AT-linaro.org>, Lee Jones <lee-AT-kernel.org>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Badhri Jagan Sridharan <badhri-AT-google.com>, Heikki Krogerus <heikki.krogerus-AT-linux.intel.com>, Peter Griffin <peter.griffin-AT-linaro.org>, Tudor Ambarus <tudor.ambarus-AT-linaro.org>, Alim Akhtar <alim.akhtar-AT-samsung.com>
Subject:  [PATCH 0/6] Introduce MAX77759 charger driver
Date:  Sun, 23 Nov 2025 08:35:47 +0000
Message-ID:  <20251123-max77759-charger-v1-0-6b2e4b8f7f54@google.com>
Cc:  linux-kernel-AT-vger.kernel.org, linux-pm-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-usb-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-samsung-soc-AT-vger.kernel.org, RD Babiera <rdbabiera-AT-google.com>, Kyle Tso <kyletso-AT-google.com>, Amit Sunil Dhamne <amitsd-AT-google.com>
Archive-link:  Article

MAX77759 PMIC is used in Pixel 6 and 6 Pro (Oriole/Raven) boards.
One of the functions of the MAX77759 PMIC is a battery charger. This
patchset introduces a driver for this function. One of the unique
features of this charger driver is that it works with a USB input where
the Type-C controller is TCPCI based.

Changes to the board files will follow soon once this patchset is reviewed.

For reference to the MAX77759 MFD based patchset (present in upstream):
https://lore.kernel.org/all/20250509-max77759-mfd-v10-0-9...

Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
---
Amit Sunil Dhamne (6):
      dt-bindings: power: supply: Add Maxim MAX77759 charger
      dt-bindings: mfd: maxim,max77759: add charger child node
      dt-bindings: usb: maxim,max33359: Add supply property for VBUS in OTG mode
      mfd: max77759: modify irq configs
      power: supply: max77759: add charger driver
      usb: typec: tcpm/tcpci_maxim: deprecate WAR for setting charger mode

 .../devicetree/bindings/mfd/maxim,max77759.yaml    |  12 +
 .../power/supply/maxim,max77759-charger.yaml       |  36 +
 .../devicetree/bindings/usb/maxim,max33359.yaml    |   4 +
 MAINTAINERS                                        |   7 +
 drivers/mfd/max77759.c                             |  27 +-
 drivers/power/supply/Kconfig                       |  11 +
 drivers/power/supply/Makefile                      |   1 +
 drivers/power/supply/max77759_charger.c            | 866 +++++++++++++++++++++
 drivers/usb/typec/tcpm/tcpci_maxim.h               |   1 +
 drivers/usb/typec/tcpm/tcpci_maxim_core.c          |  48 +-
 include/linux/mfd/max77759.h                       |   9 +
 11 files changed, 999 insertions(+), 23 deletions(-)
---
base-commit: 39f90c1967215375f7d87b81d14b0f3ed6b40c29
change-id: 20251105-max77759-charger-852b626d661a

Best regards,
-- 
Amit Sunil Dhamne <amitsd@google.com>





Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds