zephyr/drivers/serial
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: serial: add XMC seris UART support 2020-05-09 14:21:44 +02:00
Kconfig drivers: serial: add XMC seris UART support 2020-05-09 14:21:44 +02:00
Kconfig.altera_jtag
Kconfig.cc13xx_cc26xx drivers: cc13xx_cc26xx: use DT_INST_FOREACH to reduce code duplication 2020-04-23 17:29:53 -05:00
Kconfig.cc32xx
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gecko
Kconfig.imx
Kconfig.leuart_gecko
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_flexcomm drivers: uart: mcux_flexcomm: Convert to DT_INST 2020-04-28 16:54:30 -05:00
Kconfig.mcux_lpsci drivers: uart: mcux_lpsci: Convert to DT_INST 2020-04-28 16:54:30 -05:00
Kconfig.mcux_lpuart drivers: uart: mcux_lpuart: Convert to DT_INST 2020-04-20 15:50:45 -05:00
Kconfig.miv
Kconfig.msp432p4xx
Kconfig.native_posix
Kconfig.nrfx
Kconfig.ns16550
Kconfig.nsim
Kconfig.pl011
Kconfig.psoc6
Kconfig.rtt
Kconfig.rv32m1_lpuart
Kconfig.sam0
Kconfig.sifive
Kconfig.stellaris
Kconfig.stm32 boards: stm32: Use dt API for serial peripheral configuration 2020-04-20 15:27:56 -05:00
Kconfig.uart_sam drivers: serial: uart_sam: rework device tree support 2020-04-18 17:04:08 -05:00
Kconfig.usart_sam drivers: serial: usart_sam: rework device tree support 2020-04-18 17:04:08 -05:00
Kconfig.xlnx drivers: serial: Xilinx UART driver interrupt support feature flag 2020-04-22 17:36:58 +02:00
Kconfig.xmc4xxx drivers: serial: add XMC seris UART support 2020-05-09 14:21:44 +02:00
leuart_gecko.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
uart_altera_jtag_hal.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_cc13xx_cc26xx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_cc32xx.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_cmsdk_apb.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
uart_esp32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_gecko.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
uart_handlers.c
uart_imx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_liteuart.c
uart_mcux.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_mcux_flexcomm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_mcux_lpsci.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_mcux_lpuart.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_miv.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
uart_msp432p4xx.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_native_posix.c
uart_nrfx_uart.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_nrfx_uarte.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_ns16550.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_ns16550.h
uart_ns16550_port_x.h devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
uart_nsim.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_pl011.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_psoc6.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_rtt.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_rv32m1_lpuart.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_sam.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_sam0.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_sifive.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_stellaris.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
uart_stm32.c devicetree: DT_NODE_HAS_COMPAT_STATUS_OKAY -> DT_NODE_HAS_COMPAT_STATUS 2020-05-08 19:37:18 -05:00
uart_stm32.h drivers: serial: stm32: Support for parity in DTS for STM32 uart. 2020-05-06 11:00:12 -05:00
uart_xlnx_ps.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
uart_xmc4xxx.c drivers: serial: add XMC seris UART support 2020-05-09 14:21:44 +02:00
usart_sam.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00