xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/samsung,battery.yaml (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/power/supply/samsung,battery.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: Samsung SDI Batteries
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotmaintainers:
10*8cc087a1SEmmanuel Vadot  - Linus Walleij <linus.walleij@linaro.org>
11*8cc087a1SEmmanuel Vadot
12*8cc087a1SEmmanuel Vadotdescription: |
13*8cc087a1SEmmanuel Vadot  Samsung SDI (Samsung Digital Interface) batteries are all different versions
14*8cc087a1SEmmanuel Vadot  of lithium ion chemistry devices used for mobile phones, laptops and other
15*8cc087a1SEmmanuel Vadot  portable electronics. The batteries are adapted to a specific product and
16*8cc087a1SEmmanuel Vadot  the physical restrictions make it impossible to use another battery with the
17*8cc087a1SEmmanuel Vadot  product, so product device trees can specify these batteries. Operating
18*8cc087a1SEmmanuel Vadot  systems should determine hardware characteristics of the batteries from the
19*8cc087a1SEmmanuel Vadot  compatible string.
20*8cc087a1SEmmanuel Vadot
21*8cc087a1SEmmanuel Vadotproperties:
22*8cc087a1SEmmanuel Vadot  compatible:
23*8cc087a1SEmmanuel Vadot    oneOf:
24*8cc087a1SEmmanuel Vadot      - const: samsung,eb-l1m7flu
25*8cc087a1SEmmanuel Vadot        description: 3.8V 1500 mAh battery used in Samsung GT-I8190
26*8cc087a1SEmmanuel Vadot      - const: samsung,eb425161la
27*8cc087a1SEmmanuel Vadot        description: 3.8V 1500 mAh battery used in Samsung SGH-T599 and SGH-I407
28*8cc087a1SEmmanuel Vadot      - const: samsung,eb425161lu
29*8cc087a1SEmmanuel Vadot        description: 3.8V 1500 mAh battery used in Samsung GT-I8160
30*8cc087a1SEmmanuel Vadot      - const: samsung,eb485159lu
31*8cc087a1SEmmanuel Vadot        description: 3.8V 1700 mAh battery used in Samsung GT-S7710
32*8cc087a1SEmmanuel Vadot      - const: samsung,eb535151vu
33*8cc087a1SEmmanuel Vadot        description: 3.8V 1500 mAh battery used in Samsung GT-I9070
34*8cc087a1SEmmanuel Vadot      - const: samsung,eb585157lu
35*8cc087a1SEmmanuel Vadot        description: 3.8V 2000 mAh battery used in Samsung GT-I8530
36*8cc087a1SEmmanuel Vadot
37*8cc087a1SEmmanuel Vadotrequired:
38*8cc087a1SEmmanuel Vadot  - compatible
39*8cc087a1SEmmanuel Vadot
40*8cc087a1SEmmanuel VadotadditionalProperties: false
41*8cc087a1SEmmanuel Vadot
42*8cc087a1SEmmanuel Vadotexamples:
43*8cc087a1SEmmanuel Vadot  - |
44*8cc087a1SEmmanuel Vadot    power {
45*8cc087a1SEmmanuel Vadot      #address-cells = <1>;
46*8cc087a1SEmmanuel Vadot      #size-cells = <0>;
47*8cc087a1SEmmanuel Vadot
48*8cc087a1SEmmanuel Vadot      battery: battery {
49*8cc087a1SEmmanuel Vadot        compatible = "samsung,eb425161la";
50*8cc087a1SEmmanuel Vadot      };
51*8cc087a1SEmmanuel Vadot
52*8cc087a1SEmmanuel Vadot      charger@11 {
53*8cc087a1SEmmanuel Vadot        reg = <0x11>;
54*8cc087a1SEmmanuel Vadot        monitored-battery = <&battery>;
55*8cc087a1SEmmanuel Vadot      };
56*8cc087a1SEmmanuel Vadot    };
57