[PATCH v2 0/3] power: supply: bq27xxx: add bq27z746

Henrik Grimler posted 3 patches 1 month, 1 week ago
Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 2 +-
drivers/power/supply/bq27xxx_battery.c                      | 6 ++++++
drivers/power/supply/bq27xxx_battery_i2c.c                  | 2 ++
include/linux/power/bq27xxx_battery.h                       | 1 +
4 files changed, 10 insertions(+), 1 deletion(-)
[PATCH v2 0/3] power: supply: bq27xxx: add bq27z746
Posted by Henrik Grimler 1 month, 1 week ago
bq27z746 is similar to bq27z561 but with additional protection
functionality. The standard register set is identical, but the
extended registers accessed through AltManufacturerAccess has
differences.

While working on the series I also noticed that bq27z561 supports
interrupts, but the dt binding marks it as unsupported. Fix while at
it.
    
For reference the TRMs for the affected bq chips can be found at these
direct links:

- bq27z746:  https://ti.com/lit/ug/sluuca6/sluuca6.pdf
- bq27z561:  https://ti.com/lit/ug/sluubo7/sluubo7.pdf

Signed-off-by: Henrik Grimler <henrik.grimler@axis.com>
---
Changes in v2:
- Rebase and drop applied patches
- Add patch to add interrupt support for bq27z561, issue found thanks
  to that Sashiko commented on it
- Describe differences between bq27z746 and bq27z561 in more detail
- Link to v1: https://lore.kernel.org/r/20260811-bq27z746-v1-0-3a4fa38205cc@axis.com

---
Henrik Grimler (3):
      dt-bindings: power: bq27xxx: bq27z561: allow interrupts property
      dt-bindings: power: bq27xxx: document bq27z746
      power: supply: bq27xxx: add support for bq27z746

 Documentation/devicetree/bindings/power/supply/bq27xxx.yaml | 2 +-
 drivers/power/supply/bq27xxx_battery.c                      | 6 ++++++
 drivers/power/supply/bq27xxx_battery_i2c.c                  | 2 ++
 include/linux/power/bq27xxx_battery.h                       | 1 +
 4 files changed, 10 insertions(+), 1 deletion(-)
---
base-commit: 2da28b059e0ddcd2e1956eeae383246207965573
change-id: 20260709-bq27z746-8dc4c2ec0948

Best regards,
-- 
Henrik Grimler <henrik.grimler@axis.com>
Re: [PATCH v2 0/3] power: supply: bq27xxx: add bq27z746
Posted by Sebastian Reichel 2 weeks, 4 days ago
On Tue, 18 Aug 2026 11:48:19 +0200, Henrik Grimler wrote:
> bq27z746 is similar to bq27z561 but with additional protection
> functionality. The standard register set is identical, but the
> extended registers accessed through AltManufacturerAccess has
> differences.
> 
> While working on the series I also noticed that bq27z561 supports
> interrupts, but the dt binding marks it as unsupported. Fix while at
> it.
> 
> [...]

Applied, thanks!

[1/3] dt-bindings: power: bq27xxx: bq27z561: allow interrupts property
      commit: b7f6f24bdd4a089fd33b7a2b13ff291d89b86b60
[2/3] dt-bindings: power: bq27xxx: document bq27z746
      commit: 0105a07b43a912392f56e3ad3255f907df0c17ce
[3/3] power: supply: bq27xxx: add support for bq27z746
      commit: 608f8932f9da62720c1dd181f0ca9f9d06372d89

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>