1# NPCX Clock controller driver configuration options
2
3# Copyright (c) 2020 Nuvoton Technology Corporation.
4# SPDX-License-Identifier: Apache-2.0
5
6config CLOCK_CONTROL_NPCX
7	bool "NPCX clock controller driver"
8	default y
9	depends on DT_HAS_NUVOTON_NPCX_PCC_ENABLED
10	help
11	  Enable support for NPCX clock controller driver.
12
13if CLOCK_CONTROL_NPCX
14
15config CLOCK_CONTROL_NPCX_EXTERNAL_SRC
16	bool "Generate LFCLK by on-chip Crystal Oscillator"
17	help
18	  When this option is enabled, the internal 32.768 KHz clock (LFCLK)
19	  is generated by the on-chip Crystal Oscillator (XTOSC).
20	  This includes an on-chip oscillator, to which an external crystal
21	  and the related passive components are connected.
22
23config CLOCK_CONTROL_NPCX_SUPP_APB4
24	bool "Indicates that the clock controller supports APB4 bus"
25	default y if !SOC_SERIES_NPCX7
26	help
27	  Selected if NPCX series supports APB4 bus.
28
29config CLOCK_CONTROL_NPCX_SUPP_FIU1
30	bool "Indicates that the clock controller supports FIU1 bus"
31	default y if SOC_SERIES_NPCX4
32	help
33	  Selected if NPCX series supports FIU1 bus.
34
35endif # CLOCK_CONTROL_NPCX
36