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

omap3_spi.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • 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>