LF-2739: mfd: mxc-hdmi-core: Complete cts value for 32kHz
Complete cts value for 32kHz and different pixel clock, otherwise there is no sound for 32kHz. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Sandor Yu<Sandor.yu@nxp.com>
This commit is contained in:
parent
bf89c5f6cb
commit
10cdb76c4b
|
@ -441,10 +441,29 @@ static unsigned int hdmi_compute_cts(unsigned int freq, unsigned long pixel_clk,
|
|||
unsigned int cts = 0;
|
||||
switch (freq) {
|
||||
case 32000:
|
||||
if (pixel_clk == 297000000)
|
||||
switch (pixel_clk) {
|
||||
case 25200000:
|
||||
case 27000000:
|
||||
case 54000000:
|
||||
case 74250000:
|
||||
case 148500000:
|
||||
cts = pixel_clk / 1000;
|
||||
break;
|
||||
case 297000000:
|
||||
cts = 222750;
|
||||
else if (pixel_clk == 25174000)
|
||||
break;
|
||||
case 25174000:
|
||||
cts = 28125;
|
||||
break;
|
||||
/*
|
||||
* All other TMDS clocks are not supported by
|
||||
* DWC_hdmi_tx. The TMDS clocks divided or
|
||||
* multiplied by 1,001 coefficients are not
|
||||
* supported.
|
||||
*/
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 48000:
|
||||
case 96000:
|
||||
|
|
Loading…
Reference in New Issue