Home
last modified time | relevance | path

Searched refs:uok (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dmax8903_charger.c29 struct gpio_desc *uok; /* USB Power OK output */ member
153 usb_in = gpiod_get_value(data->uok); in max8903_usbin()
247 data->uok = devm_gpiod_get_optional(dev, "uok", GPIOD_IN); in max8903_setup_gpios()
248 if (IS_ERR(data->uok)) in max8903_setup_gpios()
249 return dev_err_probe(dev, PTR_ERR(data->uok), in max8903_setup_gpios()
251 if (data->uok) { in max8903_setup_gpios()
252 gpiod_set_consumer_name(data->uok, data->psy_desc.name); in max8903_setup_gpios()
259 usb_in = gpiod_get_value(data->uok); in max8903_setup_gpios()
263 if (!data->dok && !data->uok) { in max8903_setup_gpios()
374 if (data->uok) { in max8903_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max8903.yaml23 uok-gpios:
54 - uok-gpios