2015-11-22 10:16:01 +08:00
|
|
|
# Kconfig - Clock controller driver configuration options
|
|
|
|
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-11-22 10:16:01 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# Clock controller drivers
|
|
|
|
#
|
|
|
|
menuconfig CLOCK_CONTROL
|
|
|
|
bool
|
|
|
|
prompt "Hardware clock controller support"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Enable support for hardware clock controller. Such hardware can
|
|
|
|
provide clock for other subsystem, and thus can be also used for
|
|
|
|
power efficiency by controlling their clock. Note that this has
|
|
|
|
nothing to do with RTC.
|
|
|
|
|
2016-03-06 01:05:57 +08:00
|
|
|
if CLOCK_CONTROL
|
|
|
|
|
2016-07-08 01:17:32 +08:00
|
|
|
config SYS_LOG_CLOCK_CONTROL_LEVEL
|
|
|
|
int
|
|
|
|
prompt "Hardware clock controller drivers log level"
|
2017-08-04 20:34:58 +08:00
|
|
|
depends on SYS_LOG
|
2016-07-08 01:17:32 +08:00
|
|
|
default 0
|
|
|
|
help
|
2016-11-19 00:00:28 +08:00
|
|
|
Sets log level for clock controller drivers
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2016-11-19 00:00:28 +08:00
|
|
|
Levels are:
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2016-11-19 00:00:28 +08:00
|
|
|
- 0 OFF, do not write
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2016-11-19 00:00:28 +08:00
|
|
|
- 1 ERROR, only write SYS_LOG_ERR
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 2 WARNING, write SYS_LOG_WRN in addition to previous level
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 3 INFO, write SYS_LOG_INF in addition to previous levels
|
2016-07-08 01:17:32 +08:00
|
|
|
|
2017-04-22 01:29:51 +08:00
|
|
|
- 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
|
2015-11-22 10:16:01 +08:00
|
|
|
|
2016-10-28 18:46:50 +08:00
|
|
|
source "drivers/clock_control/Kconfig.nrf5"
|
|
|
|
|
2016-03-06 01:05:57 +08:00
|
|
|
source "drivers/clock_control/Kconfig.quark_se"
|
2015-11-22 10:16:01 +08:00
|
|
|
|
2017-01-24 00:45:42 +08:00
|
|
|
source "drivers/clock_control/Kconfig.stm32"
|
|
|
|
|
2016-11-03 19:12:06 +08:00
|
|
|
source "drivers/clock_control/Kconfig.beetle"
|
|
|
|
|
2016-03-06 01:05:57 +08:00
|
|
|
endif # CLOCK_CONTROL
|