1. 10 Nov, 2020 3 commits
    • Andre Przywara's avatar
      spi: Avoid signed shifts · de784a7c
      Andre Przywara authored
      
      
      Shifting signed types to the left is dodgy, especially by 31 bits, since
      it depends on the result type whether the result is undefined or not.
      
      Do not take any chances here, and mark those shift bases as unsigned where
      we can or will hit bit 31, to avoid undefined behaviour.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      de784a7c
    • Andre Przywara's avatar
      spi: Add support for H6 · 68140367
      Andre Przywara authored
      
      
      As Icenowy rightfully assumed, the V831 SPI support covers the H6 as
      well. The only difference was a slight deviation in the pinmux setup:
      the H6 has the SPI0-CS on pin PC5, the V831 on pin PC1.
      
      Just add the right SoC ID and tweak the pinmux setup to enable it.
      
      Tested on a Pine H64.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      68140367
    • Andre Przywara's avatar
      spi: Add support for R40 · 47b611cc
      Andre Przywara authored
      
      
      The R40 is closely related to the A20, but has in fact a newer
      generation SPI controller.
      Add the R40 SoC ID to the right places to enable SPI support.
      
      Tested on a Bananapi M2 Berry with SPI flash attached to header pins.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      47b611cc
  2. 20 Oct, 2020 1 commit
  3. 19 Oct, 2020 1 commit
  4. 06 Oct, 2020 1 commit
  5. 02 Oct, 2020 1 commit
  6. 29 Sep, 2020 7 commits
  7. 19 Sep, 2020 2 commits
    • Icenowy Zheng's avatar
      fel: SPI: add Eon support · bf02fd31
      Icenowy Zheng authored
      
      
      Add the JEDEC manufacturer ID for Eon to the list of recognized
      vendors, also add the EN25QH series to the list of supported chips.
      Those chips are used on some internal boards with V831 from Sipeed now,
      but the chips themselves are widely available on the market. Tag the
      struct definition with the member names on the way to improve readability
      of the SPI flash chip description.
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      bf02fd31
    • Icenowy Zheng's avatar
      spi: add support for V3s SoC · b330eeb8
      Icenowy Zheng authored
      
      
      The Allwinner V3s SoC have the same SPI0 pinmux configuration, SPI clock
      configuration and SPI controller (base address and the controller) with
      H3.
      
      Add spiflash support for it.
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      b330eeb8
  8. 14 Sep, 2020 2 commits
  9. 14 Jun, 2020 4 commits
  10. 20 Apr, 2020 1 commit
  11. 04 Jun, 2019 1 commit
  12. 18 Mar, 2019 1 commit
  13. 08 Jan, 2019 2 commits
  14. 02 Dec, 2018 1 commit
    • Andre Przywara's avatar
      FEL: introduce semantic versioning for SPL header · 8fa2f24d
      Andre Przywara authored
      Every addition of a new feature to the SPL header currently requires us
      to update the FEL tool, to teach it about the new supported maximum
      value. Many times the FEL tool doesn't really care, but complains
      anyway - and refuses to load.
      Let's introduce semantic versioning [1] for this field, where backwards
      compatible additions just increase a minor number, but incompatible
      changes require bumping the major version.
      We have 8 bits for the SPL header version, let's split this to have 3 bits
      for the major and 5 bit for the minor version number.
      
      [1] https://semver.org
      
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
      8fa2f24d
  15. 14 Nov, 2018 1 commit
  16. 09 Jul, 2018 9 commits
  17. 27 Feb, 2018 1 commit
  18. 30 Nov, 2017 1 commit