[PATCH] drm/bridge: synopsys/dw-hdmi: set cec clock rate

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Sun Mar 13 09:14:49 PDT 2022



> Wiadomość napisana przez Peter Geis <pgwipeout at gmail.com> w dniu 13.03.2022, o godz. 13:56:
> 
>> 
> 
> I was worried about that, thanks for testing it.
> Can you send me the cec_clk rate before and after this patch?
> 

Here it is:

working:
                                 enable  prepare  protect                                duty  hardware
   clock                          count    count    count        rate   accuracy phase  cycle    enable
-------------------------------------------------------------------------------------------------------
clk_hdmi_cec                      1        2        0       32743          0     0  50000         Y



non-working:
                                 enable  prepare  protect                                duty  hardware
   clock                          count    count    count        rate   accuracy phase  cycle    enable
-------------------------------------------------------------------------------------------------------
clk_hdmi_cec                      1        2        0       32768          0     0  50000         Y



dmesg
[   52.745988] cec-dw_hdmi: message 44 timed out
[   54.879307] cec-dw_hdmi: message 44 timed out
[   57.012654] cec-dw_hdmi: message 88 timed out
[   59.145973] cec-dw_hdmi: message 88 timed out



player:
2022-03-13 11:04:40.938355 E CECAdapter: CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT failed - tx_status=00 errno=22
2022-03-13 11:04:40.938366 E CECAdapter: CLinuxCECAdapterCommunication::Write - ioctl CEC_TRANSMIT failed - tx_status=00 errno=22




More information about the Linux-rockchip mailing list