AST10x0 series SOCs provide the clock controller through the syscon hardware block. The current driver supports the clock gating capability for the hardware IPs embedded in the SOC. Each clock source has a clock ID that can simply map to a bit in syscon registers CLK_STOP_CTRL0 (group 0) or CLK_STOP_CTRL1 (group 1). There are some clock sources that don't have associated clock gating control, which are always on, are grouped to into group 2. Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
# Clock controller driver configuration options
|
|
|
|
# Copyright (c) 2015 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
# Clock controller drivers
|
|
#
|
|
menuconfig CLOCK_CONTROL
|
|
bool "Hardware clock controller support"
|
|
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.
|
|
|
|
if CLOCK_CONTROL
|
|
|
|
config CLOCK_CONTROL_INIT_PRIORITY
|
|
int "Clock control init priority"
|
|
default KERNEL_INIT_PRIORITY_OBJECTS
|
|
help
|
|
Clock control driver device initialization priority.
|
|
|
|
module = CLOCK_CONTROL
|
|
module-str = clock control
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/clock_control/Kconfig.nrf"
|
|
|
|
source "drivers/clock_control/Kconfig.stm32"
|
|
|
|
source "drivers/clock_control/Kconfig.beetle"
|
|
|
|
source "drivers/clock_control/Kconfig.lpc11u6x"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_ccm"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_ccm_rev2"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_mcg"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_pcc"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_scg"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_sim"
|
|
|
|
source "drivers/clock_control/Kconfig.mcux_syscon"
|
|
|
|
source "drivers/clock_control/Kconfig.npcx"
|
|
|
|
source "drivers/clock_control/Kconfig.rv32m1"
|
|
|
|
source "drivers/clock_control/Kconfig.esp32"
|
|
|
|
source "drivers/clock_control/Kconfig.litex"
|
|
|
|
source "drivers/clock_control/Kconfig.rcar"
|
|
|
|
source "drivers/clock_control/Kconfig.xec"
|
|
|
|
source "drivers/clock_control/Kconfig.cavs"
|
|
|
|
source "drivers/clock_control/Kconfig.aspeed"
|
|
|
|
endif # CLOCK_CONTROL
|