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>
29 lines
576 B
Plaintext
29 lines
576 B
Plaintext
# Beetle MCU clock control driver config
|
|
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_FAMILY_ARM
|
|
|
|
menuconfig CLOCK_CONTROL_BEETLE
|
|
bool "BEETLE Clock Control"
|
|
default y
|
|
depends on DT_HAS_ARM_BEETLE_SYSCON_ENABLED
|
|
help
|
|
Enable driver for Reset & Clock Control subsystem found
|
|
in STM32F4 family of MCUs
|
|
|
|
if CLOCK_CONTROL_BEETLE
|
|
|
|
config CLOCK_CONTROL_BEETLE_ENABLE_PLL
|
|
bool "PLL on Beetle"
|
|
depends on SOC_SERIES_BEETLE
|
|
help
|
|
Enable PLL on Beetle.
|
|
|
|
Select n if not sure.
|
|
|
|
endif # CLOCK_CONTROL_BEETLE
|
|
|
|
endif # SOC_FAMILY_ARM
|