drivers: debug: Add debug driver class
Add a new driver class for drivers related to debugging, such as trace hardware, performance counters etc. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
47abade244
commit
b66c720ed6
5 changed files with 45 additions and 0 deletions
|
@ -1340,6 +1340,18 @@ Release Notes:
|
||||||
labels:
|
labels:
|
||||||
- "area: DAI"
|
- "area: DAI"
|
||||||
|
|
||||||
|
"Drivers: Debug":
|
||||||
|
status: maintained
|
||||||
|
maintainers:
|
||||||
|
- asmellby
|
||||||
|
collaborators:
|
||||||
|
- nordic-krch
|
||||||
|
files:
|
||||||
|
- drivers/debug/
|
||||||
|
- dts/bindings/debug/
|
||||||
|
labels:
|
||||||
|
- "area: Debugging"
|
||||||
|
|
||||||
"Drivers: Devmux":
|
"Drivers: Devmux":
|
||||||
status: maintained
|
status: maintained
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -31,6 +31,7 @@ add_subdirectory_ifdef(CONFIG_COUNTER counter)
|
||||||
add_subdirectory_ifdef(CONFIG_CRYPTO crypto)
|
add_subdirectory_ifdef(CONFIG_CRYPTO crypto)
|
||||||
add_subdirectory_ifdef(CONFIG_DAC dac)
|
add_subdirectory_ifdef(CONFIG_DAC dac)
|
||||||
add_subdirectory_ifdef(CONFIG_DAI dai)
|
add_subdirectory_ifdef(CONFIG_DAI dai)
|
||||||
|
add_subdirectory_ifdef(CONFIG_DEBUG_DRIVER debug)
|
||||||
add_subdirectory_ifdef(CONFIG_DISPLAY display)
|
add_subdirectory_ifdef(CONFIG_DISPLAY display)
|
||||||
add_subdirectory_ifdef(CONFIG_DMA dma)
|
add_subdirectory_ifdef(CONFIG_DMA dma)
|
||||||
add_subdirectory_ifdef(CONFIG_DP_DRIVER dp)
|
add_subdirectory_ifdef(CONFIG_DP_DRIVER dp)
|
||||||
|
|
|
@ -23,6 +23,7 @@ source "drivers/counter/Kconfig"
|
||||||
source "drivers/crypto/Kconfig"
|
source "drivers/crypto/Kconfig"
|
||||||
source "drivers/dac/Kconfig"
|
source "drivers/dac/Kconfig"
|
||||||
source "drivers/dai/Kconfig"
|
source "drivers/dai/Kconfig"
|
||||||
|
source "drivers/debug/Kconfig"
|
||||||
source "drivers/disk/Kconfig"
|
source "drivers/disk/Kconfig"
|
||||||
source "drivers/display/Kconfig"
|
source "drivers/display/Kconfig"
|
||||||
source "drivers/dma/Kconfig"
|
source "drivers/dma/Kconfig"
|
||||||
|
|
7
drivers/debug/CMakeLists.txt
Normal file
7
drivers/debug/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Copyright (c) 2025 Silicon Laboratories Inc.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
zephyr_library()
|
||||||
|
|
||||||
|
# zephyr-keep-sorted-start
|
||||||
|
# zephyr-keep-sorted-stop
|
24
drivers/debug/Kconfig
Normal file
24
drivers/debug/Kconfig
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Copyright (c) 2025 Silicon Laboratories Inc.
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
menuconfig DEBUG_DRIVER
|
||||||
|
bool "Debug drivers"
|
||||||
|
help
|
||||||
|
Enable support for debug drivers
|
||||||
|
|
||||||
|
if DEBUG_DRIVER
|
||||||
|
|
||||||
|
config DEBUG_DRIVER_INIT_PRIORITY
|
||||||
|
int "Initialization priority"
|
||||||
|
default KERNEL_INIT_PRIORITY_DEVICE
|
||||||
|
help
|
||||||
|
Debug drivers initialization priority.
|
||||||
|
|
||||||
|
# zephyr-keep-sorted-start
|
||||||
|
# zephyr-keep-sorted-stop
|
||||||
|
|
||||||
|
module = DEBUG_DRIVER
|
||||||
|
module-str = debug_driver
|
||||||
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
|
|
||||||
|
endif
|
Loading…
Add table
Add a link
Reference in a new issue