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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.1.4

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




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux