Hi,
upgrading from kernel 3.10.17 to 3.14.28 on similar sabreauto borard, i get this warning for the audio codec cs42888 / esai interface
fsl-esai-dai 2024000.esai: failed to derive required HCKT rate
fsl-esai-dai 2024000.esai: the ratio is out of range, 0 (2 ~ 65536)
fsl-esai-dai 2024000.esai: ASoC: 2024000.esai hw params failed: -22
Is there any main difference on clocks in the new kernel that i have to take in account ?
Thanks
angelo
Solved! Go to Solution.
I solved.
my issues was related to a devicetree node name different from sabreauto devicetree:
clocks {
codec_osc: anaclk2 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24576000>;
};
};
Note, the naming must repsect "anaclk2" or there is no link with anaclk2 clock.
Thanks,
changes are many.
I am looking into the 3.14.28 sabreauto dtsi, that have same cs42888 to imx6q wirings as in my board, and there are changes inside the &esai { } section,
but if i reflect them on my board i still have similar issues:
fsl_esai_set_dai_sysclk clk_rate 30000000
changes to
fsl_esai_set_dai_sysclk clk_rate 24000000
About this error:
fsl-esai-dai 2024000.esai: failed to derive required HCKT rate
It is not clear why HCKT have to be set internally. I am in slave mode, since external master clock (24576000) is provided to cs42888 and it should act as master.
I solved.
my issues was related to a devicetree node name different from sabreauto devicetree:
clocks {
codec_osc: anaclk2 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24576000>;
};
};
Note, the naming must repsect "anaclk2" or there is no link with anaclk2 clock.