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