Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dbq2515x_charger.c269 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()
305 ret = regmap_read(bq2515x->regmap, BQ2515X_STAT0, &val); in bq2515x_update_ps_status()
[all …]
/openbmc/linux/
H A Dopengrok1.0.log[all...]
H A Dopengrok2.0.log[all...]