- 18 4月, 2014 1 次提交
-
-
由 Karicheri, Muralidharan 提交于
Currently davinci spi driver supports only bus 0 cs 0. This patch allows driver to support bus 1 and bus 2 with configurable number of chip selects. Also defaults are selected in a way to avoid regression on other platforms that uses davinci spi driver and has only one spi bus. Signed-off-by: NRex Chang <rchang@ti.com> Signed-off-by: NMurali Karicheri <m-karicheri2@ti.com> Reviewed-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 19 3月, 2013 1 次提交
-
-
由 Simon Glass 提交于
Rather than each driver having its own way to allocate a SPI slave, use the new allocation function everywhere. This will make it easier to extend the interface without breaking drivers. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 06 7月, 2010 1 次提交
-
-
由 Nick Thompson 提交于
Two Indentation fixes. Catch requests for full-duplex transfers when driver configured for half-duplex operation only. Signed-off-by: NNick Thompson <nick.thompson@ge.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 22 6月, 2010 1 次提交
-
-
由 Nick Thompson 提交于
The following restructuring and optimisations increase the SPI read performance from 1.3MiB/s (on da850) to 2.87MiB/s (on da830): Remove continual revaluation of driver state from the core of the copy loop. State can not change during the copy loop, so it is possible to move these evaluations to before the copy loop. Cost is more code space as loop variants are required for each set of possible configurations. The loops are simpler however, so the extra is only 128bytes on da830 with CONFIG_SPI_HALF_DUPLEX defined. Unrolling the first copy loop iteration allows the TX buffer to be pre-loaded reducing SPI clock starvation. Unrolling the last copy loop iteration removes testing for the final loop iteration every time round the loop. Using the RX buffer empty flag as a transfer throttle allows the assumption that it is always safe to write to the TX buffer, so polling of TX buffer full flag can be removed. Signed-off-by: NNick Thompson <nick.thompson@ge.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 08 6月, 2010 2 次提交
-
-
由 Delio Brignoli 提交于
I have updated this patch based on the comments [1] by Wolfgang Denk and removed unused variables. [1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html] Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM, SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file. Remove unused variables in the spi_xfer() function. Signed-off-by: NDelio Brignoli <dbrignoli@audioscience.com> Tested-by: NBen Gardiner <bengardiner@nanometrics.ca> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Delio Brignoli 提交于
I have updated this patch based on the comments [1] by Wolfgang Denk and removed unused variables. [1][http://lists.denx.de/pipermail/u-boot/2010-May/071728.html] Reduce the number of reads per byte transferred on the BUF register from 2 to 1 and take advantage of the TX buffer in the SPI module. On LogicPD OMAP-L138 EVM, SPI read throughput goes up from ~0.8Mbyte/s to ~1.3Mbyte/s. Tested with a 2Mbyte image file. Remove unused variables in the spi_xfer() function. Signed-off-by: NDelio Brignoli <dbrignoli@audioscience.com> Tested-by: NBen Gardiner <bengardiner@nanometrics.ca> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 13 3月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
Coding style cleanup, update CHANGELOG. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 13 2月, 2010 1 次提交
-
-
由 Sekhar Nori 提交于
This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments. Signed-off-by: NSekhar Nori <nsekhar@ti.com> Signed-off-by: NSudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 01 2月, 2010 1 次提交
-
-
由 Sekhar Nori 提交于
This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments. Signed-off-by: NSekhar Nori <nsekhar@ti.com> Signed-off-by: NSudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-