zephyr/soc
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
..
arc arc: defconfig: remove SYSTEM_CLOCK_SLOPPY_IDLE option 2020-10-28 12:21:10 -05:00
arm soc: nrf: add DT GPIO helper macros 2021-01-16 07:59:27 -06:00
nios2 soc: nios2: Cleanup linker scripts to use new DTS macros 2020-04-30 20:59:13 -05:00
posix posix: Add cpu_hold() function to better emulate code delay 2020-12-14 12:32:11 +01:00
riscv soc/riscv: add the QEMU "RISC-V VirtIO board" 2021-01-15 13:06:33 -05:00
sparc boards: set CPU_HAS_FPU on LEON3 soc and boards 2020-12-04 14:33:43 +02:00
x86 drivers/timer: Remove legacy APIC driver 2020-12-27 18:19:17 +01:00
xtensa xtensa: fix an assembly warning in start_address.S 2021-01-14 11:41:39 -05:00
Kconfig timing: introduce timing functions as a generic feature 2020-09-05 13:28:38 -05:00