blob: 3a1fb3fc2868a196ef9c70698d5eee55aec884da [file] [log] [blame]
Tomasz Bursztyka714dd972015-11-21 21:16:01 -05001# Kconfig - Clock controller driver configuration options
2
3#
4# Copyright (c) 2015 Intel Corporation
5#
David B. Kinderac74d8b2017-01-18 17:01:01 -08006# SPDX-License-Identifier: Apache-2.0
Tomasz Bursztyka714dd972015-11-21 21:16:01 -05007#
8
9#
10# Clock controller drivers
11#
12menuconfig CLOCK_CONTROL
13 bool
14 prompt "Hardware clock controller support"
15 default n
16 help
17 Enable support for hardware clock controller. Such hardware can
18 provide clock for other subsystem, and thus can be also used for
19 power efficiency by controlling their clock. Note that this has
20 nothing to do with RTC.
21
Maciek Borzecki5cff3cc2016-03-05 18:05:57 +010022if CLOCK_CONTROL
23
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050024config SYS_LOG_CLOCK_CONTROL_LEVEL
25 int
26 prompt "Hardware clock controller drivers log level"
Anas Nashif09bcd8e2017-08-04 08:34:58 -040027 depends on SYS_LOG
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050028 default 0
29 help
Vincenzo Frascinod6964952016-11-18 16:00:28 +000030 Sets log level for clock controller drivers
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050031
Vincenzo Frascinod6964952016-11-18 16:00:28 +000032 Levels are:
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050033
Vincenzo Frascinod6964952016-11-18 16:00:28 +000034 - 0 OFF, do not write
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050035
Vincenzo Frascinod6964952016-11-18 16:00:28 +000036 - 1 ERROR, only write SYS_LOG_ERR
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050037
David B. Kinder93e4d722017-04-21 10:29:51 -070038 - 2 WARNING, write SYS_LOG_WRN in addition to previous level
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050039
David B. Kinder93e4d722017-04-21 10:29:51 -070040 - 3 INFO, write SYS_LOG_INF in addition to previous levels
Genaro Saucedo Tejada1c7e9922016-07-07 12:17:32 -050041
David B. Kinder93e4d722017-04-21 10:29:51 -070042 - 4 DEBUG, write SYS_LOG_DBG in addition to previous levels
Tomasz Bursztyka714dd972015-11-21 21:16:01 -050043
Adam Podogrocki72782f52016-10-28 12:46:50 +020044source "drivers/clock_control/Kconfig.nrf5"
45
Maciek Borzecki5cff3cc2016-03-05 18:05:57 +010046source "drivers/clock_control/Kconfig.quark_se"
Tomasz Bursztyka714dd972015-11-21 21:16:01 -050047
Erwan Gouriou58c8d152017-01-23 17:45:42 +010048source "drivers/clock_control/Kconfig.stm32"
49
Vincenzo Frascino6be2a812016-11-03 11:12:06 +000050source "drivers/clock_control/Kconfig.beetle"
51
Maureen Helm0f3b4902017-08-28 14:09:55 -050052source "drivers/clock_control/Kconfig.mcux_ccm"
53
Maureen Helm7a607822017-08-26 08:43:53 -050054source "drivers/clock_control/Kconfig.mcux_sim"
55
Maciek Borzecki5cff3cc2016-03-05 18:05:57 +010056endif # CLOCK_CONTROL