1. 10 3月, 2015 2 次提交
  2. 07 3月, 2015 2 次提交
  3. 06 3月, 2015 1 次提交
  4. 27 1月, 2015 1 次提交
  5. 08 1月, 2015 1 次提交
    • A
      spi: dw-pci: describe Intel MID controllers better · d58cf5ff
      Andy Shevchenko 提交于
      There are more that one SPI controller on the Intel MID boards. This patch
      describes the status and IDs of them. From now on we also have to care about
      bus number that must be unique per host.
      
      According to the specification the SPI1 has 5 bits for chip selects and SPI2
      only 2 bits. The patch makes it depend to PCI ID.
      
      The first controller (SPI1) is DMA capable, meanwhile SPI2 can share same
      channels (via software switch) such functionality is not in the scope of this
      patch. Thus, attempt to init DMA for SPI2 will always fail for now.
      Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      d58cf5ff
  6. 06 1月, 2015 1 次提交
  7. 29 10月, 2014 2 次提交
  8. 13 10月, 2014 1 次提交
  9. 03 10月, 2014 3 次提交
  10. 24 9月, 2014 2 次提交
  11. 14 9月, 2014 4 次提交
  12. 15 11月, 2013 1 次提交
  13. 21 3月, 2012 1 次提交
  14. 22 2月, 2012 1 次提交
  15. 31 10月, 2011 1 次提交
  16. 21 9月, 2011 1 次提交
    • H
      spi: spi-dw: fix all sparse warnings · 7eb187b3
      H Hartley Sweeten 提交于
      The dw_{read,write}[lw] macros produce sparse warnings everytime they
      are used.  The "read" ones cause:
      
      warning: cast removes address space of expression
      warning: incorrect type in argument 1 (different address spaces)
         expected void const volatile [noderef] <asn:2>*addr
         got unsigned int *<noident>
      
      And the "write" ones:
      
      warning: cast removes address space of expression
      warning: incorrect type in argument 2 (different address spaces)
         expected void volatile [noderef] <asn:2>*addr
         got unsigned int *<noident>
      
      Fix this by removing struct dw_spi_reg and converting all the register
      offsets to #defines. Then convert the macros into inlined functions so
      that proper type checking can occur.
      
      While here, also fix the three sparse warnings in spi-dw-mid.c due to
      the return value of ioremap_nocache being stored in a u32 * not a
      void __iomem *.
      
      With these changes the spi-dw* files all build with no sparse warnings.
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Acked-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      7eb187b3
  17. 06 6月, 2011 1 次提交
  18. 19 3月, 2011 1 次提交
    • G
      spi/dw_spi: move dw_spi.h into drivers/spi · 568a60ed
      Grant Likely 提交于
      include/linux/dw_spi.h only includes driver internal data.  It doesn't
      expose a platform_data configuration structure or similar (at least
      nothing in-tree).  This patch moves the header into drivers/spi so
      that the scope is limited to only the dw_spi_*.c driver files
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Feng Tang <feng.tang@intel.com>
      Cc: spi-devel-general@lists.sourceforge.net
      568a60ed
  19. 24 12月, 2010 1 次提交