diff options
author | Rhyland Klein <rklein@nvidia.com> | 2013-12-09 15:36:09 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 12:28:06 +0400 |
commit | 01e73c89cf03c020e586dc9e30d52a6e098853f6 (patch) | |
tree | daef78c50110f4fed3218742bf8c6560e3645639 /drivers/mfd/mfd-core.c | |
parent | daf93d2287ff8eb4a2f28224275fb02d623df2ab (diff) | |
download | linux-01e73c89cf03c020e586dc9e30d52a6e098853f6.tar.xz |
mfd: cros ec: spi: Add delay for raising CS
The EC has specific timing it requires. Add support for an optional delay
after raising CS to fix timing issues. This is configurable based on
a DT property "google,cros-ec-spi-msg-delay".
If this property isn't set, then no delay will be added. However, if set
it will cause a delay equal to the value passed to it to be inserted at
the end of a transaction.
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mfd-core.c')
0 files changed, 0 insertions, 0 deletions