diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-05-19 09:12:22 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-06-17 06:06:25 -0400 |
commit | 742cd5867b2ef7ce865d7ab67574c4e3aa1fb155 (patch) | |
tree | b167001ac5f1c165ff29b4cacd16db94f50c7b77 /arch/mips/include/asm | |
parent | e8635b484f644c7873e6091f15330c49396f2cbc (diff) |
MIPS: TXx9: Add ACLC support
Add platform support for ACLC of TXx9 SoCs.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/txx9/generic.h | 5 | ||||
-rw-r--r-- | arch/mips/include/asm/txx9/tx4927.h | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/txx9/tx4938.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/txx9/tx4939.h | 1 |
4 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/include/asm/txx9/generic.h b/arch/mips/include/asm/txx9/generic.h index 9cde0090cbf6..8169477d1475 100644 --- a/arch/mips/include/asm/txx9/generic.h +++ b/arch/mips/include/asm/txx9/generic.h | |||
@@ -91,4 +91,9 @@ void txx9_7segled_init(unsigned int num, | |||
91 | void (*putc)(unsigned int pos, unsigned char val)); | 91 | void (*putc)(unsigned int pos, unsigned char val)); |
92 | int txx9_7segled_putc(unsigned int pos, char c); | 92 | int txx9_7segled_putc(unsigned int pos, char c); |
93 | 93 | ||
94 | void __init txx9_aclc_init(unsigned long baseaddr, int irq, | ||
95 | unsigned int dmac_id, | ||
96 | unsigned int dma_chan_out, | ||
97 | unsigned int dma_chan_in); | ||
98 | |||
94 | #endif /* __ASM_TXX9_GENERIC_H */ | 99 | #endif /* __ASM_TXX9_GENERIC_H */ |
diff --git a/arch/mips/include/asm/txx9/tx4927.h b/arch/mips/include/asm/txx9/tx4927.h index d92ae07000d3..18c98c52afdb 100644 --- a/arch/mips/include/asm/txx9/tx4927.h +++ b/arch/mips/include/asm/txx9/tx4927.h | |||
@@ -50,6 +50,7 @@ | |||
50 | #define TX4927_NR_SIO 2 | 50 | #define TX4927_NR_SIO 2 |
51 | #define TX4927_SIO_REG(ch) (TX4927_REG_BASE + 0xf300 + (ch) * 0x100) | 51 | #define TX4927_SIO_REG(ch) (TX4927_REG_BASE + 0xf300 + (ch) * 0x100) |
52 | #define TX4927_PIO_REG (TX4927_REG_BASE + 0xf500) | 52 | #define TX4927_PIO_REG (TX4927_REG_BASE + 0xf500) |
53 | #define TX4927_ACLC_REG (TX4927_REG_BASE + 0xf700) | ||
53 | 54 | ||
54 | #define TX4927_IR_ECCERR 0 | 55 | #define TX4927_IR_ECCERR 0 |
55 | #define TX4927_IR_WTOERR 1 | 56 | #define TX4927_IR_WTOERR 1 |
@@ -267,5 +268,6 @@ void tx4927_setup_pcierr_irq(void); | |||
267 | void tx4927_irq_init(void); | 268 | void tx4927_irq_init(void); |
268 | void tx4927_mtd_init(int ch); | 269 | void tx4927_mtd_init(int ch); |
269 | void tx4927_dmac_init(int memcpy_chan); | 270 | void tx4927_dmac_init(int memcpy_chan); |
271 | void tx4927_aclc_init(unsigned int dma_chan_out, unsigned int dma_chan_in); | ||
270 | 272 | ||
271 | #endif /* __ASM_TXX9_TX4927_H */ | 273 | #endif /* __ASM_TXX9_TX4927_H */ |
diff --git a/arch/mips/include/asm/txx9/tx4938.h b/arch/mips/include/asm/txx9/tx4938.h index 0758a0c411b1..54e467410a02 100644 --- a/arch/mips/include/asm/txx9/tx4938.h +++ b/arch/mips/include/asm/txx9/tx4938.h | |||
@@ -306,5 +306,6 @@ struct tx4938ide_platform_info { | |||
306 | 306 | ||
307 | void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune); | 307 | void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune); |
308 | void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1); | 308 | void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1); |
309 | void tx4938_aclc_init(void); | ||
309 | 310 | ||
310 | #endif | 311 | #endif |
diff --git a/arch/mips/include/asm/txx9/tx4939.h b/arch/mips/include/asm/txx9/tx4939.h index 1be9798a26b5..f13b708de617 100644 --- a/arch/mips/include/asm/txx9/tx4939.h +++ b/arch/mips/include/asm/txx9/tx4939.h | |||
@@ -545,5 +545,6 @@ void tx4939_rtc_init(void); | |||
545 | void tx4939_ndfmc_init(unsigned int hold, unsigned int spw, | 545 | void tx4939_ndfmc_init(unsigned int hold, unsigned int spw, |
546 | unsigned char ch_mask, unsigned char wide_mask); | 546 | unsigned char ch_mask, unsigned char wide_mask); |
547 | void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1); | 547 | void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1); |
548 | void tx4939_aclc_init(void); | ||
548 | 549 | ||
549 | #endif /* __ASM_TXX9_TX4939_H */ | 550 | #endif /* __ASM_TXX9_TX4939_H */ |