linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/5] Add Texas Instruments BQ25703A Charger
@ 2025-06-23 16:22 Chris Morgan
  2025-06-23 16:22 ` [PATCH V3 1/5] dt-bindings: mfd: ti,bq25703a: Add TI " Chris Morgan
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Chris Morgan @ 2025-06-23 16:22 UTC (permalink / raw)
  To: linux-pm
  Cc: linux-rockchip, devicetree, broonie, lgirdwood, sre, heiko,
	conor+dt, krzk+dt, robh, lee, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

Add support for the Texas Instruments BQ25703A charger manager. The
device integrates a boost converter with the charger manager. This
series adds the device as an MFD with separate regulator and power
supply drivers. This allows us to manage a circular dependency with
a type-c port manager which depends on the regulator for usb-otg
but supplies power to the BQ25703A charger.

---
Changes since RFC
 - Corrected some minor issues with code and device-tree labels.
 - Replaced most of the manufacturer specific device-tree properties
   with monitored-battery properties.
Changes since V2
 - Added reference to power-supply.yaml and removed note for i2c
   address per recommendation from Sebastian.
 - Corrected documentation error for charger driver found by kernel
   test robot.
 - Corrected duplicate POWER_SUPPLY_USB_TYPE_PD entry and corrected
   ichg logic in power supply changed function.
 - Corrected missing linux/bitfield.h header in regulator driver found
   by kernel test robot.
---

Chris Morgan (5):
  dt-bindings: mfd: ti,bq25703a: Add TI BQ25703A Charger
  mfd: bq257xx: Add support for BQ25703A core driver
  power: supply: bq257xx: Add support for BQ257XX charger
  regulator: bq257xx: Add bq257xx boost regulator driver
  arm64: dts: rockchip: Add USB and charger to Gameforce Ace

 .../devicetree/bindings/mfd/ti,bq25703a.yaml  | 121 +++
 .../dts/rockchip/rk3588s-gameforce-ace.dts    | 122 +++
 drivers/mfd/Kconfig                           |  11 +
 drivers/mfd/Makefile                          |   1 +
 drivers/mfd/bq257xx.c                         | 104 +++
 drivers/power/supply/Kconfig                  |   7 +
 drivers/power/supply/Makefile                 |   1 +
 drivers/power/supply/bq257xx_charger.c        | 754 ++++++++++++++++++
 drivers/regulator/Kconfig                     |   8 +
 drivers/regulator/Makefile                    |   1 +
 drivers/regulator/bq257xx-regulator.c         | 189 +++++
 include/linux/mfd/bq257xx.h                   | 108 +++
 12 files changed, 1427 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/ti,bq25703a.yaml
 create mode 100644 drivers/mfd/bq257xx.c
 create mode 100644 drivers/power/supply/bq257xx_charger.c
 create mode 100644 drivers/regulator/bq257xx-regulator.c
 create mode 100644 include/linux/mfd/bq257xx.h

-- 
2.43.0


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-07-14 17:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 16:22 [PATCH V3 0/5] Add Texas Instruments BQ25703A Charger Chris Morgan
2025-06-23 16:22 ` [PATCH V3 1/5] dt-bindings: mfd: ti,bq25703a: Add TI " Chris Morgan
2025-06-23 20:19   ` Sebastian Reichel
2025-06-25  7:48   ` Krzysztof Kozlowski
2025-06-25 15:29     ` Chris Morgan
2025-06-26  9:28       ` Krzysztof Kozlowski
2025-06-23 16:22 ` [PATCH V3 2/5] mfd: bq257xx: Add support for BQ25703A core driver Chris Morgan
2025-07-02 15:02   ` Lee Jones
2025-07-14 17:04     ` Chris Morgan
2025-06-23 16:22 ` [PATCH V3 3/5] power: supply: bq257xx: Add support for BQ257XX charger Chris Morgan
2025-06-23 17:47   ` Sebastian Reichel
2025-06-23 16:22 ` [PATCH V3 4/5] regulator: bq257xx: Add bq257xx boost regulator driver Chris Morgan
2025-06-25 12:45   ` Mark Brown
2025-06-23 16:22 ` [PATCH V3 5/5] arm64: dts: rockchip: Add USB and charger to Gameforce Ace Chris Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).