1. 03 Apr, 2019 15 commits
  2. 02 Apr, 2019 4 commits
  3. 01 Apr, 2019 4 commits
  4. 26 Mar, 2019 2 commits
  5. 25 Mar, 2019 3 commits
  6. 21 Mar, 2019 1 commit
    • Arnd Bergmann's avatar
      spi: export tracepoint symbols to modules · ca1438dc
      Arnd Bergmann authored
      The newly added tracepoints in the spi-mxs driver cause a link
      error when the driver is a loadable module:
      
      ERROR: "__tracepoint_spi_transfer_stop" [drivers/spi/spi-mxs.ko] undefined!
      ERROR: "__tracepoint_spi_transfer_start" [drivers/spi/spi-mxs.ko] undefined!
      
      I'm not quite sure where to put the export statements, but
      directly after the inclusion of the header seems as good as
      any other place.
      
      Fixes: f3fdea3a ("spi: mxs: add tracing to custom .transfer_one_message callback")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ca1438dc
  7. 20 Mar, 2019 7 commits
  8. 19 Mar, 2019 3 commits
  9. 18 Mar, 2019 1 commit
    • Rasmus Villemoes's avatar
      spi: spi-fsl-spi: support use of the SPISEL_BOOT signal on MPC8309 · 69b921ac
      Rasmus Villemoes authored
      The MPC8309 has a dedicated signal, SPISEL_BOOT, usually used as chip
      select for the flash device from which the bootloader is loaded. It is
      not an ordinary gpio, but is simply controlled via the SPI_CS register
      in the system configuration.
      
      To allow accessing such a spi slave, we need to teach
      fsl_spi_cs_control() how to control the SPISEL_BOOT signal. To
      distinguish the gpio-controlled slaves, continue to have those use
      chip_select values of 0..ngpios-1, and use chip_select == ngpios for
      the boot flash.
      
      I'm not too happy with all the ifdeffery, but it seems to be necessary
      for guarding the sysdev/fsl_soc.h and use of
      get_immrbase() (spi-fsl-lib.c already contains similar ifdeffery).
      
      Googling suggests that the MPC8306 is similar, with the SPI_CS
      register at the same offset.
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      69b921ac