1. 23 10月, 2015 1 次提交
    • J
      spi/bcm63xx: move register definitions into the driver · 44d8fb30
      Jonas Gorski 提交于
      Move all register definitions and structs into the driver. This allows
      us dropping the platform_data struct and drop any arch specific
      includes. Make use of different device names to identify the version of
      the block we have.
      
      Since we now have full control over the message width, we can drop the
      size check, which was broken anyway, since it never set ret to any error
      code.
      
      Also since we now have no arch depedendent resources, we can now allow
      compiling it for any arch, hidden behind COMPILE_TEST.
      Signed-off-by: NJonas Gorski <jogo@openwrt.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      44d8fb30
  2. 13 10月, 2015 1 次提交
  3. 30 7月, 2014 1 次提交
  4. 01 7月, 2013 1 次提交
  5. 08 5月, 2013 2 次提交
  6. 08 4月, 2013 1 次提交
  7. 17 8月, 2012 1 次提交
    • F
      MIPS: BCM63xx: Fix SPI message control register handling for BCM6338/6348. · 5a670445
      Florian Fainelli 提交于
      BCM6338 and BCM6348 have a message control register width of 8 bits, instead
      of 16-bits like what the SPI driver assumes right now. Also the SPI message
      type shift value of 14 is actually 6 for these SoCs.
      This resulted in transmit FIFO corruption because we were writing 16-bits
      to an 8-bits wide register, thus spanning on the first byte of the transmit
      FIFO, which had already been filed in bcm63xx_spi_fill_txrx_fifo().
      
      Fix this by passing the message control register width and message type
      shift through platform data back to the SPI driver so that it can use
      it properly.
      Signed-off-by: NFlorian Fainelli <florian@openwrt.org>
      Cc: linux-mips@linux-mips.org
      Cc: grant.likely@secretlab.ca
      Cc: spi-devel-general@lists.sourceforge.net
      Cc: jonas.gorski@gmail.com
      Patchwork: https://patchwork.linux-mips.org/patch/3983/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      5a670445
  8. 24 7月, 2012 1 次提交
  9. 23 7月, 2012 1 次提交