summaryrefslogtreecommitdiff
path: root/drivers/mfd/cros_ec_spi.c
diff options
context:
space:
mode:
authorAlexandru M Stan <amstan@chromium.org>2015-06-09 13:04:48 +0200
committerLee Jones <lee.jones@linaro.org>2015-06-15 13:18:24 +0100
commitf44c21ff6d2dc76957ddbf26fdf442ee5a9cf3c0 (patch)
tree3fe15679d281affe3e6cc656934d48d307c2985a /drivers/mfd/cros_ec_spi.c
parent57b33ff077beebb68481a2b6b8e5fe58ca998169 (diff)
mfd: cros_ec: spi: Add a DT property to delay asserting the CS
Some ECs need a little time for waking up before they can accept SPI data at a high speed. Add a "google,cros-ec-spi-pre-delay" property to the DT binding to configure this. 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 beginning of a transaction. 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 'drivers/mfd/cros_ec_spi.c')
0 files changed, 0 insertions, 0 deletions