diff options
| -rw-r--r-- | Documentation/spi/pxa2xx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/spi/pxa2xx b/Documentation/spi/pxa2xx index 493dada57372..00511e08db78 100644 --- a/Documentation/spi/pxa2xx +++ b/Documentation/spi/pxa2xx | |||
| @@ -22,15 +22,11 @@ Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a | |||
| 22 | found in include/linux/spi/pxa2xx_spi.h: | 22 | found in include/linux/spi/pxa2xx_spi.h: |
| 23 | 23 | ||
| 24 | struct pxa2xx_spi_master { | 24 | struct pxa2xx_spi_master { |
| 25 | enum pxa_ssp_type ssp_type; | ||
| 26 | u32 clock_enable; | 25 | u32 clock_enable; |
| 27 | u16 num_chipselect; | 26 | u16 num_chipselect; |
| 28 | u8 enable_dma; | 27 | u8 enable_dma; |
| 29 | }; | 28 | }; |
| 30 | 29 | ||
| 31 | The "pxa2xx_spi_master.ssp_type" field must have a value between 1 and 3 and | ||
| 32 | informs the driver which features a particular SSP supports. | ||
| 33 | |||
| 34 | The "pxa2xx_spi_master.clock_enable" field is used to enable/disable the | 30 | The "pxa2xx_spi_master.clock_enable" field is used to enable/disable the |
| 35 | corresponding SSP peripheral block in the "Clock Enable Register (CKEN"). See | 31 | corresponding SSP peripheral block in the "Clock Enable Register (CKEN"). See |
| 36 | the "PXA2xx Developer Manual" section "Clocks and Power Management". | 32 | the "PXA2xx Developer Manual" section "Clocks and Power Management". |
| @@ -61,7 +57,6 @@ static struct resource pxa_spi_nssp_resources[] = { | |||
| 61 | }; | 57 | }; |
| 62 | 58 | ||
| 63 | static struct pxa2xx_spi_master pxa_nssp_master_info = { | 59 | static struct pxa2xx_spi_master pxa_nssp_master_info = { |
| 64 | .ssp_type = PXA25x_NSSP, /* Type of SSP */ | ||
| 65 | .clock_enable = CKEN_NSSP, /* NSSP Peripheral clock */ | 60 | .clock_enable = CKEN_NSSP, /* NSSP Peripheral clock */ |
| 66 | .num_chipselect = 1, /* Matches the number of chips attached to NSSP */ | 61 | .num_chipselect = 1, /* Matches the number of chips attached to NSSP */ |
| 67 | .enable_dma = 1, /* Enables NSSP DMA */ | 62 | .enable_dma = 1, /* Enables NSSP DMA */ |
