diff options
author | Daniel Mack <daniel@zonque.org> | 2018-07-02 17:11:00 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-05 11:08:08 +0100 |
commit | 90eb6b59d311e6facd040124cb5b659a865125b8 (patch) | |
tree | edd6856bdfffc011e3365f0d9e12c2a4e089eab2 /Documentation | |
parent | 74b37e299f038c910dc728d736e3f071ba0ead2a (diff) | |
download | linux-90eb6b59d311e6facd040124cb5b659a865125b8.tar.gz linux-90eb6b59d311e6facd040124cb5b659a865125b8.tar.bz2 linux-90eb6b59d311e6facd040124cb5b659a865125b8.zip |
ASoC: pxa-ssp: add support for an external clock in devicetree
Allow setting a clock called 'extclk' in the device of the ssp-dai
device. If specified, this clock will be set to the mclk rate from the
DAI's .set_sysclk() callback. The DAI will also configure itself to
use that external clock.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt b/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt index 74c9ba6c2823..93b982e9419f 100644 --- a/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt +++ b/Documentation/devicetree/bindings/sound/mrvl,pxa-ssp.txt @@ -5,6 +5,14 @@ Required properties: compatible Must be "mrvl,pxa-ssp-dai" port A phandle reference to a PXA ssp upstream device +Optional properties: + + clock-names + clocks Through "clock-names" and "clocks", external clocks + can be configured. If a clock names "extclk" exists, + it will be set to the mclk rate of the audio stream + and be used as clock provider of the DAI. + Example: /* upstream device */ |