source: trunk/target/linux/ar71xx/patches-2.6.34/151-spi-add-various-flags.patch @ 22863

Last change on this file since 22863 was 22863, checked in by juhosg, 6 years ago

ar71xx: rewrite SPI drivers for the RB4xx boards

  • add a new SPI controller driver
  • add SPI driver for the CPLD chip
  • convert the NAND driver
  • enable the mikroSD slot
  • enable more LEDs
File size: 511 bytes
  • include/linux/spi/spi.h

    a b struct spi_transfer { 
    435435        dma_addr_t      rx_dma; 
    436436 
    437437        unsigned        cs_change:1; 
     438        unsigned        verify:1; 
     439        unsigned        fast_write:1; 
    438440        u8              bits_per_word; 
    439441        u16             delay_usecs; 
    440442        u32             speed_hz; 
    struct spi_message { 
    476478        struct spi_device       *spi; 
    477479 
    478480        unsigned                is_dma_mapped:1; 
     481        unsigned                fast_read:1; 
    479482 
    480483        /* REVISIT:  we might want a flag affecting the behavior of the 
    481484         * last transfer ... allowing things like "read 16 bit length L" 
Note: See TracBrowser for help on using the repository browser.