Home
last modified time | relevance | path

Searched +full:mains +full:- +full:current +full:- +full:limit +full:- +full:microamp (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dsummit,smb347-charger.yaml1 # 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:
[all …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dsmb347-charger.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <dt-bindings/power/summit,smb347-charger.h>
26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1
28 /* Use default factory programmed value for hard/soft temperature limit */
29 #define SMB3XX_TEMP_USE_DEFAULT -273
34 * reloaded from non-volatile registers after POR.
132 * struct smb347_charger - smb347 charger instance
135 * @mains: power_supply instance for AC/DC power
142 * @max_charge_current: maximum current (in uA) the battery can be charged
144 * @pre_charge_current: current (in uA) to use in pre-charging phase
[all …]
H A Dbq2515x_charger.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/
137 * struct bq2515x_init_data -
138 * @ilim: input current limit
139 * @ichg: fast charge current
141 * @iprechg: precharge current
156 * struct bq2515x_device -
157 * @mains: mains properties
174 struct power_supply *mains; member
278 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_wake_up()
[all …]
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
49 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
53 if (supply->supplied_from) { in __power_supply_is_supplied_by()
54 if (!supplier->desc->name) in __power_supply_is_supplied_by()
56 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
57 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
60 if (!supply->desc->name) in __power_supply_is_supplied_by()
62 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
63 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
76 if (pst->desc->external_power_changed) in __power_supply_changed_work()
[all …]