1# SYSCON configuration options
2
3# Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
4# SPDX-License-Identifier: Apache-2.0
5
6#
7# SYSCON options
8#
9menuconfig SYSCON
10	bool "System Controller (SYSCON) drivers"
11	help
12	  SYSCON (System Controller) drivers. System controller node represents
13	  a register region containing a set of miscellaneous registers. The
14	  registers are not cohesive enough to represent as any specific type
15	  of device. The typical use-case is for some other node's driver, or
16	  platform-specific code, to acquire a reference to the syscon node and
17	  extract information from there.
18
19if SYSCON
20
21module = SYSCON
22module-str = syscon
23source "subsys/logging/Kconfig.template.log_config"
24
25config SYSCON_GENERIC
26	bool "Generic SYSCON (System Controller) driver"
27	default y
28	depends on DT_HAS_SYSCON_ENABLED
29	help
30	  Enable generic SYSCON (System Controller) driver
31
32config SYSCON_INIT_PRIORITY
33	int "SYSCON (System Controller) driver init priority"
34	default 50
35	help
36	  This option controls the priority of the syscon device
37	  initialization. Higher priority ensures that the device is
38	  initialized earlier in the startup cycle. If unsure, leave at default
39	  value
40
41endif # SYSCON
42