summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/r8a7778-bockw.dts
diff options
context:
space:
mode:
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>2015-02-26 17:42:12 +0100
committerSimon Horman <horms+renesas@verge.net.au>2015-03-01 11:04:44 +0900
commitba32449535c57b7cc4da788326c6ae4908b70268 (patch)
tree5f9cc61b4a0f8253554091d8ce7c0700d98e700a /arch/arm/boot/dts/r8a7778-bockw.dts
parent39a96792c5d351e002fadbdaaba5fc0c20450f1d (diff)
downloadlwn-ba32449535c57b7cc4da788326c6ae4908b70268.tar.gz
lwn-ba32449535c57b7cc4da788326c6ae4908b70268.zip
ARM: shmobile: bockw: add sound to DT
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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7778-bockw.dts')
-rw-r--r--arch/arm/boot/dts/r8a7778-bockw.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index 646383a489a0..787fa6f9f46d 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -45,6 +45,23 @@
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 {