public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/2] dt-bindings: power/supply: Add ltc4162-f/s and ltc4015
@ 2024-11-19  3:23 Kim Seer Paller
  2024-11-19  3:23 ` [PATCH v3 2/2] power/supply: Add support for " Kim Seer Paller
  2024-11-20  8:12 ` [PATCH v3 1/2] dt-bindings: power/supply: Add " Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Kim Seer Paller @ 2024-11-19  3:23 UTC (permalink / raw)
  To: linux-pm, devicetree, linux-kernel
  Cc: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Mike Looijmans, Kim Seer Paller

Add LTC4162-F/S and LTC4015 to the supported devices of LTC4162-L.
They share a common set of registers. The only differences lie 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 differences also include the calculation of
setting and getting the actual voltage applied to the charge voltage,
as well as getting the die temperature.

This add compatible entries for ltc4162-f/s and ltc4015 and include
datasheets for new devices.

Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
---
V2 -> V3: Described differences in the programming model between variants/devices.
V1 -> V2: Modified commit message describing differences between
          variants/devices.

 .../devicetree/bindings/power/supply/ltc4162-l.yaml         | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml
index 29d536541..9b546150d 100644
--- a/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml
+++ b/Documentation/devicetree/bindings/power/supply/ltc4162-l.yaml
@@ -17,12 +17,18 @@ description: |
   panels, etc., and a rechargeable Lithium-Ion/Polymer battery.
 
   Specifications about the charger can be found at:
+    https://www.analog.com/en/products/ltc4162-l.html
+    https://www.analog.com/en/products/ltc4162-f.html
     https://www.analog.com/en/products/ltc4162-s.html
+    https://www.analog.com/en/products/ltc4015.html
 
 properties:
   compatible:
     enum:
       - lltc,ltc4162-l
+      - lltc,ltc4162-f
+      - lltc,ltc4162-s
+      - lltc,ltc4015
 
   reg:
     maxItems: 1

base-commit: 05d9044177c3e910921522e0209640d3b825a6ae
-- 
2.34.1


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

end of thread, other threads:[~2024-11-20  8:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19  3:23 [PATCH v3 1/2] dt-bindings: power/supply: Add ltc4162-f/s and ltc4015 Kim Seer Paller
2024-11-19  3:23 ` [PATCH v3 2/2] power/supply: Add support for " Kim Seer Paller
2024-11-20  8:12 ` [PATCH v3 1/2] dt-bindings: power/supply: Add " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox