Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A 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 …]
H A DKconfig667 tristate "TI BQ2515X battery charger family"
672 Say Y to enable support for the TI BQ2515X family of battery
673 charging integrated circuits. The BQ2515X are highly integrated
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dbq2515x.yaml5 $id: http://devicetree.org/schemas/power/supply/bq2515x.yaml#
8 title: TI bq2515x 500-mA Linear charger family
14 The BQ2515x family is a highly integrated battery charge management IC that
35 GPIO used for connecting the bq2515x device PG (AC Detect)
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok2.0.log[all...]