Lines Matching +full:usb +full:- +full:misc +full:- +full:reg

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-lbc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nikita Travkin <nikita@trvn.ru>
17 - $ref: power-supply.yaml#
21 const: qcom,pm8916-lbc
23 reg:
25 - description: Charger
26 - description: Battery
27 - description: USB
28 - description: MISC
30 reg-names:
32 - const: chgr
33 - const: bat_if
34 - const: usb
35 - const: misc
39 - description: Battery detection
40 - description: Fast charging
41 - description: Charging failed
42 - description: Charging done
43 - description: Battery present
44 - description: Battery temperature OK
45 - description: USB coarse detection
46 - description: USB IN valid
47 - description: Charger gone
48 - description: Overtemperature
50 interrupt-names:
52 - const: vbat_det
53 - const: fast_chg
54 - const: chg_fail
55 - const: chg_done
56 - const: bat_pres
57 - const: temp_ok
58 - const: coarse_det
59 - const: usb_vbus
60 - const: chg_gone
61 - const: overtemp
63 qcom,fast-charge-safe-voltage:
68 Maximum safe battery voltage in uV; May be pre-set by bootloader,
71 qcom,fast-charge-safe-current:
76 Maximum safe battery charge current in uA; May be pre-set by
79 monitored-battery: true
82 - compatible
83 - reg
84 - interrupts
85 - interrupt-names
86 - qcom,fast-charge-safe-voltage
87 - qcom,fast-charge-safe-current
92 - |
93 #include <dt-bindings/interrupt-controller/irq.h>
95 #address-cells = <1>;
96 #size-cells = <0>;
99 compatible = "qcom,pm8916-lbc";
100 reg = <0x1000>, <0x1200>, <0x1300>, <0x1600>;
101 reg-names = "chgr", "bat_if", "usb", "misc";
113 interrupt-names = "vbat_det",
123 monitored-battery = <&battery>;
125 qcom,fast-charge-safe-current = <900000>;
126 qcom,fast-charge-safe-voltage = <4300000>;