From: Stephen Boyd <sboyd@codeaurora.org>
To: Irina Tirdea <irina.tirdea@intel.com>
Cc: linux-clk@vger.kernel.org,
Michael Turquette <mturquette@baylibre.com>,
alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
Takashi Iwai <tiwai@suse.com>,
Pierre-Louis Bossart <pierre-louis.bossart@intel.com>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: Re: [PATCH v3] clk: x86: Add Atom PMC platform clocks
Date: Wed, 14 Sep 2016 14:30:25 -0700 [thread overview]
Message-ID: <20160914213025.GE7243@codeaurora.org> (raw)
In-Reply-To: <1473427417-9166-1-git-send-email-irina.tirdea@intel.com>
On 09/09, Irina Tirdea wrote:
> The BayTrail and CherryTrail platforms provide platform clocks
> through their Power Management Controller (PMC).
>
> The SoC supports up to 6 clocks (PMC_PLT_CLK[5:0]) with a
> frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail
> an a frequency of 19.2 MHz (XTAL) for CherryTrail. These clocks
> are available for general system use, where appropriate, and each
> have Control & Frequency register fields associated with them.
>
> For example, the usage for platform clocks suggested in the datasheet
> is the following:
> PLT_CLK[2:0] - Camera
> PLT_CLK[3] - Audio Codec
> PLT_CLK[4] -
> PLT_CLK[5] - COMMs
>
> Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> ---
>
> Notes:
> Submitting this patch through the clock tree as requested by
> Mark Brown. This patch specifically enables the audio MCLK
> required by Baytrail CR devices (support already merged in
> Mark's tree)
>
> Changes from v2:
> - move clk platform data structures to a separate include file
> - store clk_hw pointer for the fixed rate clocks
>
> Changes from v1:
> - register the clk device as child of pmc device
> - pass iomem pointer from pmc driver to clk driver to avoid using
> pmc_atom_read()/write() and use readl/writel API instead
> - use devm_clk_hw_register/clkdev_hw_create instead of
> clk_register/clkdev_create
>
> arch/x86/Kconfig | 1 +
> arch/x86/include/asm/pmc_atom.h | 3 +
> arch/x86/platform/atom/pmc_atom.c | 78 +++++-
Will there be problems if this merges through clk tree? If so we
could take the clk driver part and the platform data include part
could be duplicated into both trees. Or clk tree could be pulled
into x86?
The patch looks fine to me.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2016-09-14 21:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-09 13:23 [PATCH v3] clk: x86: Add Atom PMC platform clocks Irina Tirdea
2016-09-14 21:30 ` Stephen Boyd [this message]
2016-09-15 15:44 ` Tirdea, Irina
2016-09-15 15:44 ` Tirdea, Irina
2016-10-06 18:09 ` Tirdea, Irina
2016-10-06 18:09 ` Tirdea, Irina
2016-09-14 21:33 ` Stephen Boyd
2016-09-15 15:44 ` Tirdea, Irina
2016-09-15 15:44 ` Tirdea, Irina
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=20160914213025.GE7243@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=irina.tirdea@intel.com \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=pierre-louis.bossart@intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.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.