diff options
author | Ulrich Hecht <ulrich.hecht+renesas@gmail.com> | 2015-02-26 17:42:12 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-03-01 11:04:44 +0900 |
commit | ba32449535c57b7cc4da788326c6ae4908b70268 (patch) | |
tree | 5f9cc61b4a0f8253554091d8ce7c0700d98e700a /arch/arm/boot/dts/r8a7778-bockw.dts | |
parent | 39a96792c5d351e002fadbdaaba5fc0c20450f1d (diff) |
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.dts | 17 |
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 { |