@@ -745,6 +781,11 @@ static int omap2_mcspi_setup_transfer(struct
spi_device *spi,
mcspi = spi_master_get_devdata(spi->master);
spi_cntrl = mcspi->master;
+ if (!cd && spi->dev.of_node) {
+ cd = omap2_mcspi_get_slave_ctrldata(spi);
> + spi->c
On Tue, Mar 26, 2013 at 12:00:15AM +0100, Matthias Brugger wrote:
> +- The spi slave nodes can provide the following information which is used
> + by the spi controller.
> +- ti,spi-cs-per-word: Set chipselect to be toggled on every word send.
Why is this part of the DT binding for the SPI cont
On Mon, Apr 08, 2013 at 02:18:00PM +0200, Matthias Brugger wrote:
> 2013/3/26 Matthias Brugger
> > TI omap2 mcspi allows the slave devices to configure the behavior of
> > the SPI master. This patch adds device tree support to the existing
> > options.
> Any comments on this patch?
Don't send c
TI omap2 mcspi allows the slave devices to configure the behavior of
the SPI master. This patch adds device tree support to the existing
options.
Signed-off-by: Matthias Brugger
---
Documentation/devicetree/bindings/spi/omap-spi.txt | 23
drivers/spi/spi-omap2-mcspi.c
4 matches
Mail list logo