From: Nicolas Ferre <nicolas.ferre@atmel.com>
To: Boris BREZILLON <boris.brezillon@free-electrons.com>,
<linux-arm-kernel@lists.infradead.org>,
<maxime.ripard@free-electrons.com>, <mturquette@baylibre.com>,
<sboyd@codeaurora.org>, <linux-clk@vger.kernel.org>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>,
"Ludovic Desroches" <ludovic.desroches@atmel.com>,
Songjun Wu <songjun.wu@atmel.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH 0/3] clk: at91: audio PLL clock
Date: Tue, 6 Dec 2016 12:14:59 +0100 [thread overview]
Message-ID: <d178db55-751a-329f-d083-d97564637382@atmel.com> (raw)
In-Reply-To: <cover.1481021115.git.nicolas.ferre@atmel.com>
Le 06/12/2016 à 11:55, Nicolas Ferre a écrit :
> This series covers the addition of the Audio PLL clock found on AT91 SoCs like
> the SAMA5D2.
> I also added the use of these clocks by the ClassD audi amplifier in both SoC
> and board DT.
>
> The Audio PLL is described in the sama5d2 datasheet chapter "29.8 Audio PLL".
>
> Even if "it works" (!), note that I'm not satisfied with the current code and
> would need some advice from people more accustomed with the CCF and
> particularly composite audio PLL/clocks like these. For example, I do not take
> into account the limits of these clocks (as described in the datasheet) and the
> dependency between the PAD and the PMC child clocks.
>
> Thanks in advance for your inputs.
Note as well that Boris already sent me a review of the first posting of
this patch ("[PATCH] clk: at91: add audio pll clock driver" on 31 Jul.
2015) and most of his comments are still relevant.
https://patchwork.kernel.org/patch/6910111/
https://www.spinics.net/lists/arm-kernel/msg436120.html
But I would like some comments about the whole architecture of these
clocks and how I could rearrange them and maybe use some of the common
facilities of the CCF (composite with gate + fractionnal? + divider?, etc.)
Regards,
> Cyrille Pitchen (2):
> ARM: dts: at91: sama5d2: add classd nodes
> ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd
>
> Nicolas Ferre (1):
> clk: at91: add audio pll clock driver
>
> .../devicetree/bindings/clock/at91-clock.txt | 10 +
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16 ++
> arch/arm/boot/dts/sama5d2.dtsi | 39 +++-
> arch/arm/mach-at91/Kconfig | 4 +
> drivers/clk/at91/Makefile | 2 +
> drivers/clk/at91/clk-audio-pll-pad.c | 238 +++++++++++++++++++
> drivers/clk/at91/clk-audio-pll-pmc.c | 184 +++++++++++++++
> drivers/clk/at91/clk-audio-pll.c | 253 +++++++++++++++++++++
> include/linux/clk/at91_pmc.h | 25 ++
> 9 files changed, 770 insertions(+), 1 deletion(-)
> create mode 100644 drivers/clk/at91/clk-audio-pll-pad.c
> create mode 100644 drivers/clk/at91/clk-audio-pll-pmc.c
> create mode 100644 drivers/clk/at91/clk-audio-pll.c
>
--
Nicolas Ferre
prev parent reply other threads:[~2016-12-06 11:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-06 10:55 [RFC PATCH 0/3] clk: at91: audio PLL clock Nicolas Ferre
2016-12-06 10:55 ` [RFC PATCH 1/3] clk: at91: add audio pll clock driver Nicolas Ferre
2016-12-06 10:55 ` [RFC PATCH 2/3] ARM: dts: at91: sama5d2: add classd nodes Nicolas Ferre
2016-12-06 10:56 ` [RFC PATCH 3/3] ARM: dts: at91: sama5d2_xplained: add pin muxing and enable classd Nicolas Ferre
2016-12-06 11:14 ` Nicolas Ferre [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=d178db55-751a-329f-d083-d97564637382@atmel.com \
--to=nicolas.ferre@atmel.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ludovic.desroches@atmel.com \
--cc=maxime.ripard@free-electrons.com \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.org \
--cc=songjun.wu@atmel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox