zephyr/drivers/clock_control/Kconfig.npcx
Jun Lin 1974ea97a4 driver: clock: npcx: add a option to generate LFCLK via XTSOC
This commit adds a new Kconfig option CLOCK_CONTROL_NPCX_EXTERNAL_SRC.
With this option enabled, the internal 32.768 KHz clock (LFCLK) is
generated by the on-chip Crystal Oscillator (XTOSC). Otherwise, the
LFCLK is generated by the Low-Frequency Clock Generator (LFCG).

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2021-07-12 23:34:42 +03:00

20 lines
676 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"
depends on SOC_FAMILY_NPCX
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.