zephyr/drivers/spi
Martí Bolívar 7e0eed9235 devicetree: allow access to all nodes
Usually, we want to operate only on "available" device
nodes ("available" means "status is okay and a matching binding is
found"), but that's not true in all cases.

Sometimes we want to operate on special nodes without matching
bindings, such as those describing memory.

To handle the distinction, change various additional devicetree APIs
making it clear that they operate only on available device nodes,
adjusting gen_defines and devicetree.h implementation details
accordingly:

- emit macros for all existing nodes in gen_defines.py, regardless
  of status or matching binding
- rename DT_NUM_INST to DT_NUM_INST_STATUS_OKAY
- rename DT_NODE_HAS_COMPAT to DT_NODE_HAS_COMPAT_STATUS_OKAY
- rename DT_INST_FOREACH to DT_INST_FOREACH_STATUS_OKAY
- rename DT_ANY_INST_ON_BUS to DT_ANY_INST_ON_BUS_STATUS_OKAY
- rewrite DT_HAS_NODE_STATUS_OKAY in terms of a new DT_NODE_HAS_STATUS
- resurrect DT_HAS_NODE in the form of DT_NODE_EXISTS
- remove DT_COMPAT_ON_BUS as a public API
- use the new default_prop_types edtlib parameter

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-08 19:37:18 -05: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 drivers: spi_dw: add WORD only access support 2019-09-17 20:40:38 +08:00
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 devicetree: allow access to all nodes 2020-05-08 19:37:18 -05: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 device: Fix structure attributes access 2020-05-08 23:07:44 +02:00