Lines Matching +full:charging +full:- +full:current
1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 debounce-ms:
32 description: USB/AC charging parameters
34 charger-type:
36 - ac
37 - usb
39 eoc-level:
47 charging-current:
52 Charging current with the following mapping:
57 - compatible
58 - reg
63 - |
64 #include <dt-bindings/interrupt-controller/irq.h>
66 #address-cells = <1>;
67 #size-cells = <0>;
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 */
85 charger-type = "usb";
86 eoc-level = /bits/ 8 <1>;
87 charging-current = /bits/ 8 <2>;