diff options
author | Jyri Sarha <jsarha@ti.com> | 2014-01-27 19:37:51 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-27 22:09:40 +0400 |
commit | 5ad8865b009bc8ad35adcbcb60c0679d437e8036 (patch) | |
tree | c253f8d42b1753655ec15a0c483a6218af09718a /Documentation/devicetree/bindings/sound/davinci-evm-audio.txt | |
parent | 7552f34a790069a008bd3e2ab4c0954b30c2f63b (diff) | |
download | linux-5ad8865b009bc8ad35adcbcb60c0679d437e8036.tar.xz |
ASoC: davinci-evm: Add named clock reference to DT bindings
The referenced clock is used to get codec clock rate and the clock is
disabled and enabled in startup and shutdown snd_soc_ops call
backs. The change is also documented in DT bindigs document.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
cc: bcousson@baylibre.com
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/davinci-evm-audio.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/davinci-evm-audio.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt index 865178d5cdf3..963e100514c2 100644 --- a/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt +++ b/Documentation/devicetree/bindings/sound/davinci-evm-audio.txt @@ -5,12 +5,19 @@ Required properties: - ti,model : The user-visible name of this sound complex. - ti,audio-codec : The phandle of the TLV320AIC3x audio codec - ti,mcasp-controller : The phandle of the McASP controller -- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec - ti,audio-routing : A list of the connections between audio components. Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. Valid names for sources and sinks are the codec's pins, and the jacks on the board: +Optional properties: +- ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. +- clocks : Reference to the master clock +- clock-names : The clock should be named "mclk" +- Either codec-clock-rate or the codec-clock reference has to be defined. If + the both are defined the driver attempts to set referenced clock to the + defined rate and takes the rate from the clock reference. + Board connectors: * Headphone Jack |