Lines Matching +full:cm +full:- +full:chargers

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
18 const: charger-manager
20 cm-chargers:
21 description: name of chargers
22 $ref: /schemas/types.yaml#/definitions/string-array
24 cm-num-chargers:
28 cm-fuel-gauge:
32 cm-name:
37 cm-poll-mode:
42 - 0 # disabled
43 - 1 # always
44 - 2 # when external power is connected
45 - 3 # when charging
47 cm-poll-interval:
51 cm-battery-stat:
55 - 0 # battery always present
56 - 1 # no battery
57 - 2 # check presence via fuel gauge
58 - 3 # check presence via charger
60 cm-fullbatt-vchkdrop-volt:
64 cm-fullbatt-vchkdrop-ms:
67 cm-fullbatt-voltage:
71 cm-fullbatt-soc:
75 cm-fullbatt-capacity:
79 cm-thermal-zone:
83 cm-discharging-max:
87 cm-charging-max:
91 cm-battery-cold:
92 description: critical cold temperature of battery for charging in deci-degree celsius
95 cm-battery-cold-in-minus:
96 description: if set cm-battery-cold temperature is in minus degrees
99 cm-battery-hot:
100 description: critical hot temperature of battery for charging in deci-degree celsius
103 cm-battery-temp-diff:
104 description: temperature difference to allow recharging in deci-degree celsius
108 "-supply$":
109 description: regulator consumer, named according to cm-regulator-name
112 "^regulator[@-][0-9]$":
115 cm-regulator-name:
120 - cm-regulator-name
125 "^cable[@-][0-9]$":
128 cm-cable-name:
131 - USB
132 - USB-HOST
133 - SDP
134 - DCP
135 - CDP
136 - ACA
137 - FAST-CHARGER
138 - SLOW-CHARGER
139 - WPT
140 - PD
141 - DOCK
142 - JIG
143 - MECHANICAL
145 cm-cable-extcon:
149 cm-cable-min:
153 cm-cable-max:
158 - cm-cable-name
159 - cm-cable-extcon
164 - compatible
165 - cm-chargers
166 - cm-fuel-gauge
171 - |
172 charger-manager {
173 compatible = "charger-manager";
174 chg-reg-supply = <&charger_regulator>;
176 cm-name = "battery";
178 cm-poll-mode = <1>;
179 cm-poll-interval = <30000>;
181 cm-fullbatt-vchkdrop-volt = <150000>;
182 cm-fullbatt-soc = <100>;
184 cm-battery-stat = <3>;
186 cm-chargers = "charger0", "charger1", "charger2";
188 cm-fuel-gauge = "fuelgauge0";
190 cm-thermal-zone = "thermal_zone.1";
192 cm-battery-cold = <50>;
193 cm-battery-cold-in-minus;
194 cm-battery-hot = <800>;
195 cm-battery-temp-diff = <100>;
198 cm-charging-max = <18000000>;
200 cm-discharging-max = <7200000>;
202 regulator-0 {
203 cm-regulator-name = "chg-reg";
204 cable-0 {
205 cm-cable-name = "USB";
206 cm-cable-extcon = "extcon-dev.0";
207 cm-cable-min = <475000>;
208 cm-cable-max = <500000>;
210 cable-1 {
211 cm-cable-name = "SDP";
212 cm-cable-extcon = "extcon-dev.0";
213 cm-cable-min = <650000>;
214 cm-cable-max = <675000>;