Lines Matching +full:charging +full:- +full:current

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
30 summit,enable-usb-charging:
32 description: Enable charging through USB.
34 summit,enable-otg-charging:
38 summit,enable-mains-charging:
40 description: Enable charging through mains
42 summit,enable-charge-control:
43 description: Enable charging control
46 - 0 # SMB3XX_CHG_ENABLE_SW SW (I2C interface)
47 - 1 # SMB3XX_CHG_ENABLE_PIN_ACTIVE_LOW Pin control (Active Low)
48 - 2 # SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH Pin control (Active High)
50 summit,fast-voltage-threshold-microvolt:
55 summit,mains-current-limit-microamp:
56 description: Maximum input current from AC/DC input (in uA)
58 summit,usb-current-limit-microamp:
59 description: Maximum input current from USB input (in uA)
61 summit,charge-current-compensation-microamp:
62 description: Charge current compensation (in uA)
64 summit,chip-temperature-threshold-celsius:
68 summit,soft-compensation-method:
72 - 0 # SMB3XX_SOFT_TEMP_COMPENSATE_NONE Compensation none
73 - 1 # SMB3XX_SOFT_TEMP_COMPENSATE_CURRENT Current compensation
74 - 2 # SMB3XX_SOFT_TEMP_COMPENSATE_VOLTAGE Voltage compensation
76 summit,inok-polarity:
81 - 0 # SMB3XX_SYSOK_INOK_ACTIVE_LOW
82 - 1 # SMB3XX_SYSOK_INOK_ACTIVE_HIGH
84 usb-vbus:
89 summit,needs-inok-toggle:
97 - if:
101 - summit,smb345
102 - summit,smb358
106 summit,mains-current-limit-microamp:
110 summit,usb-current-limit-microamp:
114 summit,charge-current-compensation-microamp:
119 summit,mains-current-limit-microamp:
123 summit,usb-current-limit-microamp:
127 summit,charge-current-compensation-microamp:
131 - compatible
132 - reg
135 - required:
136 - summit,enable-usb-charging
137 - required:
138 - summit,enable-otg-charging
139 - required:
140 - summit,enable-mains-charging
145 - |
146 #include <dt-bindings/power/summit,smb347-charger.h>
149 #address-cells = <1>;
150 #size-cells = <0>;
156 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_PIN_ACTIVE_HIGH>;
157 summit,inok-polarity = <SMB3XX_SYSOK_INOK_ACTIVE_LOW>;
158 summit,chip-temperature-threshold-celsius = <110>;
159 summit,mains-current-limit-microamp = <2000000>;
160 summit,usb-current-limit-microamp = <500000>;
161 summit,enable-usb-charging;
162 summit,enable-mains-charging;
164 monitored-battery = <&battery>;
166 usb-vbus {
167 regulator-name = "usb_vbus";
168 regulator-min-microvolt = <5000000>;
169 regulator-max-microvolt = <5000000>;
170 regulator-min-microamp = <750000>;
171 regulator-max-microamp = <750000>;
172 summit,needs-inok-toggle;
177 battery: battery-cell {
178 compatible = "simple-battery";
179 constant-charge-current-max-microamp = <1800000>;
180 operating-range-celsius = <0 45>;
181 alert-celsius = <3 42>;