From: Govindraj Raja <govindraj.raja@imgtec.com>
To: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org,
Daniel Lezcano <daniel.lezcano@linaro.org>,
devicetree@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
Andrew Bresticker <abrestic@chromium.org>,
James Hartley <James.Hartley@imgtec.com>,
Govindraj Raja <Govindraj.Raja@imgtec.com>,
Damien Horsley <Damien.Horsley@imgtec.com>,
James Hogan <James.Hogan@imgtec.com>,
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Subject: [PATCH v5 7/7] mips: pistachio: Allow to enable the external timer based clocksource
Date: Thu, 6 Aug 2015 12:22:43 +0100 [thread overview]
Message-ID: <1438860163-31761-1-git-send-email-govindraj.raja@imgtec.com> (raw)
From: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
This commit introduces a new config, so the user can choose to enable
the General Purpose Timer based clocksource. This option is required
to have CPUFreq support.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
---
No changes from v4 just reposting 7/7.
arch/mips/Kconfig | 1 +
arch/mips/pistachio/Kconfig | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 arch/mips/pistachio/Kconfig
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index ef248cf..7004c83 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -948,6 +948,7 @@ source "arch/mips/jazz/Kconfig"
source "arch/mips/jz4740/Kconfig"
source "arch/mips/lantiq/Kconfig"
source "arch/mips/lasat/Kconfig"
+source "arch/mips/pistachio/Kconfig"
source "arch/mips/pmcs-msp71xx/Kconfig"
source "arch/mips/ralink/Kconfig"
source "arch/mips/sgi-ip27/Kconfig"
diff --git a/arch/mips/pistachio/Kconfig b/arch/mips/pistachio/Kconfig
new file mode 100644
index 0000000..97731ea
--- /dev/null
+++ b/arch/mips/pistachio/Kconfig
@@ -0,0 +1,13 @@
+config PISTACHIO_GPTIMER_CLKSRC
+ bool "Enable General Purpose Timer based clocksource"
+ depends on MACH_PISTACHIO
+ select CLKSRC_PISTACHIO
+ select MIPS_EXTERNAL_TIMER
+ help
+ This option enables a clocksource driver based on a Pistachio
+ SoC General Purpose external timer.
+
+ If you want to enable the CPUFreq, you need to enable
+ this option.
+
+ If you don't want to enable CPUFreq, you can leave this disabled.
--
1.9.1
reply other threads:[~2015-08-06 11:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1438860163-31761-1-git-send-email-govindraj.raja@imgtec.com \
--to=govindraj.raja@imgtec.com \
--cc=Damien.Horsley@imgtec.com \
--cc=James.Hartley@imgtec.com \
--cc=James.Hogan@imgtec.com \
--cc=abrestic@chromium.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=ezequiel.garcia@imgtec.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=tglx@linutronix.de \
/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 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).