devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add Richtek RT9467 5A Battery Charger support
@ 2022-09-29 10:37 ChiaEn Wu
  2022-09-29 10:37 ` [PATCH 1/2] dt-bindings: power: supply: Add Richtek RT9467 battery charger ChiaEn Wu
  2022-09-29 10:37 ` [PATCH 2/2] power: supply: rt9467: Add Richtek RT9467 charger driver ChiaEn Wu
  0 siblings, 2 replies; 6+ messages in thread
From: ChiaEn Wu @ 2022-09-29 10:37 UTC (permalink / raw)
  To: sre, robh+dt, krzysztof.kozlowski+dt
  Cc: chiaen_wu, cy_huang, devicetree, linux-kernel, linux-pm

From: ChiaEn Wu <chiaen_wu@richtek.com>

This patch set is to add Richtek RT9467 5A Battery Charger support.

RT9467 is a switch-mode single cell Li-Ion/Li-Polymer battery charger
for portable applications.

It integrates a synchronous PWM controller, power MOSFETs,
input current sensing and regulation, high-accuracy voltage regulation,
and charge termination. The charge current is regulated through
integrated sensing resistors.

The RT9467 also features USB On-The-Go (OTG) support. It also integrates
D+/D- pin for USB host/charging port detection.

This charger driver is based on a 'linear_ranger' queued patch which adds
'LINEAR_RANGE_IDX' macro for declaring the linear_range struct simply.
https://lore.kernel.org/all/20220920161218.dkkfvfomrruebahi@mercury.elektranox.org/

Thank you,
ChiaEn Wu

ChiaEn Wu (2):
  dt-bindings: power: supply: Add Richtek RT9467 battery charger
  power: supply: rt9467: Add Richtek RT9467 charger driver

 .../power/supply/richtek,rt9467-charger.yaml       |   83 ++
 drivers/power/supply/Kconfig                       |   19 +
 drivers/power/supply/Makefile                      |    1 +
 drivers/power/supply/rt9467-charger.c              | 1239 ++++++++++++++++++++
 4 files changed, 1342 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/supply/richtek,rt9467-charger.yaml
 create mode 100644 drivers/power/supply/rt9467-charger.c

-- 
2.7.4


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

end of thread, other threads:[~2022-09-30  2:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-29 10:37 [PATCH 0/2] Add Richtek RT9467 5A Battery Charger support ChiaEn Wu
2022-09-29 10:37 ` [PATCH 1/2] dt-bindings: power: supply: Add Richtek RT9467 battery charger ChiaEn Wu
2022-09-29 11:31   ` Krzysztof Kozlowski
2022-09-29 10:37 ` [PATCH 2/2] power: supply: rt9467: Add Richtek RT9467 charger driver ChiaEn Wu
2022-09-29 12:33   ` kernel test robot
2022-09-30  2:26   ` kernel test robot

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).