dbad2627c8
Add some helper macros that will be convenient to use from device drivers for accessing and error checking pin mux information in the devicetree: - NRF_DT_GPIOS_TO_PSEL(): converts a devicetree GPIO phandle <&gpioX pin flags> to the "PSEL style" registers found in nRF SoC family IPs. The conversion is done at build time and relies on devicetree properties. - NRF_DT_CHECK_GPIO_CTLR_IS_SOC(): make sure a GPIO controller in a phandle-array property is one of the SoC GPIO controllers by checking its compatible is nordic,nrf-gpio. See comments in the patch for more details. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no> |
||
---|---|---|
.. | ||
nrf51 | ||
nrf52 | ||
nrf53 | ||
nrf91 | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.defconfig | ||
Kconfig.peripherals | ||
Kconfig.soc | ||
soc_nrf_common.h | ||
timing.c | ||
validate_base_addresses.c | ||
validate_enabled_instances.c |