zephyr/soc/arm/nordic_nrf
Martí Bolívar dbad2627c8 soc: nrf: add DT GPIO helper macros
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>
2021-01-16 07:59:27 -06:00
..
nrf51 soc: nrf: clean up soc.h headers 2021-01-16 07:59:27 -06:00
nrf52 soc: nrf: clean up soc.h headers 2021-01-16 07:59:27 -06:00
nrf53 soc: nrf: clean up soc.h headers 2021-01-16 07:59:27 -06:00
nrf91 soc: nrf: clean up soc.h headers 2021-01-16 07:59:27 -06:00
CMakeLists.txt soc: arm: nrf: conditionally employ nRF-specific timing framework 2020-09-05 13:28:38 -05:00
Kconfig soc: arm: Kconfig: Add more nrf flash protection block sizes 2020-09-04 13:38:38 +02:00
Kconfig.defconfig power: fix Kconfig defaults 2020-12-27 18:18:52 +01:00
Kconfig.peripherals drivers: counters: Fix TIMER0 and RTC0 with Bluetooth controller 2020-12-13 19:25:49 -05:00
Kconfig.soc
soc_nrf_common.h soc: nrf: add DT GPIO helper macros 2021-01-16 07:59:27 -06:00
timing.c timing: do not repeatedly do init()/start()/stop() 2020-11-11 23:55:49 -05:00
validate_base_addresses.c soc: nordic_nrf: Add validation of base addresses of ECB nodes from DT 2021-01-13 12:57:13 +01:00
validate_enabled_instances.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00