arm64: dts: imx8ulp-evk: Add spdif sound card support
Add spdif sound card support, configure the pinmux. This sound card supports only playback sound through HDMI interface. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>pull/1083/head
parent
9fc7610930
commit
5c65d6dfcc
|
|
@ -107,6 +107,18 @@
|
|||
sound-dai = <&bt_sco_codec 1>;
|
||||
};
|
||||
};
|
||||
|
||||
sound-spdif {
|
||||
compatible = "fsl,imx-audio-spdif";
|
||||
model = "imx-spdif";
|
||||
audio-cpu = <&spdif>;
|
||||
audio-codec = <&spdif_out>;
|
||||
};
|
||||
|
||||
spdif_out: spdif-out {
|
||||
compatible = "linux,spdif-dit";
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
&cm33 {
|
||||
|
|
@ -187,6 +199,15 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&spdif {
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <&pinctrl_spdif>;
|
||||
pinctrl-1 = <&pinctrl_spdif>;
|
||||
assigned-clocks = <&cgc2 IMX8ULP_CLK_SPDIF_SEL>;
|
||||
assigned-clock-parents = <&cgc1 IMX8ULP_CLK_SPLL3_PFD1_DIV1>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbotg1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb1>;
|
||||
|
|
@ -325,6 +346,12 @@
|
|||
>;
|
||||
};
|
||||
|
||||
pinctrl_spdif: spdifgrp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTF25__SPDIF_OUT1 0x43
|
||||
>;
|
||||
};
|
||||
|
||||
pinctrl_typec1: typec1grp {
|
||||
fsl,pins = <
|
||||
MX8ULP_PAD_PTF3__PTF3 0x3
|
||||
|
|
|
|||
Loading…
Reference in New Issue