ARM: shmobile: bockw: add sound to DT
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Thu, 26 Feb 2015 16:42:12 +0000 (17:42 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Sun, 1 Mar 2015 02:04:44 +0000 (11:04 +0900)
Adds sound card using the ak4643 codec.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7778-bockw.dts

index 646383a..787fa6f 100644 (file)
                regulator-boot-on;
                regulator-always-on;
        };
+
+       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>;
+                       system-clock-frequency = <11289600>;
+               };
+       };
 };
 
 &bsc {