Add Texas Instruments BQ25703A Charger
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest5 patches 7 repliesApplied
- v75 patches 1 replySuperseded
- v65 patches 3 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 5 patches | 3 replies | Superseded | |
| v4 | 5 patches | 4 replies | Superseded | |
| v3 | 5 patches | 8 replies | Superseded | |
| v2 | 5 patches | 2 replies | Superseded | |
| v1 RFC | 5 patches | 7 replies | Superseded |
Changes in v8 from the cover letter
- Changed regmap cache type in mfd to REGCACHE_MAPLE.
- Corrected mfd_cell struct location.
- Added whitespace for readability.
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: mfd: ti,bq25703a: Add TI BQ25703A ChargerDocumentation/ | +117 | 0 replies | |
| 2/5 | mfd: bq257xx: Add support for BQ25703A core driverdrivers/ drivers/ drivers/ +1 more | +215 | 0 replies | |
| 3/5 | power: supply: bq257xx: Add support for BQ257XX chargerdrivers/ drivers/ drivers/ | +763 | 0 replies | |
| 4/5 | regulator: bq257xx: Add bq257xx boost regulator driverdrivers/ drivers/ drivers/ | +195 | 0 replies | |
| 5/5 | arm64: dts: rockchip: Add USB and charger to Gameforce Acearch/ | +122 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Sebastian Reichel | Mark Brown |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | |||
| 3/5 | R-b | ||
| 4/5 | R-b | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v8 0/5] Add Texas Instruments BQ25703A Charger
From: Chris Morgan <[email protected]>
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.
Changes since V3
- Changed name of regulator from usb_otg_vbus to just vbus to align with datasheet.
- Additional cleanup of the device tree documentation.
Changes since V4
- Replaced instances of dev_err followed by a return in the probe functions with a return of dev_err_probe instead.
- Simplified cell definition of main driver for probe.
- Updated copyright year to 2025 on copyright strings.
Changes since V5
- Removed erroneous Reviewed-by tag from mfd patch.
- Made mfd_cells static const in mfd probe function.
- Removed unneeded enum from header file.
Changes since V6
- Fixed https://lore.kernel.org/all/[email protected]/
by explicitly setting the register in question to 0 and adding a note to describe the change.
- Fixed https://lore.kernel.org/all/[email protected]/
by changing an IS_ERR_OR_NULL() to just an IS_ERR().
- Fixed https://lore.kernel.org/all/[email protected]/
by removing the uninitalized variable in question which is not needed.
Changes since V7:
- Changed regmap cache type in mfd to REGCACHE_MAPLE.
- Corrected mfd_cell struct location.
- Added whitespace for readability.
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 | 117 +++ .../dts/rockchip/rk3588s-gameforce-ace.dts | 122 +++ drivers/mfd/Kconfig | 11 + drivers/mfd/Makefile | 1 + drivers/mfd/bq257xx.c | 99 +++ drivers/power/supply/Kconfig | 7 + drivers/power/supply/Makefile | 1 + drivers/power/supply/bq257xx_charger.c | 755 ++++++++++++++++++ drivers/regulator/Kconfig | 8 + drivers/regulator/Makefile | 1 + drivers/regulator/bq257xx-regulator.c | 186 +++++ include/linux/mfd/bq257xx.h | 104 +++ 12 files changed, 1412 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
Signature · 1 line
2.43.0