simple-audio-card,mclk-fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Morimoto-san,

Do you have any plans on adding support for multiple mclk-fs values
in simple-card?

Usually one constant mclk-fs value is not enough because usually codecs
have different value depending on rate.

For example, for wm8524 [1] one can use
mclk-fs = 256 for rates between 8kHz and 96kHz
but it needs to change mclk-fs = 128 for 176.4hHz
and 192kHz.

I am thinking of something like this:

--- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts
@@ -44,6 +44,8 @@
                compatible = "simple-audio-card";
                simple-audio-card,name = "wm8524-audio";
                simple-audio-card,format = "i2s";
+               simple-audio-card,lrclk-fs = <8000>, <32000>, <44100>
<48000>, <96000>, <176400>, <192000>;
+               simple-audio-card,mclk-fs = <256>, <256>, <256>,
<256>, <256>, <128>, <128>;

Let me know if this would be a good direction and I will send a patch.

thanks,
Daniel.
[1] https://www.cirrus.com/products/wm8524/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux