diff options
author | Simon Glass <sjg@chromium.org> | 2013-02-25 17:08:38 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-04-05 05:20:13 -0400 |
commit | 89969009485fa9e62814afaa438c12c45d7d2def (patch) | |
tree | 91fda02a31a094727ade6f8bb35aebdd392b9e61 /drivers/mfd/Kconfig | |
parent | 4ab6174e8cdb007cf500e484bdf454b8d14d524a (diff) |
mfd: Add ChromeOS EC I2C driver
This uses an I2C bus to talk to the ChromeOS EC. The protocol
is defined by the EC and is fairly simple, with a length byte,
checksum, command byte and version byte (to permit easy creation
of new commands).
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Che-Liang Chiou <clchiou@chromium.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index a8bafb560196..4e54b5b01295 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -29,6 +29,16 @@ config MFD_CROS_EC | |||
29 | You also ned to enable the driver for the bus you are using. The | 29 | You also ned to enable the driver for the bus you are using. The |
30 | protocol for talking to the EC is defined by the bus driver. | 30 | protocol for talking to the EC is defined by the bus driver. |
31 | 31 | ||
32 | config MFD_CROS_EC_I2C | ||
33 | tristate "ChromeOS Embedded Controller (I2C)" | ||
34 | depends on MFD_CROS_EC && I2C | ||
35 | |||
36 | help | ||
37 | If you say Y here, you get support for talking to the ChromeOS | ||
38 | EC through an I2C bus. This uses a simple byte-level protocol with | ||
39 | a checksum. Failing accesses will be retried three times to | ||
40 | improve reliability. | ||
41 | |||
32 | config MFD_88PM800 | 42 | config MFD_88PM800 |
33 | tristate "Support Marvell 88PM800" | 43 | tristate "Support Marvell 88PM800" |
34 | depends on I2C=y && GENERIC_HARDIRQS | 44 | depends on I2C=y && GENERIC_HARDIRQS |