zephyr/tests/lib
Martí Bolívar 6008e7ee24 devicetree: spi: add CS GPIO controller accessors
Add two new macros for getting the chip select GPIO controller from a
SPI device:

- DT_SPI_DEV_CS_GPIOS_CTLR()
- DT_INST_SPI_DEV_CS_GPIOS_CTLR()

Now that we can get struct device pointers at build time directly from
a devicetree node identifier, it's useful to be able to get a
node_id for a CS GPIO controller from the SPI device, because that's
necessary for setting up the gpio_dev in a struct spi_cs_control.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-02-23 10:34:19 -05:00
..
c_lib libc: minimal: add INTn_C macros to stdint.h 2021-01-21 14:50:01 -05:00
cbprintf_fp tests: lib: cbprintf_fp: add filter for tests using newlib 2021-02-01 22:07:45 -05:00
cmsis_dsp tests: cmsis-dsp: Add native_posix to ci 2021-01-27 14:48:37 -05:00
devicetree devicetree: spi: add CS GPIO controller accessors 2021-02-23 10:34:19 -05:00
fdtable tests: lib: fdtable: fix tests after modifying reference counting 2020-08-27 11:42:19 +03:00
gui/lvgl tests: lib: gui: lvgl: Add fs_file_t type variable initializations 2021-01-29 08:04:51 -05:00
heap libc/minimal: fix realloc() allocated memory alignment 2021-02-02 19:08:24 -05:00
heap_align lib/os/heap: minimize initial overallocation in the aligned case 2020-11-30 14:50:07 -05:00
json tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
mem_alloc tests/mem_alloc: check that malloc() objects can be accessed 2021-01-24 10:11:11 -05:00
notify tests/samples: enable for integration testing 2020-07-30 08:00:03 -04:00
onoff tests: onoff: use typedef for spinlock key 2020-10-06 19:56:51 -04:00
p4workq tests/lib: Add p4wq test 2021-01-15 11:35:50 -05:00
ringbuffer tests: lib: ringbuffer: Add performance test 2020-11-11 13:17:49 +01:00
sprintf tests/sprintf: FP tests independent of endian 2020-12-04 14:33:43 +02:00