Searched full:bq2515x (Results 1 – 3 of 3) sorted by relevance
2 // BQ2515X Battery Charger Driver269 static int bq2515x_wake_up(struct bq2515x_device *bq2515x) in bq2515x_wake_up() argument278 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() argument302 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 …]
619 tristate "TI BQ2515X battery charger family"624 Say Y to enable support for the TI BQ2515X family of battery625 charging integrated circuits. The BQ2515X are highly integrated
5 $id: "http://devicetree.org/schemas/power/supply/bq2515x.yaml#"8 title: TI bq2515x 500-mA Linear charger family15 The BQ2515x family is a highly integrated battery charge management IC that36 GPIO used for connecting the bq2515x device PG (AC Detect)