All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wu Zhangjin <wuzhangjin@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org, cpufreq@vger.kernel.org,
	Dave Jones <davej@redhat.com>,
	Dominik Brodowski <linux@dominikbrodowski.net>,
	yanh@lemote.com, huhb@lemote.com,
	Wu Zhangjin <wuzhangjin@gmail.com>
Subject: [PATCH v1 0/3]  Add CPUFreq support for loongson2f
Date: Tue, 17 Nov 2009 01:32:56 +0800	[thread overview]
Message-ID: <cover.1258392326.git.wuzhangjin@gmail.com> (raw)

This patchset adds CPUFreq support for loongson2f, 'Cause loongson2f doesn't
have a fixed MIPS Timer(relative to cpu frequency), If we enable CPUFreq, the
system time will be broken.  So, an external Timer is needed, Herein, In Lemote
loongson2f family machine, there is a CS5536 MFGPT Timer, in Dexxon Gdium, it
use i8253.

This v1 revision have incorporated with the feedbacks from "Dominik Brodowski"
and Ralf. And this Thread have replied more feedbacks from Ralf:

http://www.linux-mips.org/archives/linux-mips/2009-11/msg00292.html

Best Regards,
	Wu Zhangjin

Wu Zhangjin (3):
  [loongson] lemote-2f: add cs5536 MFGPT timer support
  MIPS: add basic options for CPUFreq support
  [loongson] 2f: add CPUFreq support

 arch/mips/Kconfig                                  |    3 +
 arch/mips/include/asm/clock.h                      |   64 ++++++
 .../asm/mach-loongson/cs5536/cs5536_mfgpt.h        |   35 +++
 arch/mips/include/asm/mach-loongson/loongson.h     |    6 +-
 arch/mips/kernel/Makefile                          |    2 +
 arch/mips/kernel/cpu-probe.c                       |    2 +
 arch/mips/kernel/cpufreq/Kconfig                   |   41 ++++
 arch/mips/kernel/cpufreq/Makefile                  |    5 +
 arch/mips/kernel/cpufreq/loongson2_clock.c         |  166 +++++++++++++++
 arch/mips/kernel/cpufreq/loongson2_cpufreq.c       |  202 ++++++++++++++++++
 arch/mips/loongson/Kconfig                         |   16 ++-
 arch/mips/loongson/common/cs5536/Makefile          |    5 +
 arch/mips/loongson/common/cs5536/cs5536_mfgpt.c    |  217 ++++++++++++++++++++
 arch/mips/loongson/common/env.c                    |    3 +
 arch/mips/loongson/common/time.c                   |    3 +
 15 files changed, 767 insertions(+), 3 deletions(-)
 create mode 100644 arch/mips/include/asm/clock.h
 create mode 100644 arch/mips/include/asm/mach-loongson/cs5536/cs5536_mfgpt.h
 create mode 100644 arch/mips/kernel/cpufreq/Kconfig
 create mode 100644 arch/mips/kernel/cpufreq/Makefile
 create mode 100644 arch/mips/kernel/cpufreq/loongson2_clock.c
 create mode 100644 arch/mips/kernel/cpufreq/loongson2_cpufreq.c
 create mode 100644 arch/mips/loongson/common/cs5536/cs5536_mfgpt.c

             reply	other threads:[~2009-11-16 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 17:32 Wu Zhangjin [this message]
     [not found] ` <cover.1258392631.git.wuzhangjin@gmail.com>
2009-11-16 17:32   ` [PATCH v1 1/3] [loongson] lemote-2f: add cs5536 MFGPT timer support Wu Zhangjin
2009-11-17 13:10     ` Ralf Baechle
2009-11-16 17:32   ` [PATCH v1 2/3] MIPS: add basic options for CPUFreq support Wu Zhangjin
2009-11-17 13:10     ` Ralf Baechle
2009-11-16 17:32   ` [PATCH v1 3/3] [loongson] 2f: add " Wu Zhangjin
2009-11-17 13:10     ` 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.1258392326.git.wuzhangjin@gmail.com \
    --to=wuzhangjin@gmail.com \
    --cc=cpufreq@vger.kernel.org \
    --cc=davej@redhat.com \
    --cc=huhb@lemote.com \
    --cc=linux-mips@linux-mips.org \
    --cc=linux@dominikbrodowski.net \
    --cc=ralf@linux-mips.org \
    --cc=yanh@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.