diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2011-03-17 15:46:58 -0400 |
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-17 15:48:06 -0400 |
| commit | 2dd22997679a88874c131f6e6ffb963e6d43b3a6 (patch) | |
| tree | bfe1707dda7e755b8b550c6796e2649813bcfbb9 /include/linux/serial_sci.h | |
| parent | 36885ff0e6563687e6152da6d311abbf83c0198f (diff) | |
| parent | 7b7adc4a016a1decb806eb71ecab98721fa7f146 (diff) | |
Merge remote-tracking branch 'origin' into spi/next
Pull in Linus' tree to pick up changes required for the langwell gpio fixes
Diffstat (limited to 'include/linux/serial_sci.h')
| -rw-r--r-- | include/linux/serial_sci.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index 1630d9cae22a..a2afc9fbe186 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
| @@ -34,28 +34,32 @@ enum { | |||
| 34 | SCIx_NR_IRQS, | 34 | SCIx_NR_IRQS, |
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | #define SCIx_IRQ_MUXED(irq) \ | ||
| 38 | { \ | ||
| 39 | [SCIx_ERI_IRQ] = (irq), \ | ||
| 40 | [SCIx_RXI_IRQ] = (irq), \ | ||
| 41 | [SCIx_TXI_IRQ] = (irq), \ | ||
| 42 | [SCIx_BRI_IRQ] = (irq), \ | ||
| 43 | } | ||
| 44 | |||
| 37 | struct device; | 45 | struct device; |
| 38 | 46 | ||
| 39 | /* | 47 | /* |
| 40 | * Platform device specific platform_data struct | 48 | * Platform device specific platform_data struct |
| 41 | */ | 49 | */ |
| 42 | struct plat_sci_port { | 50 | struct plat_sci_port { |
| 43 | void __iomem *membase; /* io cookie */ | ||
| 44 | unsigned long mapbase; /* resource base */ | 51 | unsigned long mapbase; /* resource base */ |
| 45 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ | 52 | unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ |
| 46 | unsigned int type; /* SCI / SCIF / IRDA */ | 53 | unsigned int type; /* SCI / SCIF / IRDA */ |
| 47 | upf_t flags; /* UPF_* flags */ | 54 | upf_t flags; /* UPF_* flags */ |
| 48 | char *clk; /* clock string */ | ||
| 49 | 55 | ||
| 50 | unsigned int scbrr_algo_id; /* SCBRR calculation algo */ | 56 | unsigned int scbrr_algo_id; /* SCBRR calculation algo */ |
| 51 | unsigned int scscr; /* SCSCR initialization */ | 57 | unsigned int scscr; /* SCSCR initialization */ |
| 52 | 58 | ||
| 53 | struct device *dma_dev; | 59 | struct device *dma_dev; |
| 54 | 60 | ||
| 55 | #ifdef CONFIG_SERIAL_SH_SCI_DMA | 61 | unsigned int dma_slave_tx; |
| 56 | unsigned int dma_slave_tx; | 62 | unsigned int dma_slave_rx; |
| 57 | unsigned int dma_slave_rx; | ||
| 58 | #endif | ||
| 59 | }; | 63 | }; |
| 60 | 64 | ||
| 61 | #endif /* __LINUX_SERIAL_SCI_H */ | 65 | #endif /* __LINUX_SERIAL_SCI_H */ |
