diff options
author | Alexandru M Stan <amstan@chromium.org> | 2015-06-09 13:04:49 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-15 13:18:24 +0100 |
commit | ff4378f4b813d5aa26bbf814a9060638dab1fbbf (patch) | |
tree | c905a8f1116c051c51a48dabc347585632815332 /mm/cma.h | |
parent | f44c21ff6d2dc76957ddbf26fdf442ee5a9cf3c0 (diff) | |
download | linux-ff4378f4b813d5aa26bbf814a9060638dab1fbbf.tar.bz2 |
mfd: cros_ec: spi: Add delay for asserting CS
Some ECs need a little time for waking up before they can accept
SPI data at a high speed. This is configurable via a DT property
"google,cros-ec-spi-pre-delay".
This patch makes the cros_ec_spi driver to cause a delay before
the beginning of a SPI transaction, to make sure that the EC has
already woken up, if the property has been defined in the DTS.
Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'mm/cma.h')
0 files changed, 0 insertions, 0 deletions