1. 08 Apr, 2021 1 commit
  2. 07 Apr, 2021 2 commits
  3. 01 Apr, 2021 3 commits
  4. 31 Mar, 2021 4 commits
  5. 29 Mar, 2021 1 commit
  6. 25 Mar, 2021 4 commits
  7. 24 Mar, 2021 11 commits
  8. 23 Mar, 2021 4 commits
  9. 19 Mar, 2021 1 commit
  10. 17 Mar, 2021 2 commits
  11. 16 Mar, 2021 5 commits
  12. 12 Mar, 2021 2 commits
    • Mark Brown's avatar
      Merge series "spi: finalize 'delay_usecs' removal/transition" from Alexandru... · d11233e0
      Mark Brown authored
      Merge series "spi: finalize 'delay_usecs' removal/transition" from Alexandru Ardelean <aardelean@deviqon.com>:
      
      A while back I started the introduction of the 'spi_delay' data type:
        https://lore.kernel.org/linux-spi/20190926105147.7839-1-alexandru.ardelean@analog.com/
      
      Users of the 'delay_usecs' were removed from drivers.
      
      Now it's time to remove the 'delay_usecs' from the SPI subsystem and use
      only the 'delay' field.
      
      This changeset adapts all SPI drivers to do without 'delay_usecs'.
      Additionally, for greybus we need to adapt it to use the 'delay' in
      nano-seconds and convert it to micro-seconds.
      
      Alexandru Ardelean (10):
        spi: spi-axi-spi-engine: remove usage of delay_usecs
        spi: bcm63xx-spi: don't check 'delay_usecs' field
        spi: spi-bcm-qspi: replace 'delay_usecs' with 'delay.value' check
        spi: spi-sh: replace 'delay_usecs' with 'delay.value' in pr_debug
        spi: spi-tegra20-flash: don't check 'delay_usecs' field for spi
          transfer
        staging: greybus: spilib: use 'spi_delay_to_ns' for getting xfer delay
        spi: spi-falcon: remove check for 'delay_usecs'
        spi: fsl-espi: remove usage of 'delay_usecs' field
        spi: core: remove 'delay_usecs' field from spi_transfer
        spi: docs: update info about 'delay_usecs'
      
       Documentation/spi/spi-summary.rst |  7 +++++--
       drivers/spi/spi-axi-spi-engine.c  | 12 ++++--------
       drivers/spi/spi-bcm-qspi.c        |  2 +-
       drivers/spi/spi-bcm63xx.c         |  2 +-
       drivers/spi/spi-falcon.c          |  2 +-
       drivers/spi/spi-fsl-espi.c        | 17 +++++------------
       drivers/spi/spi-sh.c              |  4 ++--
       drivers/spi/spi-tegra20-sflash.c  |  3 +--
       drivers/spi/spi.c                 |  1 -
       drivers/staging/greybus/spilib.c  |  5 ++++-
       include/linux/spi/spi.h           | 12 ------------
       11 files changed, 24 insertions(+), 43 deletions(-)
      
      --
      2.29.2
      
      _______________________________________________
      devel mailing list
      devel@linuxdriverproject.org
      http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
      d11233e0
    • Alain Volmat's avatar
      spi: stm32: avoid ifdef CONFIG_PM for pm callbacks · 12ef51b1
      Alain Volmat authored
      Avoid CONFIG_PM preprocessor check for pm suspend/resume
      callbacks and identify the functions with __maybe_unused.
      Signed-off-by: default avatarAlain Volmat <alain.volmat@foss.st.com>
      Link: https://lore.kernel.org/r/1615545329-5496-1-git-send-email-alain.volmat@foss.st.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      12ef51b1