Searched refs:dok (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | max8903_charger.c | 92 ta_in = gpio_get_value(pdata->dok) ? false : true; in max8903_dcin() 221 pdata->dok = of_get_named_gpio(np, "dok-gpios", 0); in max8903_parse_dt_data() 222 if (!gpio_is_valid(pdata->dok)) in max8903_parse_dt_data() 223 pdata->dok = -EINVAL; in max8903_parse_dt_data() 247 if (gpio_is_valid(pdata->dok)) { in max8903_setup_gpios() 248 ret = devm_gpio_request(dev, pdata->dok, in max8903_setup_gpios() 253 pdata->dok, ret); in max8903_setup_gpios() 257 gpio = pdata->dok; /* PULL_UPed Interrupt */ in max8903_setup_gpios() 399 ret = devm_request_threaded_irq(dev, gpio_to_irq(pdata->dok), in max8903_probe() 406 gpio_to_irq(pdata->dok), 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… 20 dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
|
/Linux-v4.19/include/linux/power/ |
D | max8903_charger.h | 34 int dok; /* DC(Adapter) Power OK output */ member
|
/Linux-v4.19/ |
D | CREDITS | 2058 E: dok@directfb.org
|