diff options
author | Leon Romanovsky <leon@leon.nu> | 2012-02-02 22:13:35 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-06 18:21:42 -0800 |
commit | 613e9657df44eed37e6559a1f56371e7246529b4 (patch) | |
tree | 313764eb301f9ab00b1a2f446812a209edafa222 /arch/arm | |
parent | d17adfdb17fb9f182d1fc5189d4772cd03f187c3 (diff) | |
download | blackbird-op-linux-613e9657df44eed37e6559a1f56371e7246529b4.tar.gz blackbird-op-linux-613e9657df44eed37e6559a1f56371e7246529b4.zip |
ARM: dt: tegra: Enable device tree audio codec on PAZ00 board.
This patch adds initial device tree support of ALC5632 sound codec and
machine driver for PAZ00 board. The implementation is based on the WM8903 codec.
Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/tegra-paz00.dts | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/tegra-paz00.dts b/arch/arm/boot/dts/tegra-paz00.dts index 4d1bcdc2d432..e6809b7273b6 100644 --- a/arch/arm/boot/dts/tegra-paz00.dts +++ b/arch/arm/boot/dts/tegra-paz00.dts @@ -12,6 +12,13 @@ i2c@7000c000 { clock-frequency = <400000>; + + alc5632: alc5632@1e { + compatible = "realtek,alc5632"; + reg = <0x1e>; + gpio-controller; + #gpio-cells = <2>; + }; }; i2c@7000c400 { @@ -37,16 +44,26 @@ clock-frequency = <400000>; }; - i2s@70002800 { - status = "disable"; - }; - i2s@70002a00 { status = "disable"; }; - das@70000c00 { - status = "disable"; + sound { + compatible = "nvidia,tegra-audio-alc5632-paz00", + "nvidia,tegra-audio-alc5632"; + + nvidia,model = "Compal PAZ00"; + + nvidia,audio-routing = + "Int Spk", "SPKOUT", + "Int Spk", "SPKOUTN", + "Headset Mic", "MICBIAS1", + "MIC1", "Headset Mic", + "Headset Stereophone", "HPR", + "Headset Stereophone", "HPL"; + + nvidia,audio-codec = <&alc5632>; + nvidia,i2s-controller = <&tegra_i2s1>; }; serial@70006000 { |