Merge tag 'spi-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 18:12:32 +0000 (11:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 18:12:32 +0000 (11:12 -0700)
Pull spi updates from Mark Brown:
 "Another quiet release for SPI, almost entirely driver specific changes
  with the diffstat dominated by two new drivers which are about two
  thirds of it in terms of lines of code:

   - new drivers for PIC32 standard and SQI controllers
   - the Cadence driver has had runtime PM support added and quite a few
     fixes and cleanups
   - flash-specific accelerated path support now has a feature query
     interface
   - the pxa2xx driver has been moved to use the core DMA mapping support"

* tag 'spi-v4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi: (48 commits)
  spi: pic32-sqi: Fix linker error, undefined reference to `bad_dma_ops'
  spi: dw-pci: Spelling s/paltforms/platforms/g
  spi: pic32-sqi: Remove pic32_sqi_setup and pic32_sqi_cleanup
  spi: Fix simple typo s/impelment/implement
  spi: rockchip: potential NULL dereference on error
  spi: zynqmp: disable clocks in error paths
  spi: Drop unnecessary dependencies on relaxed I/O accessors
  spi: qup: Add spi_master_put in remove function
  spi: qup: Handle clocks in pm_runtime suspend and resume
  spi: st-ssc4: Fix missing spi_master_put in spi_st_probe error paths
  spi: st-ssc4: Allow compile test build
  spi: omap2-mcspi: Use dma_request_chan() for requesting DMA channel
  spi: davinci: Use dma_request_chan() for requesting DMA channel
  spi: pic32: Fix checking return value of devm_ioremap_resource
  spi: spi-fsl-dspi: Update DT binding documentation
  spi: Drop duplicate code to set master->dev.parent
  spi: pic32: Set proper bits_per_word_mask
  spi: return error if kmap'd buffers passed to spi_map_buf()
  spi: core: add hook flash_read_supported to spi_master
  spi: pic32-sqi: silence array overflow warning
  ...

1  2 
Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
drivers/spi/spi-pxa2xx-pci.c

index 1ad0fe310ff990966cb18ae64c1e992793086c52,d2969d2ceb4b6a490f41641e832ed5718681d123..ff5893d275a2132e63f5f824f9a074d18e904865
@@@ -1,10 -1,7 +1,10 @@@
  ARM Freescale DSPI controller
  
  Required properties:
 -- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi", "fsl,ls2085a-dspi"
 +- compatible : "fsl,vf610-dspi", "fsl,ls1021a-v1.0-dspi",
 +              "fsl,ls2085a-dspi"
 +              or
 +              "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi"
  - reg : Offset and length of the register set for the device
  - interrupts : Should contain SPI controller interrupt
  - clocks: from common clock binding: handle to dspi clock.
@@@ -16,8 -13,7 +16,7 @@@
  
  Optional property:
  - big-endian: If present the dspi device's registers are implemented
-   in big endian mode, otherwise in native mode(same with CPU), for more
-   detail please see: Documentation/devicetree/bindings/regmap/regmap.txt.
+   in big endian mode.
  
  Optional SPI slave node properties:
  - fsl,spi-cs-sck-delay: a delay in nanoseconds between activating chip
index 4fd7f9802f1b12fa1d21788f490aa185eb3cbd3e,83706aeb39b2a8c20a976c1072e0e0b633d873b1..5202de94f792c4bf8e38bf0d6c1da94586ae26f9
@@@ -144,16 -144,16 +144,16 @@@ static int pxa2xx_spi_pci_probe(struct 
                struct dw_dma_slave *slave = c->tx_param;
  
                slave->dma_dev = &dma_dev->dev;
 -              slave->src_master = 1;
 -              slave->dst_master = 0;
 +              slave->m_master = 0;
 +              slave->p_master = 1;
        }
  
        if (c->rx_param) {
                struct dw_dma_slave *slave = c->rx_param;
  
                slave->dma_dev = &dma_dev->dev;
 -              slave->src_master = 1;
 -              slave->dst_master = 0;
 +              slave->m_master = 0;
 +              slave->p_master = 1;
        }
  
        spi_pdata.dma_filter = lpss_dma_filter;
        ssp->type = c->type;
  
        snprintf(buf, sizeof(buf), "pxa2xx-spi.%d", ssp->port_id);
-       ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL,
-                                       CLK_IS_ROOT, c->max_clk_rate);
+       ssp->clk = clk_register_fixed_rate(&dev->dev, buf , NULL, 0,
+                                          c->max_clk_rate);
         if (IS_ERR(ssp->clk))
                return PTR_ERR(ssp->clk);
  
This page took 0.028891 seconds and 5 git commands to generate.