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
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