aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJulius Werner <[email protected]>2015-03-26 23:30:25 +0000
committerMark Brown <[email protected]>2015-03-27 00:42:21 +0000
commit76b17e6e4923e4138ed9a4d480cba148ff239dc9 (patch)
treedf93239b9d52f60f9031e3b66aefd5a5153e454f /net/switchdev/switchdev.c
parentspi/rockchip: do an error handling in proper time (diff)
downloadkernel-76b17e6e4923e4138ed9a4d480cba148ff239dc9.tar.gz
kernel-76b17e6e4923e4138ed9a4d480cba148ff239dc9.zip
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions