From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: imx: clk-imx27: Do not register peripheral clock for SSI
Date: Tue, 5 Feb 2013 10:45:37 +0100 [thread overview]
Message-ID: <20130205094537.GX1906@pengutronix.de> (raw)
In-Reply-To: <1359461855-27551-1-git-send-email-fabio.estevam@freescale.com>
On Tue, Jan 29, 2013 at 10:17:35AM -0200, Fabio Estevam wrote:
> imx ssi block has two types of clocks:
>
> - ipg: bus clock, the clock needed for accessing registers.
> - per: peripheral clock, the clock needed for generating the bit rate.
>
> Currently ssi driver only supports slave mode and thus need only to handle
> the ipg clock, because the peripheral clock comes from the master codec.
>
> Only register the ipg clock and do not register the peripheral clock for ssi
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Applied, thanks
Sascha
> ---
> Changes since v1:
> - Fix typo in email address in the From field
>
> arch/arm/mach-imx/clk-imx27.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c
> index 1ffe3b534..303d7bd 100644
> --- a/arch/arm/mach-imx/clk-imx27.c
> +++ b/arch/arm/mach-imx/clk-imx27.c
> @@ -274,8 +274,6 @@ int __init mx27_clocks_init(unsigned long fref)
> clk_register_clkdev(clk[scc_ipg_gate], "scc", NULL);
> clk_register_clkdev(clk[cpu_div], "cpu", NULL);
> clk_register_clkdev(clk[emi_ahb_gate], "emi_ahb" , NULL);
> - clk_register_clkdev(clk[ssi1_baud_gate], "bitrate" , "imx-ssi.0");
> - clk_register_clkdev(clk[ssi2_baud_gate], "bitrate" , "imx-ssi.1");
>
> mxc_timer_init(MX27_IO_ADDRESS(MX27_GPT1_BASE_ADDR), MX27_INT_GPT1);
>
> --
> 1.7.9.5
>
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2013-02-05 9:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 12:17 [PATCH v2] ARM: imx: clk-imx27: Do not register peripheral clock for SSI Fabio Estevam
2013-02-05 9:45 ` Sascha Hauer [this message]
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=20130205094537.GX1906@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).