Skip to content
Snippets Groups Projects
Commit 33af05d1 authored by Adrian Alonso's avatar Adrian Alonso
Browse files

LF-5093-10: dts: arm64: freescale: imx8mn evk: hifiberry dac update


Update device tree bindings to use fsl asoc parse
utils to handle audio hats with multiple codecs

Signed-off-by: default avatarAdrian Alonso <adrian.alonso@nxp.com>
Reviewed-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
parent 21999446
No related branches found
No related tags found
1 merge request!455CI: Update gitlab-ci
......@@ -34,19 +34,28 @@ sound-micfil {
sound-pcm512x {
compatible = "fsl,imx-audio-pcm512x";
model = "pcm512x-audio";
audio-cpu = <&sai5>;
audio-codec = <&pcm512x>;
format = "i2s";
audio-widgets =
"Line", "Left Line Out Jack",
"Line", "Right Line Out Jack";
audio-routing =
"Left Line Out Jack", "OUTL",
"Right Line Out Jack", "OUTR";
bitclock-master = <&pcm512x>;
frame-master = <&pcm512x>;
dac,24db_digital_gain;
dac,led_status;
dac,sclk;
pri-dai-link {
link-name = "pcm512x-hifi";
format = "i2s";
bitclock-master = <&sndcodec>;
frame-master = <&sndcodec>;
cpu {
sound-dai = <&sai5>;
};
sndcodec: codec {
sound-dai = <&pcm512x>;
};
};
};
};
......@@ -59,6 +68,7 @@ pcm512x: pcm512x@4d {
CPVDD-supply = <&reg_3v3_vext>;
clocks = <&ext_osc_22m>, <&ext_osc_24m>;
clock-names = "sclk0", "sclk1";
#sound-dai-cells = <0>;
};
};
......@@ -78,5 +88,9 @@ &micfil {
};
&sai5 {
/delete-property/ fsl,sai-asynchronous;
/delete-property/ fsl,sai-multi-lane;
dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>;
assigned-clock-rates = <24576000>;
status = "okay";
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment