summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorDino Li <dino.li@ite.com.tw>2015-06-29 13:54:16 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-06-30 12:22:02 +0000
commit60e110acd147456319b1a671daa44aa817aaec2a (patch)
tree117705d739cf67ba98f5f36189e848f432050297 /include/config.h
parent75b95672ac169a1ee61a3d97c9223dc91384bff7 (diff)
downloadchrome-ec-60e110acd147456319b1a671daa44aa817aaec2a.tar.gz
it8380dev: add i2c control module
Add i2c control module for emulation board. To rename CONFIG_ to CONFIG_IT83XX_ for IT83XX series configuration. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=1. console command "i2cscan" found devices correctly. 2. console command "i2cxfer". 2-a. port2 + battery, i2cxfer r, r16, and rlen OK. 2-b. port1 + slave evb, i2cxfer r, r16, rlen, w, and w16 OK. Change-Id: I67165f7dcdef538ba6dd03b47f1621a73cc68379 Reviewed-on: https://chromium-review.googlesource.com/263678 Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Dino Li <dino.li@ite.com.tw> Tested-by: Dino Li <dino.li@ite.com.tw>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h
index be4d59127c..f7af2ba28b 100644
--- a/include/config.h
+++ b/include/config.h
@@ -935,6 +935,18 @@
/* Number of IRQs supported on the EC chip */
#undef CONFIG_IRQ_COUNT
+/* Enable Wake-up control interrupt from KSI */
+#undef CONFIG_IT83XX_KEYBOARD_KSI_WUC_INT
+
+/* Interrupt for PECI module. (IT839X series and IT838X DX only) */
+#undef CONFIG_IT83XX_PECI_WITH_INTERRUPT
+
+/* To define it, if I2C channel C and PECI used at the same time. */
+#undef CONFIG_IT83XX_SMCLK2_ON_GPC7
+
+/* Use SSPI Chip Enable 1. */
+#undef CONFIG_IT83XX_SPI_USE_CS1
+
/*****************************************************************************/
/* Keyboard config */
@@ -955,9 +967,6 @@
/* Enable extra debugging output from keyboard modules */
#undef CONFIG_KEYBOARD_DEBUG
-/* Enable Wake-up control interrupt from KSI */
-#undef CONFIG_KEYBOARD_KSI_WUC_INT
-
/* The board uses a negative edge-triggered GPIO for keyboard interrupts. */
#undef CONFIG_KEYBOARD_IRQ_GPIO
@@ -1287,9 +1296,6 @@
/* SPI module port. */
#undef CONFIG_SPI_PORT
-/* Use SSPI Chip Enable 1. */
-#undef CONFIG_SPI_USE_CS1
-
/* Support testing SPI slave controller driver. */
#undef CONFIG_SPS_TEST