zephyr/include/drivers
Martí Bolívar 3543df52cc api: move a devicetree.h layering violation to drivers/spi.h
The DT_SPI_DEV_CS_GPIOS_DT_SPEC_GET macro belongs in drivers/spi.h,
not devicetree.h.

It is creating a struct gpio_dt_spec, but the devicetree.h API does
not (other than in this case) and should not depend on structures that
are defined in the GPIO API. This is because the GPIO API already
depends on the devicetree.h API, so making a dependency in the reverse
direction creates a needless circular dependency.

This macro should have been added to the drivers/spi.h API from the
beginning. Move it there under a new name, SPI_CS_GPIOS_DT_SPEC_GET.

We haven't created a Zephyr release with
DT_SPI_DEV_CS_GPIOS_DT_SPEC_GET in it, so there is no need to go
through the stable API change process for devicetree.h to deprecate
and eventually remove it. We can just remove it directly.

Fixes: #42149
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2022-01-26 16:08:18 +01:00
..
adc drivers: adc: add ADC emulator 2021-05-07 15:27:37 +02:00
bluetooth Bluetooth: hci: added HCI vendor-specific Setup function feature 2022-01-21 15:04:15 +02:00
clock_control include/drivers/clock_control: stm32h7: Add missing symbol PLL SRC CSI 2021-12-23 10:37:22 +01:00
console drivers: console: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
dma drivers: dma: stm32 dma of type V1 with mux 2021-08-20 06:28:32 -04:00
ec_host_cmd_periph drivers: ec_host_cmd_periph: remove @return doc for void funcs 2022-01-12 16:02:16 -05:00
flash drivers: flash: add specific api for access flash_simulator RAM 2021-09-01 12:09:58 +02:00
gpio driver: gpio: nct38xx: Add NCT38XX gpio driver support 2021-11-20 08:00:38 -05:00
i2c/slave
ieee802154
interrupt_controller drivers/interrupt_controller: Add source id to VT-D interrupt remap 2022-01-07 10:47:27 -05:00
led drivers: ht16k33: convert keyscan driver from gpio API to kscan API 2021-06-18 11:22:40 +02:00
misc
mm drivers: introduce memory management driver APIs 2022-01-18 19:18:30 -05:00
modem modem: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
pcie pcie: add Type 1 bridge config defines 2022-01-19 13:37:36 -05:00
pinctrl drivers: pinctrl: Support pinctrl with GD32VF103 2021-12-20 17:51:30 +01:00
pm_cpu_ops
regulator drivers: pca9420: Added voltage level support for PCA9420 2021-12-08 08:27:44 -05:00
rtc drivers: counter: NXP SNVS rtc: Add support for NXP imx SNVS RTC 2021-12-07 09:45:43 -06:00
sensor drivers: sensor: Add MH-Z19B CO2 sensor driver 2021-12-20 18:47:47 +01:00
timer soc: arm: nordic_nrf: nrf53: Add Synchronized RTC 2022-01-19 17:46:28 +01:00
uart
usb
virtualization
adc.h drivers: adc: add PGA gain value 2021-09-03 10:10:09 -04:00
bbram.h nuvoton: battery-backed ram 2021-08-07 20:32:33 -04:00
cache.h drivers: cache: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
can.h drivers: can: add error-warning state 2022-01-19 18:34:26 +01:00
clock_control.h drivers: clock_control: use device_is_ready 2022-01-07 10:41:23 -05:00
counter.h drivers: counter: Added get_freq to API 2021-12-09 19:55:17 -05:00
dac.h
disk.h
display.h drivers: display: fix doxygen issues 2021-05-19 06:21:53 -04:00
dma.h dma: Add host related dma transfer directions 2022-01-19 14:13:36 -05:00
ec_host_cmd_periph.h
edac.h edac: ibecc: Fix return error type 2021-08-17 17:21:50 +02:00
eeprom.h
emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
entropy.h
espi_emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
espi_saf.h
espi.h driver: eSPI: unify the bit fields of ACPI/KBC event data 2021-07-26 22:50:44 -04:00
flash.h
fpga.h drivers: fpga controller: add fpga api 2021-09-03 09:54:00 -04:00
gna.h
gpio.h drivers: gpio: add combined drive strength flags and mask 2021-11-11 07:20:12 -05:00
hwinfo.h drivers: hwinfo: add reset causes 2021-09-29 14:44:21 -04:00
i2c_emul.h i2c: emul: Add get_config function 2021-11-02 16:46:33 +01:00
i2c.h stats: i2c: I2C stats 2021-12-04 07:22:56 -05:00
i2s.h drivers: i2s: Add missing const qualifiers 2021-05-03 19:57:49 -04:00
ipm.h
kscan.h
led_strip.h
led.h led.h: clarify brightness API for on/off LEDs 2021-05-04 16:01:30 +02:00
lora.h lora: asynchronous packet reception 2021-10-26 15:48:09 +02:00
mbox.h mbox: Enforce callback registration before enabling the channel 2021-12-23 12:38:21 +01:00
mdio.h drivers: Add mdio API 2021-08-27 11:43:48 -04:00
peci.h
pinctrl.h pinctrl: require ; after PINCTRL_DT_(INST_)DEFINE macros 2022-01-01 07:39:08 -05:00
pinmux.h
pm_cpu_ops.h
ps2.h
ptp_clock.h
pwm.h drivers: pwm: clarify API details 2021-08-19 17:14:48 -04:00
regulator.h
sensor.h drivers: sensor: Const sensor trigger data in trigger handler 2021-10-27 15:09:35 -04:00
spi_emul.h emul: Add data and parent pointers to emulators 2021-10-05 19:21:39 -04:00
spi.h api: move a devicetree.h layering violation to drivers/spi.h 2022-01-26 16:08:18 +01:00
syscon.h drivers: syscon: Add support for multiple regions 2021-09-22 10:32:11 -04:00
uart.h drivers: serial: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
video-controls.h drivers: video: add more camera control IDs 2021-08-17 09:18:38 -04:00
video.h drivers: video: add JPEG pixel format 2021-08-17 09:18:38 -04:00
watchdog.h