Lines Matching +full:over +full:- +full:current
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
14 In smart batteries, these are typically stored in non-volatile memory
16 no appropriate non-volatile memory, or it is unprogrammed/incorrect.
27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle.
28 The phandle's property should be named "monitored-battery".
32 const: simple-battery
34 device-chemistry:
37 - const: nickel-cadmium
38 - const: nickel-metal-hydride
39 - const: lithium-ion
40 description: This is a blanket type for all lithium-ion batteries,
44 - const: lithium-ion-polymer
45 - const: lithium-ion-iron-phosphate
46 - const: lithium-ion-manganese-oxide
48 over-voltage-threshold-microvolt:
49 description: battery over-voltage limit
51 re-charge-voltage-microvolt:
54 voltage-min-design-microvolt:
57 voltage-max-design-microvolt:
60 energy-full-design-microwatt-hours:
63 charge-full-design-microamp-hours:
66 trickle-charge-current-microamp:
67 description: current for trickle-charge phase
69 precharge-current-microamp:
70 description: current for pre-charge phase
72 precharge-upper-limit-microvolt:
75 charge-term-current-microamp:
76 description: current for charge termination phase
78 constant-charge-current-max-microamp:
79 description: maximum constant input current
81 constant-charge-voltage-max-microvolt:
84 factory-internal-resistance-micro-ohms:
87 resistance-temp-table:
88 $ref: /schemas/types.yaml#/definitions/uint32-matrix
91 - description: the temperature in degree Celsius
92 - description: battery internal resistance percent
96 look up the resistance percent according to current temperature to get an
99 ocv-capacity-celsius:
104 operating-range-celsius:
107 - description: minimum temperature at which battery can operate
108 - description: maximum temperature at which battery can operate
110 ambient-celsius:
113 - description: alert when ambient temperature is lower than this value
114 - description: alert when ambient temperature is higher than this value
116 alert-celsius:
119 - description: alert when battery temperature is lower than this value
120 - description: alert when battery temperature is higher than this value
123 - compatible
126 '^ocv-capacity-table-[0-9]+$':
127 $ref: /schemas/types.yaml#/definitions/uint32-matrix
131 to look up battery capacity according to current OCV value. And the open
136 - description: open circuit voltage (OCV) in microvolts
137 - description: battery capacity percent
143 - |
145 #address-cells = <1>;
146 #size-cells = <0>;
149 compatible = "simple-battery";
150 over-voltage-threshold-microvolt = <4500000>;
151 re-charge-voltage-microvolt = <250000>;
152 voltage-min-design-microvolt = <3200000>;
153 voltage-max-design-microvolt = <4200000>;
154 energy-full-design-microwatt-hours = <5290000>;
155 charge-full-design-microamp-hours = <1430000>;
156 precharge-current-microamp = <256000>;
157 precharge-upper-limit-microvolt = <2500000>;
158 charge-term-current-microamp = <128000>;
159 constant-charge-current-max-microamp = <900000>;
160 constant-charge-voltage-max-microvolt = <4200000>;
161 factory-internal-resistance-micro-ohms = <250000>;
162 ocv-capacity-celsius = <(-10) 0 10>;
163 /* table for -10 degree Celsius */
164 ocv-capacity-table-0 = <4185000 100>, <4113000 95>, <4066000 90>;
166 ocv-capacity-table-1 = <4200000 100>, <4185000 95>, <4113000 90>;
168 ocv-capacity-table-2 = <4250000 100>, <4200000 95>, <4185000 90>;
169 resistance-temp-table = <20 100>, <10 90>, <0 80>, <(-10) 60>;
170 operating-range-celsius = <(-30) 50>;
171 ambient-celsius = <(-5) 50>;
172 alert-celsius = <0 40>;
177 monitored-battery = <&battery>;
180 fuel-gauge@22 {
182 monitored-battery = <&battery>;