diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-12-16 21:59:09 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-12-18 07:10:56 -0500 |
commit | f3f17d32fe0f3be9b1514c7e6245edee3673dccc (patch) | |
tree | 0bc40e660631e1d125cbcd260cb56f1fe563c7fb | |
parent | 89b66174eca6609020cc3d1ef32df7956fd16b34 (diff) |
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 { | |||
249 | }; | 249 | }; |
250 | }; | 250 | }; |
251 | }; | 251 | }; |
252 | |||
253 | Example: simple sound card | ||
254 | |||
255 | rsnd_ak4643: sound { | ||
256 | compatible = "simple-audio-card"; | ||
257 | |||
258 | simple-audio-card,format = "left_j"; | ||
259 | simple-audio-card,bitclock-master = <&sndcodec>; | ||
260 | simple-audio-card,frame-master = <&sndcodec>; | ||
261 | |||
262 | sndcpu: simple-audio-card,cpu { | ||
263 | sound-dai = <&rcar_sound>; | ||
264 | }; | ||
265 | |||
266 | sndcodec: simple-audio-card,codec { | ||
267 | sound-dai = <&ak4643>; | ||
268 | clocks = <&audio_clock>; | ||
269 | }; | ||
270 | }; | ||
271 | |||
272 | &rcar_sound { | ||
273 | pinctrl-0 = <&sound_pins &sound_clk_pins>; | ||
274 | pinctrl-names = "default"; | ||
275 | |||
276 | /* Single DAI */ | ||
277 | #sound-dai-cells = <0>; | ||
278 | |||
279 | status = "okay"; | ||
280 | |||
281 | rcar_sound,dai { | ||
282 | dai0 { | ||
283 | playback = <&ssi0 &src2 &dvc0>; | ||
284 | capture = <&ssi1 &src3 &dvc1>; | ||
285 | }; | ||
286 | }; | ||
287 | }; | ||
288 | |||
289 | &ssi1 { | ||
290 | shared-pin; | ||
291 | }; | ||