zephyr/drivers/clock_control/Kconfig.rv32m1
Kumar Gala 47bb8c14dc drivers: clock_control: Update drivers to use devicetree Kconfig symbol
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>
2022-07-27 09:47:16 +02:00

12 lines
257 B
Plaintext

# OpenISA RV32M1 PPC
# Copyright (c) 2018 Foundries.io
# SPDX-License-Identifier: Apache-2.0
config CLOCK_CONTROL_RV32M1_PCC
bool "RV32M1 PCC driver"
default y
depends on DT_HAS_OPENISA_RV32M1_PCC_ENABLED
help
Enable support for RV32M1 PCC driver.