diff options
author | Andrew Lunn <andrew@lunn.ch> | 2014-05-22 19:31:49 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-26 17:29:30 +0400 |
commit | 2942a0e285c46587a1025f12597df63ec04d08c6 (patch) | |
tree | 4376a294b4b8be8093b46650a9c0a3e26873a460 /Documentation | |
parent | 648722155dc081b019ab0ef548bbebde760a2b83 (diff) | |
download | linux-2942a0e285c46587a1025f12597df63ec04d08c6.tar.xz |
ASoC: simple-card: Support setting mclk via a fixed factor
Some platforms require that the codecs mclk is a fixed multiplication
factor of the audio stream rate. Add a optional property to the
binding to hold this factor and implement a hw_params() function to
make use of it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation')
-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 9b9df146fd1a..c2e9841dfce4 100644 --- a/Documentation/devicetree/bindings/sound/simple-card.txt +++ b/Documentation/devicetree/bindings/sound/simple-card.txt @@ -15,6 +15,9 @@ Optional properties: Each entry is a pair of strings, the first being the connection's sink, the second being the connection's source. +- simple-audio-card,mclk-fs : Multiplication factor between stream rate and codec + mclk. + Optional subnodes: - simple-audio-card,dai-link : Container for dai-link level |