11 Jan, 2012

1 commit


08 Dec, 2011

22 commits

  • The PB1200 has the CPLD located at an address which on the DB1200 is
    RAM; reading the Board-ID sometimes results in a PB1200 being detected
    instead (especially during reboots after long uptimes).
    On the other hand, the address of the DB1200's CPLD is hosting Flash
    chips on the PB1200. Test for the DB1200 first and additionally do a
    quick write-test to the hexleds register to make sure we're writing
    to the CPLD.

    Signed-off-by: Manuel Lauss
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/3005/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • With a generic plat_irq_dispatch (for Alchemy at least) code for both
    interrupt controller types can coexist in a single kernel image and be
    autodetected at runtime.

    Signed-off-by: Manuel Lauss
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2935/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • IC and GPIC are now chain handlers of the traditional MIPS IRQ controller.

    Signed-off-by: Manuel Lauss
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2933/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • No need for a device_initcall.

    Signed-off-by: Manuel Lauss
    Cc: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2934/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Wire up the ADS7846 touchscreen controller on the DB1100.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2879/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Add necessary transceiver control platform data and hook up the
    IrDA peripheral on the DB1000 and DB1100 boards.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2878/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • The information in those headers is no longer necessary.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2876/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Transform the au1550nd.c driver into a platform_driver and hook it
    up in the PB1550 board (gen_nand works fine on the DB1550, but since
    I don't have a PB1550 to test this driver stays for now).

    Signed-off-by: Manuel Lauss
    Cc: linux-mtd@lists.infradead.org
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2875/
    Patchwork: https://patchwork.linux-mips.org/patch/3160/
    Acked-by: Artem Bityutskiy
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
    We run all interrupt handlers with interrupts disabled and we even check
    and yell when an interrupt handler returns with interrupts enabled (see
    commit [b738a50a: genirq: Warn when handler enables interrupts]).

    So now this flag is a NOOP and can be removed.

    [ralf@linux-mips.org: Fixed up conflicts in
    arch/mips/alchemy/common/dbdma.c, arch/mips/cavium-octeon/smp.c and
    arch/mips/kernel/perf_event.c.]

    Signed-off-by: Yong Zhang
    To: linux-kernel@vger.kernel.org
    Cc: tglx@linutronix.de
    linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2835/
    Signed-off-by: Ralf Baechle

    Yong Zhang
     
  • All Devboards can use the 32kHz counter as a RTC device.

    Also delete the custom CMOS RTC header, which can be used for the
    DS1693 on the PB1500. But since it doesn't have a buffer battery
    it is as useful as the on-chip RTC which I prefer.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2874/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • This patch hooks up the 2 MMC sockets on the DB1100 board.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2873/
    Patchwork: https://patchwork.linux-mips.org/patch/2920/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • These 3 boards are very similar; with this patch a single kernel image
    which runs on all three can be built.

    Tested on DB1500 and DB1100.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2872/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • The PB1200 is basically a DB1200 with additional MMC and camera sockets
    and different base addresses for external hardware (CPLD, IDE, Net, NAND).

    This patch implements the missing PB1200 features in DB1200 support code
    and runtime board detection.

    Tested on DB1200 only.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2880/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • au1200fb calls 3 functions which have to be defined in board code.
    Fix this ugliness with the introduction of platform_data.

    Signed-off-by: Manuel Lauss
    Cc: linux-fbdev@vger.kernel.org
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2871/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2884/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Most of these files are have more comments than real code; merge
    them all into single board-.c files.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2869/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2868/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2867/
    Patchwork: https://patchwork.linux-mips.org/patch/2919/
    Patchwork: https://patchwork.linux-mips.org/patch/2928/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Add basic support for the Au1300 variant(s):
    - New GPIO/Interrupt controller
    - DBDMA ids
    - USB setup
    - MMC support
    - enable various PSC drivers
    - detection code.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2866/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Initially I had to write to both the MASK and ENABLE registers, otherwise
    the CPLD would generate tons of spurious interrupts. With the change to
    the demux handler to disable the muxed line, it is now sufficient to
    disable the interrupt by writing either the enable or mask register.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2865/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • No test hardware and no (apparent) users. These boards seem very
    similar to the DB1500, so if required support can be brought back
    again (I have datasheets) but then with dedicated board code, not
    tacked on to DB1000 support.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2864/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Noone seems to have test hardware or care anymore. Drop PB1000 support
    and along with it the old Alchemy PCMCIA socket driver.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Cc: netdev@vger.kernel.org
    Cc: linux-pcmcia@lists.infradead.org
    Patchwork: https://patchwork.linux-mips.org/patch/2881/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

04 Nov, 2011

1 commit

  • * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (37 commits)
    MIPS: O32: Provide definition of registers ta0 .. ta3.
    MIPS: perf: Add Octeon support for hardware perf.
    MIPS: perf: Add support for 64-bit perf counters.
    MIPS: perf: Reorganize contents of perf support files.
    MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c
    MIPS: Add accessor macros for 64-bit performance counter registers.
    MIPS: Add probes for more Octeon II CPUs.
    MIPS: Add more CPU identifiers for Octeon II CPUs.
    MIPS: XLR, XLS: Add comment for smp setup
    MIPS: JZ4740: GPIO: Check correct IRQ in demux handler
    MIPS: JZ4740: GPIO: Simplify IRQ demuxer
    MIPS: JZ4740: Use generic irq chip
    MIPS: Alchemy: remove all CONFIG_SOC_AU1??? defines
    MIPS: Alchemy: kill au1xxx.h header
    MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines
    MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep
    MIPS: Alchemy: Redo PCI as platform driver
    MIPS: Alchemy: more base address cleanup
    MIPS: Alchemy: rewrite USB platform setup.
    MIPS: Alchemy: abstract USB block control register access
    ...

    Fix up trivial conflicts in:
    arch/mips/alchemy/devboards/db1x00/platform.c
    drivers/ide/Kconfig
    drivers/mmc/host/au1xmmc.c
    drivers/video/Kconfig
    sound/mips/Kconfig

    Linus Torvalds
     

29 Oct, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (549 commits)
    ALSA: hda - Fix ADC input-amp handling for Cx20549 codec
    ALSA: hda - Keep EAPD turned on for old Conexant chips
    ALSA: hda/realtek - Fix missing volume controls with ALC260
    ASoC: wm8940: Properly set codec->dapm.bias_level
    ALSA: hda - Fix pin-config for ASUS W90V
    ALSA: hda - Fix surround/CLFE headphone and speaker pins order
    ALSA: hda - Fix typo
    ALSA: Update the sound git tree URL
    ALSA: HDA: Add new revision for ALC662
    ASoC: max98095: Convert codec->hw_write to snd_soc_write
    ASoC: keep pointer to resource so it can be freed
    ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls
    ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2
    ASoC: da7210: Add support for line out and DAC
    ASoC: da7210: Add support for DAPM
    ALSA: hda/realtek - Fix DAC assignments of multiple speakers
    ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value
    ASoC: Set sgtl5000->ldo in ldo_regulator_register
    ASoC: wm8996: Use SND_SOC_DAPM_AIF_OUT for AIF2 Capture
    ASoC: wm8994: Use SND_SOC_DAPM_AIF_OUT for AIF3 Capture
    ...

    Linus Torvalds
     

25 Oct, 2011

11 commits

  • Now that no driver any longer depends on the CONFIG_SOC_AU1??? symbols,
    it's time to get rid of them: Move some of the platform devices to the
    boards which can use them, Rename a few (unused) constants in the header,
    Replace them with MIPS_ALCHEMY in the various Kconfig files. Finally
    delete them altogether from the Alchemy Kconfig file.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2707/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • No longer required

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2705/
    Signed-off-by: Ralf Baechle

    delete mode 100644 arch/mips/include/asm/mach-au1x00/au1xxx.h

    Manuel Lauss
     
  • This patch gets rid of all CONFIG_SOC_AU1XXX defines in
    DMA/DBDMA-related code.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2704/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • au1xxx-ide uses defines from the pb1200/db1200 headers:
    get DBDMA ID through platform resource information,
    hardcode register spacing. The only 2 users of this driver (and
    the only boards it can really work on realiably) use the same
    register layout.

    Signed-off-by: Manuel Lauss
    Cc: linux-ide@vger.kernel.org
    To: Linux-MIPS
    Cc: linux-ide@vger.kernel.org
    Acked-by: David S. Miller
    Patchwork: https://patchwork.linux-mips.org/patch/2716/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • - Rewrite Alchemy PCI support as a platform driver.
    - Fixup boards which have PCI.

    Run-tested on DB1500 and DB1550.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2706/
    Signed-off-by: Ralf Baechle

    delete mode 100644 arch/mips/alchemy/common/pci.c
    delete mode 100644 arch/mips/pci/fixup-au1000.c
    delete mode 100644 arch/mips/pci/ops-au1000.c
    create mode 100644 arch/mips/pci/pci-alchemy.c

    Manuel Lauss
     
  • remove all redundant peripheral base address defines, fix
    all affected boards and drivers.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2700/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Use runtime CPU detection to setup all USB parts.
    Remove the Au1200 OTG and UDC platform devices since there are no
    drivers for them anyway.
    Clean up the USB address mess in the au1000 header.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2703/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Alchemy chips have one or more registers which control access
    to the usb blocks as well as PHY configuration. I don't want
    the OHCI/EHCI glues to know about the different registers and bits;
    new code hides the gory details of USB configuration from them.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Cc: linux-usb@vger.kernel.org
    Acked-by: Greg Kroah-Hartman
    Patchwork: https://patchwork.linux-mips.org/patch/2709/
    Signed-off-by: Ralf Baechle

    create mode 100644 drivers/usb/host/alchemy-common.c

    Manuel Lauss
     
  • For GPIOLIB=y decide at runtime which gpiochips to register;
    in the GPIOLIB=n case, the gpio headers need to be reshuffled
    a bit to make multiple implementations coexist peacefully.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2679/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • No reason NOT to build it

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2678/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • This patch removes the last hardcoded base address from the au1000_eth
    driver. The base address of the MACDMA unit was derived from the
    platform device id; if someone registered the MACs in inverse order
    both would not work.
    So instead pass the base address of the DMA unit to the driver with
    the other platform resource information.

    Signed-off-by: Manuel Lauss
    Acked-by: David S. Miller
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2674/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

21 Sep, 2011

3 commits

  • Disable the cascade IRQ in the cascade handler. This is required to
    get the DB1300 working, and also gets rid of all spurious interrupts
    previously observed on the DB1200; so Config[OD] can be disabled
    again for better performance.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2708/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • The current code forgets the Au1100 when looking for the correct method to
    suspend the chip.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2675/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Harmless typo which prints an error message although MAC0 was registered
    successfully.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2672/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

28 Jul, 2011

1 commit