summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_shi/Kconfig
diff options
context:
space:
mode:
authortim <tim2.lin@ite.corp-partner.google.com>2021-03-22 08:23:08 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-21 16:08:54 +0000
commit16f1f97ff6d453191689fa4cda61aae34f9e2c58 (patch)
treee20cfec810c98577a88bd6bd2c2a1c97952810af /zephyr/drivers/cros_shi/Kconfig
parent9ef1edbc3bc25988acf8d40c24002d961ccea86d (diff)
downloadchrome-ec-16f1f97ff6d453191689fa4cda61aae34f9e2c58.tar.gz
zephyr/drivers: it8xxx2: add SPI host interface driver
Add spi host interface driver which is required to communicate with the EC when the CPU is the ARM processor. BUG=b:185202623 BRANCH=none TEST=replaced board hayato's EC with it81202_evb and the host command can be received and responded. Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com> Change-Id: I25ccdd0b29bf46b6a4ad451150f63b47dc9d3b97 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2813841 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'zephyr/drivers/cros_shi/Kconfig')
-rw-r--r--zephyr/drivers/cros_shi/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/drivers/cros_shi/Kconfig b/zephyr/drivers/cros_shi/Kconfig
index 0d46fab3be..54c393e00f 100644
--- a/zephyr/drivers/cros_shi/Kconfig
+++ b/zephyr/drivers/cros_shi/Kconfig
@@ -33,3 +33,11 @@ config CROS_SHI_NPCX_DEBUG
print the debug messages for SHI module
endif # CROS_SHI_NPCX
+
+config CROS_SHI_IT8XXX2
+ bool "ITE it81202 spi host interface driver for Zephyr"
+ depends on SOC_FAMILY_RISCV_ITE && AP_ARM
+ default y if PLATFORM_EC_HOSTCMD
+ help
+ This option enables spi host interface driver which is required to
+ communicate with the EC when the CPU is the ARM processor.