drivers: added file structure for Reset Controller Driver
added needed files for reset controller driver Signed-off-by: Andrei-Edward Popa <andrei.popa105@yahoo.com>
This commit is contained in:
parent
a49d88ce05
commit
8645de581e
5 changed files with 37 additions and 0 deletions
|
@ -345,6 +345,7 @@
|
||||||
/drivers/pwm/*gecko* @sun681
|
/drivers/pwm/*gecko* @sun681
|
||||||
/drivers/pwm/*it8xxx2* @RuibinChang
|
/drivers/pwm/*it8xxx2* @RuibinChang
|
||||||
/drivers/regulator/*pmic* @danieldegrasse
|
/drivers/regulator/*pmic* @danieldegrasse
|
||||||
|
/drivers/reset/ @andrei-edward-popa
|
||||||
/drivers/sensor/ @MaureenHelm
|
/drivers/sensor/ @MaureenHelm
|
||||||
/drivers/sensor/ams_iAQcore/ @alexanderwachter
|
/drivers/sensor/ams_iAQcore/ @alexanderwachter
|
||||||
/drivers/sensor/ens210/ @alexanderwachter
|
/drivers/sensor/ens210/ @alexanderwachter
|
||||||
|
|
|
@ -67,3 +67,4 @@ add_subdirectory_ifdef(CONFIG_PINCTRL pinctrl)
|
||||||
add_subdirectory_ifdef(CONFIG_MBOX mbox)
|
add_subdirectory_ifdef(CONFIG_MBOX mbox)
|
||||||
add_subdirectory_ifdef(CONFIG_BOARD_XENVM xen)
|
add_subdirectory_ifdef(CONFIG_BOARD_XENVM xen)
|
||||||
add_subdirectory_ifdef(CONFIG_MM_DRV mm)
|
add_subdirectory_ifdef(CONFIG_MM_DRV mm)
|
||||||
|
add_subdirectory_ifdef(CONFIG_RESET reset)
|
||||||
|
|
|
@ -133,4 +133,6 @@ source "drivers/power_domain/Kconfig"
|
||||||
|
|
||||||
source "drivers/usbc/Kconfig"
|
source "drivers/usbc/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/reset/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
3
drivers/reset/CMakeLists.txt
Normal file
3
drivers/reset/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
zephyr_library()
|
30
drivers/reset/Kconfig
Normal file
30
drivers/reset/Kconfig
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Reset Controller driver configuration options
|
||||||
|
|
||||||
|
# Copyright (c) 2022 Andrei-Edward Popa <andrei.popa105@yahoo.com>
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
#
|
||||||
|
# Reset Controller options
|
||||||
|
#
|
||||||
|
menuconfig RESET
|
||||||
|
bool "Reset Controller drivers"
|
||||||
|
help
|
||||||
|
Reset Controller drivers. Reset node represents a region containing
|
||||||
|
information about reset controller device. The typical use-case is
|
||||||
|
for some other node's drivers to acquire a reference to the reset
|
||||||
|
controller node together with some reset information.
|
||||||
|
|
||||||
|
if RESET
|
||||||
|
|
||||||
|
config RESET_INIT_PRIORITY
|
||||||
|
int "Reset Controller driver init priority"
|
||||||
|
default 40
|
||||||
|
help
|
||||||
|
This option controls the priority of the reset controller device
|
||||||
|
initialization. Higher priority ensures that the device is
|
||||||
|
initialized earlier in the startup cycle. If unsure, leave at default
|
||||||
|
value
|
||||||
|
|
||||||
|
comment "Reset Controller Drivers"
|
||||||
|
|
||||||
|
endif # RESET
|
Loading…
Add table
Add a link
Reference in a new issue