Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions drivers/debug/Kconfig.nrf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Copyright (c) 2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

DT_COMPAT_NORDIC_NRF_TBM := nordic,nrf-tbm

config DEBUG_NRF_ETR
bool "Coresight ETR handler (with Nordic TBM)"
depends on $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_TBM))
Expand Down
2 changes: 0 additions & 2 deletions drivers/ethernet/dwc_xgmac/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
# SPDX-License-Identifier: Apache-2.0
#

DT_COMPAT_DWC_XGMAC := snps,dwcxgmac

menu "DWC XGMAC configuration"

config ETH_DWC_XGMAC
Expand Down
2 changes: 0 additions & 2 deletions drivers/i3c/Kconfig.nxp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#
# SPDX-License-Identifier: Apache-2.0

DT_COMPAT_NXP_MCUX_I3C := nxp,mcux-i3c

module = I3C_MCUX
module-str = i3c-mcux
source "subsys/logging/Kconfig.template.log_config"
Expand Down
2 changes: 0 additions & 2 deletions drivers/usb/uhc/Kconfig.max3421e
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Copyright (c) 2022 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0

DT_COMPAT_UHC_MAX3421E := maxim,max3421e_spi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compatible name should probably be fixed as well, to use - instead of _. Even though I am unable to find a rule in the guidelines regarding compatible naming.

compatible: "maxim,max3421e_spi"

https://docs.zephyrproject.org/latest/contribute/style/devicetree.html
https://docs.kernel.org/devicetree/bindings/dts-coding-style.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


config UHC_MAX3421E
bool "MAX3421E driver"
default y
Expand Down
4 changes: 0 additions & 4 deletions modules/hal_nordic/nrfx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,10 @@ config NRFX_SPI2
depends on $(dt_nodelabel_exists,spi2) && SOC_SERIES_NRF52X
select NRFX_SPI

DT_COMPAT_NORDIC_NRF_SPIM := nordic,nrf-spim

config NRFX_SPIM
bool "SPIM driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIM))

DT_COMPAT_NORDIC_NRF_SPIS := nordic,nrf-spis

config NRFX_SPIS
bool "SPIS driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_SPIS))
Expand Down
7 changes: 1 addition & 6 deletions modules/nrf_wifi/bus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#

DT_COMPAT_NORDIC_NRF7002_QSPI := nordic,nrf7002-qspi
DT_COMPAT_NORDIC_NRF7002_SPI := nordic,nrf7002-spi
DT_COMPAT_NORDIC_NRF7001_QSPI := nordic,nrf7001-qspi
DT_COMPAT_NORDIC_NRF7001_SPI := nordic,nrf7001-spi
DT_COMPAT_NORDIC_NRF7000_QSPI := nordic,nrf7000-qspi
DT_COMPAT_NORDIC_NRF7000_SPI := nordic,nrf7000-spi
# TODO: Use DTS generated Kconfig once support is added
DT_COMPAT_NORDIC_WIFI71 := nordic,nrf7120

menuconfig NRF70_BUSLIB
Expand Down
3 changes: 1 addition & 2 deletions soc/nxp/common/Kconfig.flexspi_xip
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
# SPDX-License-Identifier: Apache-2.0

DT_CHOSEN_Z_FLASH := zephyr,flash
DT_COMPAT_FLEXSPI := nxp,imx-flexspi

DT_CHOSEN_FLASH_NODE := $(dt_chosen_path,$(DT_CHOSEN_Z_FLASH))
DT_CHOSEN_FLASH_PARENT := $(dt_node_parent,$(DT_CHOSEN_FLASH_NODE))

DT_FLASH_PARENT_IS_FLEXSPI := $(dt_node_has_compat,$(DT_CHOSEN_FLASH_PARENT),$(DT_COMPAT_FLEXSPI))
DT_FLASH_PARENT_IS_FLEXSPI := $(dt_node_has_compat,$(DT_CHOSEN_FLASH_PARENT),$(DT_COMPAT_NXP_IMX_FLEXSPI))
DT_FLASH_HAS_SIZE_PROP := $(dt_node_has_prop,$(DT_CHOSEN_FLASH_NODE),size)

config FLASH_BASE_ADDRESS
Expand Down
3 changes: 1 addition & 2 deletions soc/nxp/common/Kconfig.xspi_xip
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
# SPDX-License-Identifier: Apache-2.0

DT_CHOSEN_Z_FLASH := zephyr,flash
DT_COMPAT_XSPI := nxp,xspi

DT_CHOSEN_FLASH_NODE := $(dt_chosen_path,$(DT_CHOSEN_Z_FLASH))
DT_CHOSEN_FLASH_CTRL := $(dt_node_parent,$(DT_CHOSEN_FLASH_NODE))
DT_CHOSEN_FLASH_CTRL_PARENT := $(dt_node_parent,$(DT_CHOSEN_FLASH_CTRL))

DT_FLASH_CTRL_PARENT_IS_XSPI := $(dt_node_has_compat,$(DT_CHOSEN_FLASH_CTRL_PARENT),$(DT_COMPAT_XSPI))
DT_FLASH_CTRL_PARENT_IS_XSPI := $(dt_node_has_compat,$(DT_CHOSEN_FLASH_CTRL_PARENT),$(DT_COMPAT_NXP_XSPI))
DT_FLASH_CTRL_HAS_SIZE_PROP := $(dt_node_has_prop,$(DT_CHOSEN_FLASH_CTRL),size)

config FLASH_BASE_ADDRESS
Expand Down
1 change: 0 additions & 1 deletion subsys/fs/Kconfig.fatfs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ config FS_FATFS_CUSTOM_MOUNT_POINTS
be used for mounting fatfs filesystems anymore.
depends on FS_FATFS_CUSTOM_MOUNT_POINT_COUNT > 0

DT_COMPAT_ZEPHYR_FSTAB_FATFS := zephyr,fstab,fatfs
config FS_FATFS_FSTAB_AUTOMOUNT
bool "Support for fstab auto-mounting"
depends on $(dt_compat_enabled,$(DT_COMPAT_ZEPHYR_FSTAB_FATFS))
Expand Down
1 change: 0 additions & 1 deletion subsys/fs/ext2/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ config EXT2_SUPERBLOCK_ALIGNMENT
this value if they require alignment. This represents the alignment
of struct ext2_disk_superblock in bytes.

DT_COMPAT_ZEPHYR_FSTAB_EXT2 := zephyr,fstab,ext2
config EXT2_FSTAB_AUTOMOUNT
bool "Support for fstab auto-mounting"
depends on $(dt_compat_enabled,$(DT_COMPAT_ZEPHYR_FSTAB_EXT2))
Expand Down
Loading