Home
last modified time | relevance | path

Searched full:bq2515x (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Dbq2515x_charger.c2 // BQ2515X Battery Charger Driver
269 static int bq2515x_wake_up(struct bq2515x_device *bq2515x) in bq2515x_wake_up() argument
278 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_wake_up()
286 gpiod_set_value_cansleep(bq2515x->powerdown_gpio, 0); in bq2515x_wake_up()
288 gpiod_set_value_cansleep(bq2515x->reset_gpio, 0); in bq2515x_wake_up()
290 gpiod_set_value_cansleep(bq2515x->reset_gpio, 1); in bq2515x_wake_up()
292 return regmap_write(bq2515x->regmap, BQ2515X_ADC_READ_EN, in bq2515x_wake_up()
296 static int bq2515x_update_ps_status(struct bq2515x_device *bq2515x) in bq2515x_update_ps_status() argument
302 if (bq2515x->ac_detect_gpio) in bq2515x_update_ps_status()
303 val = gpiod_get_value_cansleep(bq2515x->ac_detect_gpio); in bq2515x_update_ps_status()
[all …]
DKconfig619 tristate "TI BQ2515X battery charger family"
624 Say Y to enable support for the TI BQ2515X family of battery
625 charging integrated circuits. The BQ2515X are highly integrated
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dbq2515x.yaml5 $id: "http://devicetree.org/schemas/power/supply/bq2515x.yaml#"
8 title: TI bq2515x 500-mA Linear charger family
15 The BQ2515x family is a highly integrated battery charge management IC that
36 GPIO used for connecting the bq2515x device PG (AC Detect)