[PATCH 0/3] clk: Add clock driver for DRA7 ATL (Audio Tracking Logic)

From: Peter Ujfalusi
Date: Wed Apr 02 2014 - 09:55:49 EST


Hi,

Audio Tracking Logic is designed to be used by HD Radio
applications to synchronize the audio output clocks to the
baseband clock. ATL can be also used to track errors between
two reference clocks (BWS, AWS) and generate a modulated
clock output which averages to some desired frequency.

To be able to integrate the ATL provided clocks to the clock tree we need
two types of DT binding:
- DT clock nodes to represent the ATL clocks towards the CCF
- binding for the ATL IP itself which is going to handle the hw
configuration

The reason for this type of setup is that ATL itself is a separate device
in the SoC, it has it's own address space and clock domain. Other IPs can
use the ATL generated clock as their functional clock (McASPs for example)
and external components like audio codecs can also use the very same clock
as their MCLK.

With setup pm_runtime can handle the ATL clock on demand of it's use and
all the IP which needs ATL clock can be sure that it is enabled for them.

The first patch fixes the name of atl clkin3 node in dtsi file.

Regards,
Peter
---
Peter Ujfalusi (3):
ARM: dts: dra7xx-clocks: Correct name for atl clkin3 clock
clk: Driver for DRA7 ATL (Audio Tracking Logic)
ARM: DTS: dra7/dra7xx-clocks: ATL related changes

.../devicetree/bindings/clock/ti/dra7-atl.txt | 97 +++++++
arch/arm/boot/dts/dra7.dtsi | 11 +
arch/arm/boot/dts/dra7xx-clocks.dtsi | 38 +--
drivers/clk/ti/Makefile | 3 +-
drivers/clk/ti/clk-7xx.c | 2 +-
drivers/clk/ti/clk-dra7-atl.c | 313 +++++++++++++++++++++
include/dt-bindings/clk/ti-dra7-atl.h | 40 +++
7 files changed, 483 insertions(+), 21 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/ti/dra7-atl.txt
create mode 100644 drivers/clk/ti/clk-dra7-atl.c
create mode 100644 include/dt-bindings/clk/ti-dra7-atl.h

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/