Lines Matching +full:bat +full:- +full:present
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8941-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Switch-Mode Battery Charger and Boost
10 - Sebastian Reichel <sre@kernel.org>
15 - qcom,pm8226-charger
16 - qcom,pm8941-charger
23 - description: charge done
24 - description: charge fast mode
25 - description: charge trickle mode
26 - description: battery temperature ok
27 - description: battery present
28 - description: charger disconnected
29 - description: USB-in valid
30 - description: DC-in valid
32 interrupt-names:
34 - const: chg-done
35 - const: chg-fast
36 - const: chg-trkl
37 - const: bat-temp-ok
38 - const: bat-present
39 - const: chg-gone
40 - const: usb-valid
41 - const: dc-valid
43 qcom,fast-charge-current-limit:
49 qcom,fast-charge-low-threshold-voltage:
55 Below this value linear or switch-mode auto-trickle-charging will operate.
57 qcom,fast-charge-high-threshold-voltage:
66 qcom,fast-charge-safe-voltage:
71 Maximum safe battery voltage in uV; May be pre-set by bootloader, in which case,
72 setting this will harmlessly fail. The property 'fast-charge-high-watermark' will
75 qcom,fast-charge-safe-current:
80 Maximum safe battery charge current in uA; May pre-set by bootloader, in which case,
81 setting this will harmlessly fail. The property 'qcom,fast-charge-current-limit'
84 qcom,auto-recharge-threshold-voltage:
89 Battery voltage limit in uV below which auto-recharge functionality will restart charging
90 after end-of-charge; The high cutoff limit for auto-recharge is 5% above this value.
93 qcom,minimum-input-voltage:
100 qcom,dc-current-limit:
107 qcom,disable-dc:
111 qcom,jeita-extended-temp-range:
120 usb-charge-current-limit:
127 usb-otg-in-supply:
130 otg-vbus:
136 this regulator comes from usb_otg_in-supply.
139 - compatible
140 - reg
141 - interrupts
142 - interrupt-names
147 - |
148 #include <dt-bindings/interrupt-controller/irq.h>
150 #address-cells = <1>;
151 #size-cells = <0>;
154 compatible = "qcom,pm8941-charger";
164 interrupt-names = "chg-done",
165 "chg-fast",
166 "chg-trkl",
167 "bat-temp-ok",
168 "bat-present",
169 "chg-gone",
170 "usb-valid",
171 "dc-valid";
172 qcom,fast-charge-current-limit = <1000000>;
173 qcom,dc-current-limit = <1000000>;
174 usb-otg-in-supply = <&pm8941_5vs1>;
176 otg-vbus {};