mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
arm64: dts: zx296718-evb: add I2S sound card support
It enables the I2S sound card support, which is used to drive audio through aud96p22 codec in case of TV output. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
This commit is contained in:
parent
6285fccee5
commit
e419a9a010
1 changed files with 48 additions and 0 deletions
|
@ -61,6 +61,26 @@ sound-spdif0 {
|
|||
compatible = "audio-graph-card";
|
||||
dais = <&spdif0_port>;
|
||||
};
|
||||
|
||||
sound-i2s0 {
|
||||
compatible = "audio-graph-card";
|
||||
dais = <&i2s0_port>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lifier_pins>;
|
||||
pa-gpios = <&bgpio4 0 GPIO_ACTIVE_HIGH>;
|
||||
widgets = "Line", "Line Out Jack";
|
||||
routing = "Amplifier", "LINEOUTL",
|
||||
"Amplifier", "LINEOUTR",
|
||||
"Line Out Jack", "Amplifier";
|
||||
};
|
||||
};
|
||||
|
||||
&aud96p22 {
|
||||
port {
|
||||
aud96p22_endpoint: endpoint {
|
||||
remote-endpoint = <&i2s0_endpoint>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&emmc {
|
||||
|
@ -77,6 +97,30 @@ hdmi_endpoint: endpoint {
|
|||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2s0 {
|
||||
status = "okay";
|
||||
|
||||
i2s0_port: port {
|
||||
i2s0_endpoint: endpoint {
|
||||
remote-endpoint = <&aud96p22_endpoint>;
|
||||
dai-format = "i2s";
|
||||
frame-master;
|
||||
bitclock-master;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pmm {
|
||||
amplifier_pins: amplifier {
|
||||
pins = "TSI3_DATA";
|
||||
function = "BGPIO";
|
||||
};
|
||||
};
|
||||
|
||||
&sd1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -91,6 +135,10 @@ spdif0_endpoint: endpoint {
|
|||
};
|
||||
};
|
||||
|
||||
&tvenc {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue