clk: at91: add audio pll clock drivers
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Thu, 10 Aug 2017 06:34:03 +0000 (08:34 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 1 Sep 2017 22:46:52 +0000 (15:46 -0700)
commit0865805d82d4c822647ee35ab2629c48cc40706b
treebb5b678975b5e2bb4720c2f0df14d5c929f4fc9e
parent33202fa32d2f04f613ef748baebfa734013fdbbf
clk: at91: add audio pll clock drivers

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 formulas,
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@atmel.com>
Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
arch/arm/mach-at91/Kconfig
drivers/clk/at91/Makefile
drivers/clk/at91/clk-audio-pll.c [new file with mode: 0644]
include/linux/clk/at91_pmc.h