From: Alexey Charkov <alchark@flipper.net>
To: Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chris Morgan <macromorgan@hotmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Sebastian Reichel <sre@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Sebastian Reichel <sebastian.reichel@collabora.com>,
linux-pm@vger.kernel.org, Alexey Charkov <alchark@flipper.net>,
stable@vger.kernel.org
Subject: [PATCH 00/11] Add support for the TI BQ25792 battery charger
Date: Tue, 03 Mar 2026 19:32:45 +0400 [thread overview]
Message-ID: <20260303-bq25792-v1-0-e6e5e0033458@flipper.net> (raw)
This adds support for the TI BQ25792 battery charger, which is similar in
overall logic to the BQ25703A, but has a different register layout and
slightly different lower-level programming logic.
The series is organized as follows:
- Patch 1 adds the new variant to the existing DT binding, including the
changes in electrical characteristics
- Patches 2-4 are minor cleanups to the existing BQ25703A OTG regulator
driver, slimming down the code and making it more reusable for the new
BQ25792 variant
- Patch 5 is a logical fix to the BQ25703A clamping logic for VSYSMIN
(this is a standalone fix which can be applied independently and may be
backported to stable)
- Patches 6-8 are slight refactoring of the existing BQ25703A charger
driver to make it more reusable for the new BQ25792 variant
- Patch 9 adds platform data to distinguish between the two variants in
the parent MFD driver, and binds it to the new compatible string
- Patches 10-11 add variant-specific code to support the new BQ25792
variant in the regulator part and the charger part respectively,
selected by the platform data added in patch 9
Signed-off-by: Alexey Charkov <alchark@flipper.net>
---
Alexey Charkov (11):
dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792
regulator: bq257xx: Remove reference to the parent MFD's dev
regulator: bq257xx: Drop the regulator_dev from the driver data
regulator: bq257xx: Make OTG enable GPIO really optional
power: supply: bq257xx: Fix VSYSMIN clamping logic
power: supply: bq257xx: Make the default current limit a per-chip attribute
power: supply: bq257xx: Consistently use indirect get/set helpers
power: supply: bq257xx: Add fields for 'charging' and 'overvoltage' states
mfd: bq257xx: Add BQ25792 support
regulator: bq257xx: Add support for BQ25792
power: supply: bq257xx: Add support for BQ25792
.../devicetree/bindings/mfd/ti,bq25703a.yaml | 79 ++-
drivers/mfd/bq257xx.c | 60 ++-
drivers/power/supply/bq257xx_charger.c | 534 ++++++++++++++++++++-
drivers/regulator/bq257xx-regulator.c | 123 ++++-
include/linux/mfd/bq257xx.h | 415 ++++++++++++++++
5 files changed, 1163 insertions(+), 48 deletions(-)
---
base-commit: d517cb8cea012f43b069617fc8179b45404f8018
change-id: 20260303-bq25792-0132ac86846d
Best regards,
--
Alexey Charkov <alchark@flipper.net>
next reply other threads:[~2026-03-03 15:32 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 15:32 Alexey Charkov [this message]
2026-03-03 15:32 ` [PATCH 01/11] dt-bindings: mfd: ti,bq25703a: Expand to include BQ25792 Alexey Charkov
2026-03-03 16:26 ` Rob Herring (Arm)
2026-03-04 9:34 ` Alexey Charkov
2026-03-04 8:32 ` Krzysztof Kozlowski
2026-03-04 8:50 ` Alexey Charkov
2026-03-04 8:33 ` Krzysztof Kozlowski
2026-03-04 8:53 ` Alexey Charkov
2026-03-03 15:32 ` [PATCH 02/11] regulator: bq257xx: Remove reference to the parent MFD's dev Alexey Charkov
2026-03-03 15:32 ` [PATCH 03/11] regulator: bq257xx: Drop the regulator_dev from the driver data Alexey Charkov
2026-03-03 15:32 ` [PATCH 04/11] regulator: bq257xx: Make OTG enable GPIO really optional Alexey Charkov
2026-03-03 15:32 ` [PATCH 05/11] power: supply: bq257xx: Fix VSYSMIN clamping logic Alexey Charkov
2026-03-03 15:32 ` [PATCH 06/11] power: supply: bq257xx: Make the default current limit a per-chip attribute Alexey Charkov
2026-03-03 15:32 ` [PATCH 07/11] power: supply: bq257xx: Consistently use indirect get/set helpers Alexey Charkov
2026-03-03 15:32 ` [PATCH 08/11] power: supply: bq257xx: Add fields for 'charging' and 'overvoltage' states Alexey Charkov
2026-03-03 15:32 ` [PATCH 09/11] mfd: bq257xx: Add BQ25792 support Alexey Charkov
2026-03-06 14:15 ` Lee Jones
2026-03-09 7:39 ` Alexey Charkov
2026-03-03 15:32 ` [PATCH 10/11] regulator: bq257xx: Add support for BQ25792 Alexey Charkov
2026-03-03 15:32 ` [PATCH 11/11] power: supply: " Alexey Charkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260303-bq25792-v1-0-e6e5e0033458@flipper.net \
--to=alchark@flipper.net \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=macromorgan@hotmail.com \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
--cc=sre@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®