Skip to content

spi: pxa2xx: allow to set mostly any baudrate for Quark case

Andy Shevchenko linux-spi 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am 1427211802-217454-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first

  1. v1 Latest2 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2spi: pxa2xx: shift clk_div in one placedrivers/spi/spi-pxa2xx.c+5 -51 reply
2/2spi: pxa2xx: replace ugly table by approximationdrivers/spi/spi-pxa2xx.c+89 -624 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] spi: pxa2xx: allow to set mostly any baudrate for Quark case

Currently driver relies on a table that is really unflexible and contains only small subset of all possible variabts.

The patch series replaces the table by an approximation.

The code has been tested on Galileo Gen 1 board with loopback mode enabled.

Mark, it would be nice to have this in 4.0-rcX since it will be the first kernel with Quark support. And I applied necessary patch to allow user to select SPI driver for it, though it's up to you.

P.S. It was my bad I had to insist to use the approximation instead of some unflexible tables in the first place.

Andy Shevchenko (2):
spi: pxa2xx: shift clk_div in one place
spi: pxa2xx: replace ugly table by approximation

 drivers/spi/spi-pxa2xx.c | 161 +++++++++++++++++++++++++++--------------------
 1 file changed, 94 insertions(+), 67 deletions(-)
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html