Skip to content
Commit 01e73c89 authored by Rhyland Klein's avatar Rhyland Klein Committed by Lee Jones
Browse files

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: default avatarRhyland Klein <rklein@nvidia.com>
Reviewed-by: default avatarBernie Thompson <bhthompson@chromium.org>
Reviewed-by: default avatarAndrew Bresticker <abrestic@chromium.org>
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent daf93d22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment