Skip to content
Commit d36c6a99 authored by Martí Bolívar's avatar Martí Bolívar Committed by Kumar Gala
Browse files

drivers: gpio: add struct gpio_dt_spec and helpers



This structure contains a GPIO device, pin number, and devicetree
flags. Add helpers for getting one out of the devicetree and doing
useful initialization tasks with it.

Fixes: #31280
Signed-off-by: default avatarMartí Bolívar <marti.bolivar@nordicsemi.no>
parent 19727d3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment