47bb8c14dc
Update clock_control drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
15 lines
411 B
Plaintext
15 lines
411 B
Plaintext
# LiteX SoC Builder clock control driver
|
|
|
|
# Copyright (c) 2020 Antmicro <www.antmicro.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config CLOCK_CONTROL_LITEX
|
|
bool "LiteX MMCM clock control"
|
|
default y
|
|
depends on DT_HAS_LITEX_CLK_ENABLED
|
|
help
|
|
This option enables LiteX clock control driver.
|
|
It gives ability to change clock parameters
|
|
such as phase, duty cycle, frequency for up to 7
|
|
clock outputs
|