Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256756
b: refs/heads/master
c: a2274ce
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Schmidt authored and Grant Likely committed Jun 19, 2011
1 parent 719c6a1 commit 521a209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c52d4e5f3cd3939bf44e788fdcbce8dcebb6fe61
refs/heads/master: a2274cedc4b33a29be6583cd757bdc0b436851ec
5 changes: 0 additions & 5 deletions trunk/Documentation/spi/pxa2xx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,11 @@ Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a
found in include/linux/spi/pxa2xx_spi.h:

struct pxa2xx_spi_master {
enum pxa_ssp_type ssp_type;
u32 clock_enable;
u16 num_chipselect;
u8 enable_dma;
};

The "pxa2xx_spi_master.ssp_type" field must have a value between 1 and 3 and
informs the driver which features a particular SSP supports.

The "pxa2xx_spi_master.clock_enable" field is used to enable/disable the
corresponding SSP peripheral block in the "Clock Enable Register (CKEN"). See
the "PXA2xx Developer Manual" section "Clocks and Power Management".
Expand Down Expand Up @@ -61,7 +57,6 @@ static struct resource pxa_spi_nssp_resources[] = {
};

static struct pxa2xx_spi_master pxa_nssp_master_info = {
.ssp_type = PXA25x_NSSP, /* Type of SSP */
.clock_enable = CKEN_NSSP, /* NSSP Peripheral clock */
.num_chipselect = 1, /* Matches the number of chips attached to NSSP */
.enable_dma = 1, /* Enables NSSP DMA */
Expand Down

0 comments on commit 521a209

Please sign in to comment.