diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2017-08-17 14:42:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-09-01 13:34:23 +0300 |
commit | a728f56094e7cf60a1dc0642fe86901d1a4dfb4e (patch) | |
tree | 0474d29ca412711f5bd23b9456c90407b6d04f33 /Documentation/devicetree/bindings | |
parent | 0995fb7c9802dd76422db384991f32296f8fbe1f (diff) | |
download | linux-a728f56094e7cf60a1dc0642fe86901d1a4dfb4e.tar.xz |
ASoC: make clock direction configurable in asoc-simple
Some CPU drivers (e. g. davinci-mcasp) may require the system clock to
be configured as OUT, while there's no good way currently to set
SND_SOC_CLK_OUT in simple-soc driver if the clock is fixed-rate.
This patch makes asoc_simple_card_init_dai() initialize clock to
SND_SOCK_CLK_OUT if explicitly stated in the relevant dts file. This
change is transparent and doesn't change the default behavior.
Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r-- | Documentation/devicetree/bindings/sound/simple-card.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/simple-card.txt b/Documentation/devicetree/bindings/sound/simple-card.txt index c7a93931fad2..166f2290233b 100644 --- a/Documentation/devicetree/bindings/sound/simple-card.txt +++ b/Documentation/devicetree/bindings/sound/simple-card.txt @@ -86,6 +86,9 @@ Optional CPU/CODEC subnodes properties: in dai startup() and disabled with clk_disable_unprepare() in dai shutdown(). +- system-clock-direction-out : specifies clock direction as 'out' on + initialization. It is useful for some aCPUs with + fixed clocks. Example 1 - single DAI link: |