From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: zhangfx@lemote.com, yanh@lemote.com, huhb@lemote.com,
Nicholas Mc Guire <hofrat@hofr.at>,
Arnaud Patard <apatard@mandriva.com>,
loongson-dev@googlegroups.com, Wu Zhangjin <wuzhangjin@gmail.com>,
linux-mips@linux-mips.org
Subject: [PATCH v2 0/7] add support for lemote loongson2f machines
Date: Tue, 10 Nov 2009 00:05:21 +0800 [thread overview]
Message-ID: <cover.1257781987.git.wuzhangjin@gmail.com> (raw)
From: Wu Zhangjin <wuzhangjin@gmail.com>
This patchset add basic support for lemote loongson2f family machines(fuloong2f
mini pc, yeeloong netbook).
If you use the default config file: arch/mips/configs/lemote2f_defconfig, and
pass the suitable command line argument to the kernel when booting, you will be
possible to run the same kernel image on fuloong2f mini pc and yeeloong
netbook.
for example, if you pass "machtype=8.9" to kernel when booting, it will run
well on yeeloong netbook. the default machtype is 2f-box, so, you can run the
kernel on fuloong2f directly. In the future, we will pass the machtype argument
by PMON directly, and then the linux distributions will only need to build one
kernel image, and will make it work on all of lemote loongson2f family
machines.
The main change from the v1 version:
o [loongson] lemote-2f: add reset support
use "switch...case..." statements instead of the array to make the stuff
only for lemote2f family machines and also save some memory.
The whole patchset have been pushed into this branch:
git://dev.lemote.com/rt4ls.git linux-loongson/dev/for-upstream
Thanks & Regards,
Wu Zhangjin
Wu Zhangjin (7):
[loongson] lemote-2f: add a LEMOTE_MACH2F kernel option
[loongson] lemote-2f: rtc: enable legacy RTC driver
[loongson] lemote-2f: add basic cs5536 vsm support
[loongson] lemote-2f: add pci support
[loongson] lemote-2f: add irq support
[loongson] lemote-2f: add reset support
[loongson] lemote-2f: add defconfig file
arch/mips/Kconfig | 2 +-
arch/mips/Makefile | 1 +
arch/mips/configs/lemote2f_defconfig | 1836 ++++++++++++++++++++
.../mips/include/asm/mach-loongson/cs5536/cs5536.h | 305 ++++
.../include/asm/mach-loongson/cs5536/cs5536_pci.h | 153 ++
.../include/asm/mach-loongson/cs5536/cs5536_vsm.h | 31 +
arch/mips/include/asm/mach-loongson/loongson.h | 7 +
arch/mips/include/asm/mach-loongson/machine.h | 7 +
arch/mips/loongson/Kconfig | 32 +
arch/mips/loongson/Makefile | 6 +
arch/mips/loongson/common/Makefile | 6 +
arch/mips/loongson/common/cs5536/Makefile | 8 +
arch/mips/loongson/common/cs5536/cs5536_acc.c | 148 ++
arch/mips/loongson/common/cs5536/cs5536_ehci.c | 158 ++
arch/mips/loongson/common/cs5536/cs5536_ide.c | 185 ++
arch/mips/loongson/common/cs5536/cs5536_isa.c | 316 ++++
arch/mips/loongson/common/cs5536/cs5536_ohci.c | 153 ++
arch/mips/loongson/common/cs5536/cs5536_pci.c | 87 +
arch/mips/loongson/lemote-2f/Makefile | 5 +
arch/mips/loongson/lemote-2f/irq.c | 130 ++
arch/mips/loongson/lemote-2f/reset.c | 172 ++
arch/mips/pci/Makefile | 3 +-
arch/mips/pci/fixup-lemote2f.c | 162 ++
arch/mips/pci/ops-fuloong2e.c | 154 --
arch/mips/pci/ops-loongson2.c | 208 +++
25 files changed, 4119 insertions(+), 156 deletions(-)
create mode 100644 arch/mips/configs/lemote2f_defconfig
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536.h
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_pci.h
create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_vsm.h
create mode 100644 arch/mips/loongson/common/cs5536/Makefile
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_acc.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ehci.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ide.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_isa.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_ohci.c
create mode 100644 arch/mips/loongson/common/cs5536/cs5536_pci.c
create mode 100644 arch/mips/loongson/lemote-2f/Makefile
create mode 100644 arch/mips/loongson/lemote-2f/irq.c
create mode 100644 arch/mips/loongson/lemote-2f/reset.c
create mode 100644 arch/mips/pci/fixup-lemote2f.c
delete mode 100644 arch/mips/pci/ops-fuloong2e.c
create mode 100644 arch/mips/pci/ops-loongson2.c
next reply other threads:[~2009-11-09 16:05 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 16:05 Wu Zhangjin [this message]
2009-11-09 16:06 ` [PATCH v2 1/7] [loongson] lemote-2f: add a LEMOTE_MACH2F kernel option Wu Zhangjin
2009-11-10 13:05 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 2/7] [loongson] lemote-2f: rtc: enable legacy RTC driver Wu Zhangjin
2009-11-10 13:06 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 3/7] [loongson] lemote-2f: add basic cs5536 vsm support Wu Zhangjin
2009-11-10 13:16 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 4/7] [loongson] lemote-2f: add pci support Wu Zhangjin
2009-11-10 13:06 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 5/7] [loongson] lemote-2f: add irq support Wu Zhangjin
2009-11-10 13:06 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 6/7] [loongson] lemote-2f: add reset support Wu Zhangjin
2009-11-10 13:07 ` Ralf Baechle
2009-11-09 16:06 ` [PATCH v2 7/7] [loongson] lemote-2f: add defconfig file Wu Zhangjin
2009-11-10 13:07 ` Ralf Baechle
2009-11-09 16:11 ` [PATCH v2 0/7] add support for lemote loongson2f machines Ralf Baechle
2009-11-09 16:36 ` Wu Zhangjin
2009-11-09 16:54 ` Ralf Baechle
2009-11-09 17:06 ` Wu Zhangjin
2009-11-10 11:22 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1257781987.git.wuzhangjin@gmail.com \
--to=wuzhangjin@gmail.com \
--cc=apatard@mandriva.com \
--cc=hofrat@hofr.at \
--cc=huhb@lemote.com \
--cc=linux-mips@linux-mips.org \
--cc=loongson-dev@googlegroups.com \
--cc=ralf@linux-mips.org \
--cc=yanh@lemote.com \
--cc=zhangfx@lemote.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.