Commit 191825c3 authored by Andrew Lunn's avatar Andrew Lunn Committed by Jason Cooper

ARM: Kirkwood: t5325: Use simple card to instantiate audio

Add device tree nodes to instantiate the audio drivers on the HP T5325
device.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1399141819-23924-8-git-send-email-andrew@lunn.chSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 1756c381
......@@ -187,6 +187,31 @@ gpio_poweroff {
gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
};
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,routing =
"Headphone Jack", "HPL",
"Headphone Jack", "HPR",
"Speaker", "SPKOUT",
"Speaker", "SPKOUTN",
"MIC1", "Mic Jack",
"MIC2", "Mic Jack";
simple-audio-card,widgets =
"Headphone", "Headphone Jack",
"Speaker", "Speaker",
"Microphone", "Mic Jack";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,cpu {
sound-dai = <&audio>;
};
simple-audio-card,codec {
sound-dai = <&alc5621>;
};
};
};
&mdio {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment