diff options
author | Julius Werner <jwerner@chromium.org> | 2015-03-27 02:30:25 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-27 03:42:21 +0300 |
commit | 76b17e6e4923e4138ed9a4d480cba148ff239dc9 (patch) | |
tree | df93239b9d52f60f9031e3b66aefd5a5153e454f /drivers/spi/spi-sc18is602.c | |
parent | 2291793cc4c6b1251e28a4ff0f98041147d57e96 (diff) | |
download | linux-76b17e6e4923e4138ed9a4d480cba148ff239dc9.tar.xz |
spi/rockchip: Add device tree property to configure Rx Sample Delay
We have found that we can sometimes see read failures on boards with
high-capacitance SPI lines. It seems that the controller samples the Rx
data line too early, and its register interface has an "Rx Sample Delay"
setting to fine-tune against this issue.
This patch adds a new optional device tree entry that can configure this
delay in terms of nanoseconds. The kernel will calculate the
best-fitting amount of parent clock ticks to program the controller with
based on that.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sc18is602.c')
0 files changed, 0 insertions, 0 deletions