Searched refs:uok (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | max8903_charger.c | 133 usb_in = gpio_get_value(pdata->uok) ? false : true; in max8903_usbin() 227 pdata->uok = of_get_named_gpio(np, "uok-gpios", 0); in max8903_parse_dt_data() 228 if (!gpio_is_valid(pdata->uok)) in max8903_parse_dt_data() 229 pdata->uok = -EINVAL; in max8903_parse_dt_data() 279 if (gpio_is_valid(pdata->uok)) { in max8903_setup_gpios() 280 ret = devm_gpio_request(dev, pdata->uok, in max8903_setup_gpios() 285 pdata->uok, ret); in max8903_setup_gpios() 289 gpio = pdata->uok; in max8903_setup_gpios() 412 ret = devm_request_threaded_irq(dev, gpio_to_irq(pdata->uok), in max8903_probe() 419 gpio_to_irq(pdata->uok), ret); in max8903_probe()
|
/Linux-v4.19/Documentation/devicetree/bindings/power/supply/ |
D | max8903-charger.txt | 5 - dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided 6 - uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provid…
|
/Linux-v4.19/include/linux/power/ |
D | max8903_charger.h | 35 int uok; /* USB Power OK output */ member
|