zephyr/drivers/spi
Martí Bolívar 6e8775ff84 devicetree: remove DT_HAS_NODE_STATUS_OKAY
Several reviewers agreed that DT_HAS_NODE_STATUS_OKAY(...) was an
undesirable API for the following reasons:

- it's inconsistent with the rest of the DT_NODE_HAS_FOO names
- DT_NODE_HAS_FOO_BAR_BAZ(node) was agreed upon as a shorthand
  for macros which are equivalent to
  DT_NODE_HAS_FOO(node) && DT_NODE_HAS_BAR(node) &&
- DT_NODE_HAS_BAZ(node), and DT_HAS_NODE_STATUS_OKAY is an odd duck
- DT_NODE_HAS_STATUS(..., okay) was viewed as more readable anyway
- it is seen as a somewhat aesthetically challenged name

Replace all users with DT_NODE_HAS_STATUS(..., okay), which is
semantically equivalent.

This is mostly done with sed, but a few remaining cases were done by
hand, along with whitespace, docs, and comment changes. These special
cases include the Nordic SOC static assert files.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-13 18:24:42 +02:00
..
CMakeLists.txt drivers: spi: Add Gecko SPI driver 2020-01-10 07:14:35 -06:00
Kconfig kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.cc13xx_cc26xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.dw kconfig: Remove redundant SPI_DW dep on SPI_DW_ACCESS_WORD_ONLY 2020-02-08 09:58:33 +02:00
Kconfig.gecko kconfig: Turn pointless 'menuconfig's into 'config's 2020-01-24 21:30:17 -05:00
Kconfig.litex kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_dspi kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_flexcomm drivers: spi: kconfig: Turn pointless 'menuconfig' into 'config' 2020-01-03 07:32:32 -06:00
Kconfig.mcux_lpspi kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrfx drivers: nrf: Remove no longer suitable dependencies on Kconfig options 2020-04-03 14:47:32 +02:00
Kconfig.oc_simple kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.rv32m1_lpspi kconfig: Fix up newly-introduced copy-pasted headers 2019-11-19 15:25:08 -05:00
Kconfig.sam drivers: spi: spi_sam: rework device tree support 2020-04-25 09:29:54 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sifive kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.stm32 drivers: spi: Enable dma transfer for SPI on stm32 2020-05-04 09:46:07 -05:00
Kconfig.xec_qmspi kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
spi_cc13xx_cc26xx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_context.h drivers/spi: spi_context.h: Update to new GPIO API 2020-02-05 12:00:36 +01:00
spi_dw_regs.h
spi_dw.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_dw.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_gecko.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_handlers.c spi: fix spell typo in spi handler 2019-11-20 09:56:53 -08:00
spi_litespi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_litespi.h drivers: litex: Convert litex drivers to new DT_INST macros 2020-03-30 12:49:43 -05:00
spi_ll_stm32.c drivers: spi: driver reloading dma buffers in the main transceive loop 2020-05-13 16:22:10 +02:00
spi_ll_stm32.h devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_dspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_flexcomm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_lpspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_nrfx_spi.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_nrfx_spim.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_nrfx_spis.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_oc_simple.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_oc_simple.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
spi_rv32m1_lpspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sam0.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sam.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sifive.c drivers: spi: sifive: Fix bug with checking if tx fifo is full 2020-04-23 17:28:48 +02:00
spi_sifive.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_xec_qmspi.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00