# Nuvoton Cortex-M4 Embedded Controller
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
Disable Cortex-M system tick if NPCX_ITIM_TIMER is enabled.
depends on CLOCK_CONTROL
Enable support for NPCX clock controller driver. The NPCX clock
controller generates both Low-Frequency clock domain (32.768 KHz,
i.e. LFCLK clock signal) and High-Frequency clock signals (OFMCLK,
AHB6_CLK, APBn_CLK, and FMCLK) for the Core domain modules.
depends on SERIAL
Enable support for NPCX UART driver. In NPCX9 series, it includes 4
modules which support full-duplex asynchronous receiver-transmitter
with 16-byte transmit and receive buffers.
depends on GPIO
Enable support for NPCX GPIO driver. In NPCX9 series, it includes 16
ports that support input/output, input-only and output-only
depends on PWM
Enable support for NPCX PWM driver. In NPCX9 series, it includes 8
modules. Each module generates a single 16-bit PWM output. A 16-bit
clock prescaler and a 16-bit counter determine the cycle time, the
minimum possible pulse width and the duty cycle steps.
depends on ADC
Enable support for NPCX ADC driver. In NPCX9 series, it includes a
10-bit resolution Analog-to-Digital Converter (ADC). Up to 12 voltage
inputs can be measured and a internal voltage reference (VREF), 2.816V
(typical) is used for measurement.
depends on WATCHDOG
Enable support for NPCX Watchdog driver. Besides watchdog
functionality, it also provides the protection mechanism over software
execution. After setting the configuration registers, the software can
lock it to provide a higher level of protection against subsequent
erroneous software action. Once a section of the TWD is locked, only
reset or the unlock sequence releases it.
depends on ESPI
Enable support for NPCX ESPI driver. The Intel Enhanced Serial
Peripheral Interface (eSPI) provides a path for migrating host
sub-devices via LPC to a lower pin count, higher bandwidth bus.
So far, this driver supports all of functionalities beside flash
channel support. It will be supported in the future. Please refer
software/chipset-software.html for more detail.
depends on I2C
Enable support for NPCX I2C driver. The NPCX SMB/I2C modules provides
full support for a two-wire SMBus/I2C synchronous serial interface.
Each interface is a two-wire serial interface that is compatible with
both Intel SMBus and Philips I2C physical layer. There are 8 SMBus
modules and 10 buses in NPCX9 series.
depends on SENSOR
Enable support for NPCX tachometer sensor driver. The NPCX9 series
contains two tachometer (TACH) modules that contains two counters
(counter A and B). They are used to capture/compare a counter value
when an event is generated on comparison of signals match.
default y if SYS_CLOCK_EXISTS
Enable the kernel handles extra power management policies whenever
system enters idle state.
Enable device power management support.
endif # SOC_POWER_MANAGEMENT
depends on SPI
Enable support fot NPCX SPI (FIU) driver for the NOR SPI flash access.
endif # SOC_SERIES_NPCX9