diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-12-17 05:59:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-18 15:10:56 +0300 |
commit | f3f17d32fe0f3be9b1514c7e6245edee3673dccc (patch) | |
tree | 0bc40e660631e1d125cbcd260cb56f1fe563c7fb | |
parent | 89b66174eca6609020cc3d1ef32df7956fd16b34 (diff) | |
download | linux-f3f17d32fe0f3be9b1514c7e6245edee3673dccc.tar.xz |
ASoC: rsnd: add missing DT example for Simple Card
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt index 59cebfbd7b6a..bb9f33405d29 100644 --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt @@ -249,3 +249,43 @@ rcar_sound: sound@ec500000 { }; }; }; + +Example: simple sound card + + rsnd_ak4643: sound { + compatible = "simple-audio-card"; + + simple-audio-card,format = "left_j"; + simple-audio-card,bitclock-master = <&sndcodec>; + simple-audio-card,frame-master = <&sndcodec>; + + sndcpu: simple-audio-card,cpu { + sound-dai = <&rcar_sound>; + }; + + sndcodec: simple-audio-card,codec { + sound-dai = <&ak4643>; + clocks = <&audio_clock>; + }; + }; + +&rcar_sound { + pinctrl-0 = <&sound_pins &sound_clk_pins>; + pinctrl-names = "default"; + + /* Single DAI */ + #sound-dai-cells = <0>; + + status = "okay"; + + rcar_sound,dai { + dai0 { + playback = <&ssi0 &src2 &dvc0>; + capture = <&ssi1 &src3 &dvc1>; + }; + }; +}; + +&ssi1 { + shared-pin; +}; |