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 "SYSCON (System Controller) 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 25DT_COMPAT_SYSCON := syscon 26 27config SYSCON_GENERIC 28 bool "Generic SYSCON (System Controller) driver" 29 default $(dt_compat_enabled,$(DT_COMPAT_SYSCON)) 30 help 31 Enable generic SYSCON (System Controller) driver 32 33config SYSCON_INIT_PRIORITY 34 int "SYSCON (System Controller) driver init priority" 35 default 50 36 help 37 This option controls the priority of the syscon device 38 initialization. Higher priority ensures that the device is 39 initialized earlier in the startup cycle. If unsure, leave at default 40 value 41 42endif # SYSCON 43