diff options
author | Tony Lindgren <tony@atomide.com> | 2020-06-01 17:18:56 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-06-02 09:26:25 -0700 |
commit | 0df12a01f4857495816b05f048c4c31439446e35 (patch) | |
tree | 3bc538b7d4e8e3cc77c33be56b9a21a8a43fab3c /drivers/bus | |
parent | 5ce8aee81be6c8bc19051d7c7b0d3cbb7ac5fc3f (diff) |
ARM: dts: omap4-droid4: Fix spi configuration and increase rate
We can currently sometimes get "RXS timed out" errors and "EOT timed out"
errors with spi transfers.
These errors can be made easy to reproduce by reading the cpcap iio
values in a loop while keeping the CPUs busy by also reading /dev/urandom.
The "RXS timed out" errors we can fix by adding spi-cpol and spi-cpha
in addition to the spi-cs-high property we already have.
The "EOT timed out" errors we can fix by increasing the spi clock rate
to 9.6 MHz. Looks similar MC13783 PMIC says it works at spi clock rates
up to 20 MHz, so let's assume we can pick any rate up to 20 MHz also
for cpcap.
Cc: maemo-leste@lists.dyne.org
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions