Skip to content

RFC DB1300 support

Manuel Lauss linux-mips 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MIPS: Alchemy: Au1300 SoC supportarch/mips/alchemy/Kconfig arch/mips/alchemy/common/Makefile arch/mips/alchemy/common/dbdma.c +14 more+987 -260 replies
2/2Alchemy: DB1300 support.arch/mips/Makefile arch/mips/alchemy/Kconfig arch/mips/alchemy/devboards/Makefile +8 more+1626 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH -queue 0/2] DB1300 support

Here are 2 patches against current mips-queue which add Au1300 and Db1300 devboard support. It's a work-in-progress, and has one serious flaw: I can't get the serial console to work reliably once kernel starts booting userpsace. Enabling debugging shows the enabling the proper irq, however hardly any interrupts arrive unless massive amounts of debug info (by way of the irq dispatcher) is dumped out to it. Once userspace has booted, and most debig output has been hidden (echo 0 0 0 0 > /proc/sys/kernel/printk) it continues to work as it should for a few bytes, then it dies. Judging from the debug logs it seems the UART generates far less interrupts than for example the au1200 ones.

Until its figured out what's going on, please take the opportunity to have a look at the code and suggest better ways to implement things and bugs.

Thanks!

Manuel Lauss (2):
MIPS: Alchemy: Au1300 SoC support
Alchemy: DB1300 support WIP WIP WIP

 arch/mips/Makefile                               |    7 +
 arch/mips/alchemy/Kconfig                        |   31 +-
 arch/mips/alchemy/common/Makefile                |    9 +-
 arch/mips/alchemy/common/dbdma.c                 |   48 +-
 arch/mips/alchemy/common/gpioint.c               |  374 +++++++
 arch/mips/alchemy/common/gpiolib-au1300.c        |   54 +
 arch/mips/alchemy/common/platform.c              |    9 +
 arch/mips/alchemy/common/power.c                 |   18 +-
 arch/mips/alchemy/common/time.c                  |    1 +
 arch/mips/alchemy/devboards/Makefile             |    1 +
 arch/mips/alchemy/devboards/db1300/Makefile      |    2 +
 arch/mips/alchemy/devboards/db1300/platform.c    |  234 +++++
 arch/mips/alchemy/devboards/db1300/setup.c       |  158 +++
 arch/mips/alchemy/devboards/prom.c               |    4 +
 arch/mips/configs/db1300_defconfig               | 1160 ++++++++++++++++++++++
 arch/mips/include/asm/cpu.h                      |    8 +
 arch/mips/include/asm/mach-au1x00/au1000.h       |  189 ++++
 arch/mips/include/asm/mach-au1x00/au1xxx_dbdma.h |   33 +
 arch/mips/include/asm/mach-au1x00/gpio-au1300.h  |  211 ++++
 arch/mips/include/asm/mach-au1x00/gpio.h         |    4 +
 arch/mips/include/asm/mach-db1x00/bcsr.h         |    3 +
 arch/mips/include/asm/mach-db1x00/db1300.h       |   37 +
 arch/mips/kernel/cpu-probe.c                     |   18 +
 drivers/i2c/busses/Kconfig                       |    2 +-
 drivers/pcmcia/db1xxx_ss.c                       |   14 +-
 drivers/spi/Kconfig                              |    2 +-
 drivers/video/Kconfig                            |   10 +-
 27 files changed, 2613 insertions(+), 28 deletions(-)
 create mode 100644 arch/mips/alchemy/common/gpioint.c
 create mode 100644 arch/mips/alchemy/common/gpiolib-au1300.c
 create mode 100644 arch/mips/alchemy/devboards/db1300/Makefile
 create mode 100644 arch/mips/alchemy/devboards/db1300/platform.c
 create mode 100644 arch/mips/alchemy/devboards/db1300/setup.c
 create mode 100644 arch/mips/configs/db1300_defconfig
 create mode 100644 arch/mips/include/asm/mach-au1x00/gpio-au1300.h
 create mode 100644 arch/mips/include/asm/mach-db1x00/db1300.h