Lines Matching +full:usb +full:- +full:charger
1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI/National Semiconductor LP8727 Charger
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 debounce-ms:
29 '^(ac|usb)$':
32 description: USB/AC charging parameters
34 charger-type:
36 - ac
37 - usb
39 eoc-level:
47 charging-current:
57 - compatible
58 - reg
63 - |
64 #include <dt-bindings/interrupt-controller/irq.h>
66 #address-cells = <1>;
67 #size-cells = <0>;
69 lp8727: charger@27 {
72 interrupt-parent = <&gpio5>;
74 debounce-ms = <300>;
76 /* AC charger: 5% EOC and 500mA charging current */
78 charger-type = "ac";
79 eoc-level = /bits/ 8 <0>;
80 charging-current = /bits/ 8 <4>;
83 /* USB charger: 10% EOC and 400mA charging current */
84 usb {
85 charger-type = "usb";
86 eoc-level = /bits/ 8 <1>;
87 charging-current = /bits/ 8 <2>;