zephyr/dts/bindings/net/wireless
Martí Bolívar 041099f67c Bluetooth: Controller: clean up nRF DFE
The way we currently handle direction finding extension (DFE) support
on Nordic nRF5 controllers relies on required devicetree properties
related to DFE in the "nordic,nrf-radio" node.

That doesn't make sense on radios without DFE support, though.
Any .dtsi for an SoC without DFE support which has such a node would
require extraneous DFE related properties like dfe-antenna-num.

Instead of making the properties required, mark them optional. We
indicate the presence of DFE support via a new 'dfe-supported' boolean
property which the SoC .dtsi files can set (or not) depending on
support.

This gives us the opportunity to do some cleanup in the Kconfig,
removing CONFIG_HAS_HW_NRF_RADIO_BLE_DF since we know from the
devicetree whether DFE support is available.

Handle that change appropriately in radio_df.c. This gives us an
opportunity to improve readability in the devicetree-related macro
magic in that file.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2021-08-17 17:52:43 -04:00
..
nordic,nrf21540-fem-spi.yaml dts: bindings: net: fix up multi-line strings 2021-06-14 21:49:57 -04:00
nordic,nrf21540-fem.yaml dts: bindings: net: fix up multi-line strings 2021-06-14 21:49:57 -04:00
nordic,nrf-radio.yaml Bluetooth: Controller: clean up nRF DFE 2021-08-17 17:52:43 -04:00