linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] add support for lemote loongson2f machines
@ 2009-11-09 16:05 Wu Zhangjin
  2009-11-09 16:06 ` [PATCH v2 1/7] [loongson] lemote-2f: add a LEMOTE_MACH2F kernel option Wu Zhangjin
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Wu Zhangjin @ 2009-11-09 16:05 UTC (permalink / raw)
  To: Ralf Baechle
  Cc: zhangfx, yanh, huhb, Nicholas Mc Guire, Arnaud Patard,
	loongson-dev, Wu Zhangjin, linux-mips

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2009-11-10 13:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 16:05 [PATCH v2 0/7] add support for lemote loongson2f machines Wu Zhangjin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).