linux/arch/mips
John Crispin 8ec6d93508 MIPS: Lantiq: add SoC specific code for XWAY family
Add support for the Lantiq XWAY family of Mips24KEc SoCs.

* Danube (PSB50702)
* Twinpass (PSB4000)
* AR9 (PSB50802)
* Amazon SE (PSB5061)

The Amazon SE is a lightweight SoC and has no PCI as well as a different
clock. We split the code out into seperate files to handle this.

The GPIO pins on the SoCs are multi function and there are several bits
we can use to configure the pins. To be as compatible as possible to
GPIOLIB we add a function

int lq_gpio_request(unsigned int pin, unsigned int alt0,
        unsigned int alt1, unsigned int dir, const char *name);

which lets you configure the 2 "alternate function" bits. This way drivers like
PCI can make use of GPIOLIB without a cubersome wrapper.

The PLL code inside arch/mips/lantiq/xway/clk-xway.c is voodoo to me. It was
taken from a 2.4.20 source tree and was never really changed by me since then.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2249/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2011-05-19 09:55:41 +01:00
..
alchemy MIPS: Alchemy: fix xxs1500 build error 2011-05-10 18:15:26 +01:00
ar7 MIPS: AR7: Fix GPIO register size for Titan variant. 2011-05-18 14:18:27 +01:00
ath79 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
bcm47xx MIPS: BCM47xx: Swap serial console if ttyS1 was specified. 2010-12-16 18:11:00 +00:00
bcm63xx MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
boot MIPS: Fix calc_vmlinuz_load_addr build warnings. 2011-05-10 18:15:25 +01:00
cavium-octeon MIPS: Octeon: Guard the Kconfig body with CPU_CAVIUM_OCTEON 2011-05-10 18:15:24 +01:00
cobalt MIPS: Move Cobalt Makefile parts to their own Platform file 2010-08-05 13:25:47 +01:00
configs MIPS: Add default configuration for XLR/XLS processors 2011-05-19 09:55:40 +01:00
dec MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
emma MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
fw Fix common misspellings 2011-03-31 11:26:23 -03:00
include/asm MIPS: Lantiq: add SoC specific code for XWAY family 2011-05-19 09:55:41 +01:00
jazz MIPS: Jazz: Fix GCC 4.6.0 build error 2011-05-10 18:15:23 +01:00
jz4740 MIPS: JZ4740: Set one-shot feature flag for the clockevent 2011-05-10 18:15:26 +01:00
kernel MIPS: Enable kmemleak for MIPS 2011-05-19 09:55:41 +01:00
lantiq MIPS: Lantiq: add SoC specific code for XWAY family 2011-05-19 09:55:41 +01:00
lasat MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
lib MIPS: Kconfig and Makefile update for Netlogic XLR/XLS 2011-05-19 09:55:40 +01:00
loongson MIPS: Loongson: Fix GCC 2.6.0 build error. 2011-05-10 18:15:23 +01:00
math-emu Fix common misspellings 2011-03-31 11:26:23 -03:00
mipssim MIPS: SMTC: Move declaration of smtc_init_secondary to <asm/smtc.h>. 2011-03-25 18:45:13 +01:00
mm MIPS: Kconfig and Makefile update for Netlogic XLR/XLS 2011-05-19 09:55:40 +01:00
mti-malta MIPS: Malta: Fix GCC 4.6.0 build error 2011-05-10 18:15:23 +01:00
netlogic MIPS: XLR, XLS: Add PCI support. 2011-05-19 09:55:41 +01:00
nxp/pnx8550/common MIPS: PNX8550: Move code one directory level up. 2010-08-05 13:25:56 +01:00
oprofile mips: change to new flag variable 2011-03-17 14:02:56 +01:00
pci MIPS: XLR, XLS: Add PCI support. 2011-05-19 09:55:41 +01:00
pmc-sierra MIPS: MSP71xx: Fix typo in msp_per_irq_controller 2011-05-10 18:15:23 +01:00
pnx833x Fix common misspellings 2011-03-31 11:26:23 -03:00
pnx8550 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
power MIPS: Hibernation: Fixes for PAGE_SIZE >= 64kb 2011-05-10 18:15:26 +01:00
powertv MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
rb532 MIPS: RB532: Fix iomap resource size miscalculation. 2011-05-18 14:18:26 +01:00
sgi-ip22 MIPS: IP22: Fix GCC 4.6.0 build error 2011-05-10 18:15:22 +01:00
sgi-ip27 MIPS: IP27: Fix GCC 4.6.0 build error. 2011-05-10 18:15:25 +01:00
sgi-ip32 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sibyte MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
sni MIPS: SNI: Fix GCC 4.6.0 build error 2011-05-10 18:15:23 +01:00
txx9 MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
vr41xx mips: vr41xx: Use irdq_irq_disabled() 2011-03-29 14:48:07 +02:00
wrppmc MIPS: WRPPMC: Migrate to new platform makefile style. 2010-08-05 13:25:51 +01:00
Kbuild MIPS: Repair Kbuild make clean breakage. 2010-10-19 18:32:39 +01:00
Kbuild.platforms MIPS: Lantiq: Add initial support for Lantiq SoCs 2011-05-19 09:55:41 +01:00
Kconfig MIPS: Lantiq: add SoC specific code for XWAY family 2011-05-19 09:55:41 +01:00
Kconfig.debug kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT 2011-01-20 17:02:05 -08:00
Makefile MIPS: Kconfig and Makefile update for Netlogic XLR/XLS 2011-05-19 09:55:40 +01:00