Home
last modified time | relevance | path

Searched +full:disable +full:- +full:charger +full:- +full:broadcasts (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
19 - items:
20 - enum:
21 - ti,bq20z65
22 - ti,bq20z75
23 - enum:
[all …]
/Linux-v5.10/drivers/power/supply/
Dsbs-battery.c1 // SPDX-License-Identifier: GPL-2.0-or-later
19 #include <linux/power/sbs-battery.h>
100 SBS_DATA(-1, 0x03, 0, 65535),
106 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_NOW, 0x0A, -32768, 32767),
108 SBS_DATA(POWER_SUPPLY_PROP_CURRENT_AVG, 0x0B, -32768, 32767),
216 int val = sbs_read_word_data(chip->client, BATTERY_MODE_OFFSET); in sbs_disable_charger_broadcasts()
222 val = sbs_write_word_data(chip->client, BATTERY_MODE_OFFSET, val); in sbs_disable_charger_broadcasts()
226 dev_err(&chip->client->dev, in sbs_disable_charger_broadcasts()
227 "Failed to disable charger broadcasting: %d\n", val); in sbs_disable_charger_broadcasts()
229 dev_dbg(&chip->client->dev, "%s\n", __func__); in sbs_disable_charger_broadcasts()
[all …]