From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Len Brown <lenb@kernel.org>,
Mike Turquette <mturquette@linaro.org>,
Arnd Bergmann <arnd@arndb.de>,
Linus Walleij <linus.walleij@linaro.org>,
Mark Brown <broonie@opensource.wolfsonmicro.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
linux-acpi@vger.kernel.org
Subject: Re: [PATCH 1/3] x86: enable common clk on x86
Date: Wed, 16 Jan 2013 00:59:17 +0100 [thread overview]
Message-ID: <1474259.FsoB54Sm0k@vostro.rjw.lan> (raw)
In-Reply-To: <1358174788-24439-2-git-send-email-mika.westerberg@linux.intel.com>
On Monday, January 14, 2013 04:46:26 PM Mika Westerberg wrote:
> We are starting to see traditional SoC peripherals also in the x86 world,
> things like UART, I2C and SPI controllers that might already have a working
> device driver. These drivers typically take advantage of the Linux clk
> framework to control and retrieve information about the peripheral clock.
>
> There hasn't been a standard way on x86 to pass the clock rate from
> whatever configuration system is used to the driver, but instead different
> variations have emerged, like adding this information to the platform data.
>
> In order to use the standard Linux way we enable the common clk subsystem
> also on x86. This allows us to re-use the drivers with little or no
> modification wrt. clock API usage.
>
> This patch was originally proposed by Mark Brown.
Are there any side effects of selecting COMMON_CLK by an arch and if so then
what are they?
Rafael
> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> ---
> arch/x86/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 79795af..decda04 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -114,6 +114,7 @@ config X86
> select MODULES_USE_ELF_RELA if X86_64
> select CLONE_BACKWARDS if X86_32
> select GENERIC_SIGALTSTACK
> + select COMMON_CLK
>
> config INSTRUCTION_DECODER
> def_bool y
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
next prev parent reply other threads:[~2013-01-15 23:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 14:46 [PATCH 0/3] x86: enable common clk and add support for Lynxpoint clocks Mika Westerberg
2013-01-14 14:46 ` [PATCH 1/3] x86: enable common clk on x86 Mika Westerberg
2013-01-15 23:59 ` Rafael J. Wysocki [this message]
2013-01-16 5:20 ` Mika Westerberg
2013-01-16 15:01 ` Rafael J. Wysocki
2013-01-16 15:28 ` Mika Westerberg
2013-01-17 22:38 ` Rafael J. Wysocki
2013-01-14 14:46 ` [PATCH 2/3] clk: x86: add support for Lynxpoint LPSS clocks Mika Westerberg
2013-01-15 3:11 ` Mark Brown
2013-01-14 14:46 ` [PATCH 3/3] ACPI: create Lynxpoint clocks if LPSS devices are found during scan Mika Westerberg
2013-01-17 23:07 ` Rafael J. Wysocki
2013-01-15 5:27 ` [PATCH 0/3] x86: enable common clk and add support for Lynxpoint clocks Mika Westerberg
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=1474259.FsoB54Sm0k@vostro.rjw.lan \
--to=rjw@sisk.pl \
--cc=arnd@arndb.de \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=hpa@zytor.com \
--cc=lenb@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=mingo@redhat.com \
--cc=mturquette@linaro.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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
Powered by JetHome