mbox series

[v6,0/2] Add support for ltc4162-f/s and ltc4015

Message ID 20241213023746.34168-1-kimseer.paller@analog.com (mailing list archive)
Headers show
Series Add support for ltc4162-f/s and ltc4015 | expand

Message

Kim Seer Paller Dec. 13, 2024, 2:37 a.m. UTC
This patch series adds support for:
  * LTC4162-F 35V/3.2A Multi-Cell LiFePO4 Step-Down Battery Charger
  * LTC4162-S 35V/3.2A Lead-Acid Step-Down Battery Charger
  * LTC4015 35V/3.2A Multichemistry Buck Battery Charger Controller

The LTC4162-L/F/S variants and LTC4015 share a common set of registers. The
difference lies in the resolution value of the scaling factor for battery
voltage and battery current measurement, input voltage, and input current for
different battery chemistries. The difference also includes the calculation of
setting and getting the actual voltage setting applied to the charge voltage,
as well as getting the die temperature.

changes in v6:
ltc4162:
  - Changed ibat_resolution_uv and vin_resolution_mv to ibat_resolution_pv and
    vin_resolution_uv respectively to reflect correct units.

changes in v5:
bindings:
 - Add Acked-by tag from Krzysztof Kozlowski.

ltc4162:
  - No changes.

changes in v4:
 - Arranged compatible strings in alphabetical order.

changes in v3:
 - Described differences in the programming model between variants/devices in
   the commit message.

changes in v2:
 - Modified commit message describing differences between variants/devices.

Kim Seer Paller (2):
  dt-bindings: power/supply: Add ltc4162-f/s and ltc4015
  power/supply: Add support for ltc4162-f/s and ltc4015

 .../bindings/power/supply/ltc4162-l.yaml      |   6 +
 drivers/power/supply/ltc4162-l-charger.c      | 434 ++++++++++++++++--
 2 files changed, 389 insertions(+), 51 deletions(-)


base-commit: 5d417a5e7ade02a7b75cd886d8afe3e9025e7e25

Comments

Sebastian Reichel Dec. 13, 2024, 6:43 p.m. UTC | #1
On Fri, 13 Dec 2024 10:37:44 +0800, Kim Seer Paller wrote:
> This patch series adds support for:
>   * LTC4162-F 35V/3.2A Multi-Cell LiFePO4 Step-Down Battery Charger
>   * LTC4162-S 35V/3.2A Lead-Acid Step-Down Battery Charger
>   * LTC4015 35V/3.2A Multichemistry Buck Battery Charger Controller
> 
> The LTC4162-L/F/S variants and LTC4015 share a common set of registers. The
> difference lies in the resolution value of the scaling factor for battery
> voltage and battery current measurement, input voltage, and input current for
> different battery chemistries. The difference also includes the calculation of
> setting and getting the actual voltage setting applied to the charge voltage,
> as well as getting the die temperature.
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: power/supply: Add ltc4162-f/s and ltc4015
      commit: 649399c5dad9cd7a42fe7eb8a32c31627d35492d
[2/2] power/supply: Add support for ltc4162-f/s and ltc4015
      commit: 57e5a9a85bd03d8cc4992cb2e15ca23450e016c4

Best regards,