Message ID | 20241119032304.23588-1-kimseer.paller@analog.com (mailing list archive) |
---|---|
State | Handled Elsewhere, archived |
Headers | show |
Series | [v3,1/2] dt-bindings: power/supply: Add ltc4162-f/s and ltc4015 | expand |
On Tue, Nov 19, 2024 at 11:23:03AM +0800, Kim Seer Paller wrote: > 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 Keep alphabetical order. I assume these are not compatible. Best regards, Krzysztof
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
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(+) base-commit: 05d9044177c3e910921522e0209640d3b825a6ae