[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170629214758.7a55wtssikekjjh4@rob-hp-laptop>
Date: Thu, 29 Jun 2017 16:47:58 -0500
From: Rob Herring <robh@...nel.org>
To: Quentin Schulz <quentin.schulz@...e-electrons.com>
Cc: mturquette@...libre.com, sboyd@...eaurora.org,
mark.rutland@....com, nicolas.ferre@...rochip.com,
alexandre.belloni@...e-electrons.com, linux@...linux.org.uk,
boris.brezillon@...e-electrons.com, lgirdwood@...il.com,
broonie@...nel.org, perex@...ex.cz, tiwai@...e.com,
Nicolas Ferre <nicolas.ferre@...el.com>,
linux-clk@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
alsa-devel@...a-project.org, thomas.petazzoni@...e-electrons.com
Subject: Re: [PATCH 2/6] clk: at91: add audio pll clock driver
On Fri, Jun 23, 2017 at 11:00:55AM +0200, Quentin Schulz wrote:
> From: Nicolas Ferre <nicolas.ferre@...el.com>
>
> This new clock driver set allows to have a fractional divided clock that
> would generate a precise clock particularly suitable for audio
> applications.
>
> The main audio pll clock has two children clocks: one that is connected
> to the PMC, the other that can directly drive a pad. As these two routes
> have different enable bits and different dividers and divider formula,
> they are handled by two different drivers. Each of them could modify the
> rate of the main audio pll parent.
> The main audio pll clock can output 620MHz to 700MHz.
>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@...el.com>
> Signed-off-by: Quentin Schulz <quentin.schulz@...e-electrons.com>
> ---
> .../devicetree/bindings/clock/at91-clock.txt | 10 +
It would be nice to see at91 to transition away from a node per clock to
just clock controller nodes. In any case:
Acked-by: Rob Herring <robh@...nel.org>
> arch/arm/mach-at91/Kconfig | 4 +
> drivers/clk/at91/Makefile | 2 +
> drivers/clk/at91/clk-audio-pll-pad.c | 204 ++++++++++++++++++
> drivers/clk/at91/clk-audio-pll-pmc.c | 175 +++++++++++++++
> drivers/clk/at91/clk-audio-pll.c | 237 +++++++++++++++++++++
> include/linux/clk/at91_pmc.h | 25 +++
> sound/soc/atmel/atmel-classd.c | 20 +-
> 8 files changed, 658 insertions(+), 19 deletions(-)
> 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
Powered by blists - more mailing lists