[This is a resend of previous patches grouped together] Misc. updates to various Alchemy parts: #1: remove hardcoded MAC DMA base from the driver and pass it via platform resource information instead. #2: include the Au1100 in au1000 suspend code #3: centralize USB block control, to simplify the glues and as a preparatory step for Au1300 USB support #4: do usb setup based on runtime cpu type detection, to get rid of a few per-subtype #defines. #5: with USB out of the way, the rest of the per-subtype peripheral base addresses can be removed in favour of a single list. All run-tested (except 1 and 2 due to lack of hardware) on DB1200 and DB1300. Please consider for 3.1. Manuel Lauss (5): net: au1000_eth: pass MACDMA address through platform resource info. MIPS: Alchemy: include Au1100 in PM code. MIPS: Alchemy: abstract USB block control register access MIPS: Alchemy: rewrite USB platform setup. MIPS: Alchemy: more base address cleanup arch/mips/alchemy/common/Makefile | 2 +- arch/mips/alchemy/common/dma.c | 12 +- arch/mips/alchemy/common/platform.c | 225 +++++++--------- arch/mips/alchemy/common/power.c | 64 +---- arch/mips/alchemy/common/usb.c | 337 ++++++++++++++++++++++++ arch/mips/alchemy/devboards/db1200/platform.c | 52 ++-- arch/mips/alchemy/devboards/db1x00/platform.c | 40 ++-- arch/mips/alchemy/devboards/pb1100/platform.c | 20 +- arch/mips/alchemy/devboards/pb1200/platform.c | 42 ++-- arch/mips/alchemy/devboards/pb1500/platform.c | 22 +- arch/mips/alchemy/devboards/pb1550/platform.c | 40 ++-- arch/mips/alchemy/xxs1500/platform.c | 12 +- arch/mips/include/asm/mach-au1x00/au1000.h | 242 +++-------------- arch/mips/include/asm/mach-au1x00/au1xxx_psc.h | 26 -- arch/mips/include/asm/mach-db1x00/db1x00.h | 8 +- arch/mips/include/asm/mach-pb1x00/pb1200.h | 8 +- arch/mips/include/asm/mach-pb1x00/pb1550.h | 8 +- drivers/net/au1000_eth.c | 48 +++- drivers/net/au1000_eth.h | 2 +- drivers/usb/host/ehci-au1xxx.c | 77 +----- drivers/usb/host/ohci-au1xxx.c | 110 +------- 21 files changed, 675 insertions(+), 722 deletions(-) create mode 100644 arch/mips/alchemy/common/usb.c -- 1.7.6