dc027dc6e2
and index. A private function to do exactly that already existed, so this renames gpio_pin_get_by_ofw_impl() to gpio_pin_get_by_ofw_propidx() and provides a declaration for it in a public header. Previously there were functions to get a pin by property name (assuming there would only be one pin defined for the name), or by index (asuming the property has the standard name "gpios"). It turns out there are devicetree bindings that describe properties with names other than "gpios" which can describe multiple pins. Hence the need to retrieve the Nth item from a named property. |
||
---|---|---|
.. | ||
bytgpio.c | ||
gpio_if.m | ||
gpiobacklight.c | ||
gpiobus_if.m | ||
gpiobus.c | ||
gpiobusvar.h | ||
gpioc.c | ||
gpioiic.c | ||
gpiokeys_codes.c | ||
gpiokeys.c | ||
gpiokeys.h | ||
gpioled_fdt.c | ||
gpioled.c | ||
gpiopower.c | ||
gpiopps.c | ||
gpioregulator.c | ||
gpiospi.c | ||
gpioths.c | ||
ofw_gpiobus.c |