From: Julius Werner Date: Thu, 26 Mar 2015 23:30:25 +0000 (-0700) Subject: spi/rockchip: Add device tree property to configure Rx Sample Delay X-Git-Tag: omap-for-v4.2/o2_dc~166^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b17e6e4923e4138ed9a4d480cba148ff239dc9;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed