Home
last modified time | relevance | path

Searched refs:dok (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/power/supply/
Dmax8903_charger.c78 ta_in = gpio_get_value(pdata->dok) ? false : true; in max8903_dcin()
207 pdata->dok = of_get_named_gpio(np, "dok-gpios", 0); in max8903_parse_dt_data()
208 if (!gpio_is_valid(pdata->dok)) in max8903_parse_dt_data()
209 pdata->dok = -EINVAL; in max8903_parse_dt_data()
233 if (gpio_is_valid(pdata->dok)) { in max8903_setup_gpios()
234 ret = devm_gpio_request(dev, pdata->dok, in max8903_setup_gpios()
239 pdata->dok, ret); in max8903_setup_gpios()
243 gpio = pdata->dok; /* PULL_UPed Interrupt */ in max8903_setup_gpios()
385 ret = devm_request_threaded_irq(dev, gpio_to_irq(pdata->dok), in max8903_probe()
392 gpio_to_irq(pdata->dok), ret); in max8903_probe()
/Linux-v5.4/Documentation/devicetree/bindings/power/supply/
Dmax8903-charger.txt5 - 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-v5.4/include/linux/power/
Dmax8903_charger.h20 int dok; /* DC(Adapter) Power OK output */ member
/Linux-v5.4/
DCREDITS2060 E: dok@directfb.org