diff options
| author | Stephen Barber <[email protected]> | 2015-06-09 13:04:46 +0200 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2015-06-15 13:18:22 +0100 |
| commit | d365407079d33106f76bd486a863de05eb5ae95d (patch) | |
| tree | 46cc169453a614fee690d5ce9df51ed992222c4c /include/linux | |
| parent | 2c7589af3c4dee844e6a4174f2aa8996cf837604 (diff) | |
mfd: cros_ec: add bus-specific proto v3 code
Add proto v3 support to the SPI, I2C, and LPC.
Signed-off-by: Stephen Barber <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Reviewed-by: Gwendal Grignou <[email protected]>
Tested-by: Gwendal Grignou <[email protected]>
Acked-by: Lee Jones <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/cros_ec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/cros_ec.h b/include/linux/mfd/cros_ec.h index 59d909434efd..92e13aaa450c 100644 --- a/include/linux/mfd/cros_ec.h +++ b/include/linux/mfd/cros_ec.h @@ -22,6 +22,12 @@ #include <linux/mutex.h> /* + * The EC is unresponsive for a time after a reboot command. Add a + * simple delay to make sure that the bus stays locked. + */ +#define EC_REBOOT_DELAY_MS 50 + +/* * Max bus-specific overhead incurred by request/responses. * I2C requires 1 additional byte for requests. * I2C requires 2 additional bytes for responses. |