Stefan Reinauer | d6682e8 | 2013-02-21 15:39:35 -0800 | [diff] [blame] | 1 | config EC_GOOGLE_CHROMEEC |
| 2 | bool |
| 3 | help |
| 4 | Google's Chrome EC |
| 5 | |
Shawn Nematbakhsh | 37b7a66 | 2015-03-24 11:07:51 -0700 | [diff] [blame] | 6 | config EC_GOOGLE_CHROMEEC_ACPI_MEMMAP |
| 7 | depends on EC_GOOGLE_CHROMEEC_LPC |
| 8 | def_bool n |
| 9 | help |
| 10 | When defined, ACPI accesses EC memmap data on ports 66h/62h. When |
| 11 | not defined, the memmap data is instead accessed on 900h-9ffh via |
| 12 | the LPC bus. |
| 13 | |
Hung-Te Lin | 6bfbb33 | 2013-04-15 18:27:24 +0800 | [diff] [blame] | 14 | config EC_GOOGLE_CHROMEEC_I2C |
Gabe Black | 3fb30ee | 2013-07-09 13:15:05 -0700 | [diff] [blame] | 15 | depends on EC_GOOGLE_CHROMEEC |
Hung-Te Lin | a904f9e | 2013-04-11 15:58:12 +0800 | [diff] [blame] | 16 | bool |
Gabe Black | 3fb30ee | 2013-07-09 13:15:05 -0700 | [diff] [blame] | 17 | default n |
Hung-Te Lin | 6bfbb33 | 2013-04-15 18:27:24 +0800 | [diff] [blame] | 18 | help |
| 19 | Google's Chrome EC via I2C bus. |
| 20 | |
| 21 | config EC_GOOGLE_CHROMEEC_I2C_BUS |
| 22 | depends on EC_GOOGLE_CHROMEEC_I2C |
| 23 | hex "I2C bus for Google's Chrome EC" |
| 24 | |
| 25 | config EC_GOOGLE_CHROMEEC_I2C_CHIP |
| 26 | depends on EC_GOOGLE_CHROMEEC_I2C |
| 27 | hex |
| 28 | default 0x1e |
| 29 | |
Aaron Durbin | aee78f0 | 2014-08-06 14:38:52 -0500 | [diff] [blame] | 30 | config EC_GOOGLE_CHROMEEC_I2C_PROTO3 |
| 31 | depends on EC_GOOGLE_CHROMEEC_I2C |
| 32 | bool |
| 33 | default n |
| 34 | help |
| 35 | Use only proto3 for i2c EC communication. |
| 36 | |
Hung-Te Lin | 6bfbb33 | 2013-04-15 18:27:24 +0800 | [diff] [blame] | 37 | config EC_GOOGLE_CHROMEEC_LPC |
Shawn Nematbakhsh | 37b7a66 | 2015-03-24 11:07:51 -0700 | [diff] [blame] | 38 | depends on EC_GOOGLE_CHROMEEC && ARCH_X86 # Needs Plug-and-play. |
Hung-Te Lin | 0ee7062 | 2013-06-26 19:42:12 +0800 | [diff] [blame] | 39 | def_bool y |
Marc Jones | b335c3d | 2015-03-13 14:26:08 -0600 | [diff] [blame] | 40 | select SERIRQ_CONTINUOUS_MODE |
Hung-Te Lin | a904f9e | 2013-04-11 15:58:12 +0800 | [diff] [blame] | 41 | help |
| 42 | Google Chrome EC via LPC bus. |
Hung-Te Lin | 0ee7062 | 2013-06-26 19:42:12 +0800 | [diff] [blame] | 43 | |
Shawn Nematbakhsh | 5725ea3 | 2015-04-01 16:52:37 -0700 | [diff] [blame^] | 44 | config EC_GOOGLE_CHROMEEC_MEC |
| 45 | depends on EC_GOOGLE_CHROMEEC_LPC |
| 46 | def_bool n |
| 47 | help |
| 48 | Microchip EC variant for LPC register access. |
| 49 | |
Hung-Te Lin | 0ee7062 | 2013-06-26 19:42:12 +0800 | [diff] [blame] | 50 | config EC_GOOGLE_CHROMEEC_SPI |
| 51 | depends on EC_GOOGLE_CHROMEEC |
| 52 | def_bool n |
| 53 | help |
| 54 | Google's Chrome EC via SPI bus. |
| 55 | |
| 56 | config EC_GOOGLE_CHROMEEC_SPI_BUS |
| 57 | depends on EC_GOOGLE_CHROMEEC_SPI |
| 58 | hex "SPI bus for Google's Chrome EC" |
| 59 | |
David Hendricks | 767d245 | 2014-09-27 20:04:49 -0700 | [diff] [blame] | 60 | config EC_GOOGLE_CHROMEEC_SPI_WAKEUP_DELAY_US |
| 61 | depends on EC_GOOGLE_CHROMEEC_SPI |
| 62 | int |
| 63 | default 0 |
| 64 | help |
| 65 | Force delay after asserting /CS to allow EC to wakeup. |
| 66 | |
Hung-Te Lin | 0ee7062 | 2013-06-26 19:42:12 +0800 | [diff] [blame] | 67 | config EC_GOOGLE_CHROMEEC_SPI_CHIP |
| 68 | depends on EC_GOOGLE_CHROMEEC_SPI |
| 69 | hex |
| 70 | default 0 |