Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

omap3_spi.c

Blame
  • Forked from Reform / reform-boundary-uboot
    28700 commits behind the upstream repository.
    • Nikita Kiryanov's avatar
      5753d09b
      spi: omap3: add support for more word lengths · 5753d09b
      Nikita Kiryanov authored
      
      Current implementation only supports 8 bit word lengths, even though
      omap3 can handle anything between 4 and 32.
      
      Update the spi interface to support changing the SPI word length,
      and implement it in omap3_spi driver to support the full range of
      possible word lengths.
      This implementation is backwards compatible by defaulting to the old
      behavior of 8 bit word lengths.
      Also, it required a change to the omap3_spi non static I/O functions,
      but since they are not used anywhere else, no collateral changes are required.
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      5753d09b
      History
      spi: omap3: add support for more word lengths
      Nikita Kiryanov authored
      
      Current implementation only supports 8 bit word lengths, even though
      omap3 can handle anything between 4 and 32.
      
      Update the spi interface to support changing the SPI word length,
      and implement it in omap3_spi driver to support the full range of
      possible word lengths.
      This implementation is backwards compatible by defaulting to the old
      behavior of 8 bit word lengths.
      Also, it required a change to the omap3_spi non static I/O functions,
      but since they are not used anywhere else, no collateral changes are required.
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
    omap3_spi.c 11.49 KiB