1. 25 Sep, 2020 1 commit
  2. 24 Sep, 2020 3 commits
  3. 23 Sep, 2020 1 commit
  4. 22 Sep, 2020 2 commits
  5. 21 Sep, 2020 1 commit
  6. 17 Sep, 2020 11 commits
  7. 14 Sep, 2020 12 commits
  8. 09 Sep, 2020 4 commits
  9. 08 Sep, 2020 5 commits
    • Mark Brown's avatar
      Merge series "spi: Adding support for Microchip Sparx5 SoC" from Lars Povlsen... · b0b71a6f
      Mark Brown authored
      Merge series "spi: Adding support for Microchip Sparx5 SoC" from Lars Povlsen <lars.povlsen@microchip.com>:
      
      The series add support for the Sparx5 SoC SPI controller in the
      spi-dw-mmio.c spi driver.
      
      v5 changes:
      - rx-sample-delay-ns documentation changes from Rob Herring:
       - Drop superfluous type $ref
       - Add default value = 0
      
      v4 changes:
      - Changed snps,rx-sample-delay-ns to snps,rx-sample-delay-ns
        suggested by Rob Herring (rockchip also has this property).
      - Added support for controller-level rx-sample-delay-ns value as
        well as per SPI slave value (rockchip has controller-level property).
      - Dropped internal mux in favor of suggested spi-mux to
        control bus inteface selection.
      
      v3 changes:
      - Added mux support for controlling SPI bus interface. This is new mux
        driver, bindings and added to sparx5 base DT.
      - Removed "microchip,spi-interface2" property in favour of
        "mux-controls" property in SPI controller (sparx5 only).
      - Changed dw_spi_sparx5_set_cs() to use the mux control instead of
        directly acessing "mux" register. Associated code/defines moved to mux
        driver.
      - Changed dw_spi_sparx5_set_cs() to match other similar functions in
        signature and avoid explicit CS toggling.
      - Spun off duplicated NAND device DT chunks into separate DT file.
      
      v2 changes:
      - Moved all RX sample delay into spi-dw-core.c, using
        the "snps,rx-sample-delay-ns" device property.
      - Integrated Sparx5 support directly in spi-dw-mmio.c
      - Changed SPI2 configuration to per-slave "microchip,spi-interface2"
        property.
      - Added bindings to existing snps,dw-apb-ssi.yaml file
      - Dropped patches for polled mode and SPI memory operations.
      
      Lars Povlsen (6):
        spi: dw: Add support for RX sample delay register
        spi: dw: Add Microchip Sparx5 support
        arm64: dts: sparx5: Add SPI controller and associated mmio-mux
        dt-bindings: snps,dw-apb-ssi: Add sparx5 support, plus
          rx-sample-delay-ns property
        arm64: dts: sparx5: Add spi-nor support
        arm64: dts: sparx5: Add spi-nand devices
      
       .../bindings/spi/snps,dw-apb-ssi.yaml         | 21 ++++++
       arch/arm64/boot/dts/microchip/sparx5.dtsi     | 47 ++++++++++++-
       .../arm64/boot/dts/microchip/sparx5_nand.dtsi | 31 ++++++++
       .../boot/dts/microchip/sparx5_pcb125.dts      | 30 ++++++++
       .../boot/dts/microchip/sparx5_pcb134.dts      |  1 +
       .../dts/microchip/sparx5_pcb134_board.dtsi    | 16 +++++
       .../boot/dts/microchip/sparx5_pcb135.dts      |  1 +
       .../dts/microchip/sparx5_pcb135_board.dtsi    | 16 +++++
       drivers/spi/spi-dw-core.c                     | 26 +++++++
       drivers/spi/spi-dw-mmio.c                     | 70 ++++++++++++++++++-
       drivers/spi/spi-dw.h                          |  3 +
       11 files changed, 260 insertions(+), 2 deletions(-)
       create mode 100644 arch/arm64/boot/dts/microchip/sparx5_nand.dtsi
      
      --
      2.27.0
      
      _______________________________________________
      linux-arm-kernel mailing list
      linux-arm-kernel@lists.infradead.org
      http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
      b0b71a6f
    • Ikjoon Jang's avatar
      spi: spi-mtk-nor: support standard spi properties · a59b2c7c
      Ikjoon Jang authored
      Use default supports_op() to support spi-[rt]x-bus-width properties.
      And check dummy op's byte length instead of its bus width for output.
      Signed-off-by: default avatarIkjoon Jang <ikjn@chromium.org>
      Link: https://lore.kernel.org/r/20200826091852.519138-1-ikjn@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a59b2c7c
    • Krzysztof Kozlowski's avatar
      spi: tegra20: Simplify with dev_err_probe() · 7708aff1
      Krzysztof Kozlowski authored
      Common pattern of handling deferred probe can be simplified with
      dev_err_probe().  Less code and the error value gets printed.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20200901152713.18629-11-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      7708aff1
    • Krzysztof Kozlowski's avatar
      spi: tegra114: Simplify with dev_err_probe() · 68fffc19
      Krzysztof Kozlowski authored
      Common pattern of handling deferred probe can be simplified with
      dev_err_probe().  Less code and the error value gets printed.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20200901152713.18629-10-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      68fffc19
    • Krzysztof Kozlowski's avatar
      spi: synquacer: Simplify with dev_err_probe() · 74ee6dc1
      Krzysztof Kozlowski authored
      Common pattern of handling deferred probe can be simplified with
      dev_err_probe().  Less code and the error value gets printed.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20200901152713.18629-9-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      74ee6dc1