1# NPCX I3C driver configuration options 2 3# Copyright (c) 2024 Nuvoton Technology Corporation. 4# SPDX-License-Identifier: Apache-2.0 5 6DT_I3C_NPCX := $(dt_nodelabel_path,i3c0) 7 8config I3C_NPCX 9 bool "Nuvoton NPCX embedded controller (EC) I3C driver" 10 depends on DT_HAS_NUVOTON_NPCX_I3C_ENABLED 11 select RESET 12 select I3C_IBI_WORKQUEUE if I3C_USE_IBI 13 select PINCTRL 14 default y 15 help 16 This option enables the I3C driver for NPCX family of 17 processors. 18 Say y if you wish to use I3C channels on NPCX MCU. 19 20# Expose this option when the 'reg' property includes the MDMA base address 21# as the second group in the phandle-array. 22# i.e. I3C node example in dtsi file. 23# i3c0: i3c@400f0000 { 24# .... 25# /* reg[0]: I3C_1 register, reg[1]: MDMA5 register */ 26# reg-names = "i3c1", "mdma5"; 27# reg = <0x400f0000 0x2000>, 28# <0x40011500 0x100>; 29# .... 30# } 31config I3C_NPCX_DMA 32 bool "Nuvoton NPCX embedded controller (EC) serial driver DMA support" 33 depends on I3C_NPCX && "$(dt_node_reg_addr_hex,$(DT_I3C_NPCX),1)" != 0 34 select I3C_TARGET_BUFFER_MODE 35 default y 36 help 37 Enable support for npcx I3C DMA mode. 38