Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 742cd586 authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by Ralf Baechle
Browse files

MIPS: TXx9: Add ACLC support



Add platform support for ACLC of TXx9 SoCs.

Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e8635b48
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -91,4 +91,9 @@ void txx9_7segled_init(unsigned int num,
		       void (*putc)(unsigned int pos, unsigned char val));
int txx9_7segled_putc(unsigned int pos, char c);

void __init txx9_aclc_init(unsigned long baseaddr, int irq,
			   unsigned int dmac_id,
			   unsigned int dma_chan_out,
			   unsigned int dma_chan_in);

#endif /* __ASM_TXX9_GENERIC_H */
+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@
#define TX4927_NR_SIO	2
#define TX4927_SIO_REG(ch)	(TX4927_REG_BASE + 0xf300 + (ch) * 0x100)
#define TX4927_PIO_REG		(TX4927_REG_BASE + 0xf500)
#define TX4927_ACLC_REG		(TX4927_REG_BASE + 0xf700)

#define TX4927_IR_ECCERR	0
#define TX4927_IR_WTOERR	1
@@ -267,5 +268,6 @@ void tx4927_setup_pcierr_irq(void);
void tx4927_irq_init(void);
void tx4927_mtd_init(int ch);
void tx4927_dmac_init(int memcpy_chan);
void tx4927_aclc_init(unsigned int dma_chan_out, unsigned int dma_chan_in);

#endif /* __ASM_TXX9_TX4927_H */
+1 −0
Original line number Diff line number Diff line
@@ -306,5 +306,6 @@ struct tx4938ide_platform_info {

void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune);
void tx4938_dmac_init(int memcpy_chan0, int memcpy_chan1);
void tx4938_aclc_init(void);

#endif
+1 −0
Original line number Diff line number Diff line
@@ -545,5 +545,6 @@ void tx4939_rtc_init(void);
void tx4939_ndfmc_init(unsigned int hold, unsigned int spw,
		       unsigned char ch_mask, unsigned char wide_mask);
void tx4939_dmac_init(int memcpy_chan0, int memcpy_chan1);
void tx4939_aclc_init(void);

#endif /* __ASM_TXX9_TX4939_H */
+3 −0
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ config SOC_TX4927
	select IRQ_TXX9
	select PCI_TX4927
	select GPIO_TXX9
	select HAS_TXX9_ACLC

config SOC_TX4938
	bool
@@ -78,6 +79,7 @@ config SOC_TX4938
	select IRQ_TXX9
	select PCI_TX4927
	select GPIO_TXX9
	select HAS_TXX9_ACLC

config SOC_TX4939
	bool
@@ -85,6 +87,7 @@ config SOC_TX4939
	select HAS_TXX9_SERIAL
	select HW_HAS_PCI
	select PCI_TX4927
	select HAS_TXX9_ACLC

config TXX9_7SEGLED
	bool
Loading