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>
21 lines
703 B
Plaintext
21 lines
703 B
Plaintext
# NPCX Clock controller driver configuration options
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config CLOCK_CONTROL_NPCX
|
|
bool "NPCX clock controller driver"
|
|
default y
|
|
depends on DT_HAS_NUVOTON_NPCX_PCC_ENABLED
|
|
help
|
|
Enable support for NPCX clock controller driver.
|
|
|
|
config CLOCK_CONTROL_NPCX_EXTERNAL_SRC
|
|
bool "Generate LFCLK by on-chip Crystal Oscillator"
|
|
depends on CLOCK_CONTROL_NPCX
|
|
help
|
|
When this option is enabled, the internal 32.768 KHz clock (LFCLK)
|
|
is generated by the on-chip Crystal Oscillator (XTOSC).
|
|
This includes an on-chip oscillator, to which an external crystal
|
|
and the related passive components are connected.
|