Lines Matching +full:usb +full:- +full:charger
1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pmi8998-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMI8998/PM660 Switch-Mode Battery Charger "2"
10 - Caleb Connolly <caleb.connolly@linaro.org>
15 - qcom,pmi8998-charger
16 - qcom,pm660-charger
24 interrupt-names:
26 - const: usb-plugin
27 - const: bat-ov
28 - const: wdog-bark
29 - const: usbin-icl-change
31 io-channels:
33 - description: USB in current in uA
34 - description: USB in voltage in uV
36 io-channel-names:
38 - const: usbin_i
39 - const: usbin_v
41 monitored-battery:
42 description: phandle to the simple-battery node
46 - compatible
47 - reg
48 - interrupts
49 - interrupt-names
50 - io-channels
51 - io-channel-names
52 - monitored-battery
57 - |
58 #include <dt-bindings/interrupt-controller/irq.h>
61 #address-cells = <1>;
62 #size-cells = <0>;
64 charger@1000 {
65 compatible = "qcom,pmi8998-charger";
72 interrupt-names = "usb-plugin", "bat-ov", "wdog-bark", "usbin-icl-change";
74 io-channels = <&pmi8998_rradc 3>,
76 io-channel-names = "usbin_i",
79 monitored-battery = <&battery>;