rk3576: what is situation with cec?

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Mon Jun 16 07:24:51 PDT 2025


Andy,
I’m curious of yours opinion...

I’m playing with cec support on 3576.
Code i’m using is well working (for me) 3588 cec implementation [1]

Unfortunately i can’t get it working on 3576.

On 3576 I’m getting right pulses on cec line but all are with ~10-12% longer timing (compared to 3588).
i.e. start pulse is ~4.1ms instead of 3.7ms. This confuses cec receiver so i’m getting bus NACK and whole comm fails.
I think issue is in 3576 cec clocking. 

My Q: 
1. is 3576 cec different to 3588 so it needs dedicated clocks setup?
2. or maybe there is small bug/overlook in 3576 clocks - so cec ip gest wrong clock on 3576?

[1] https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.15/files/1054-drm-bridge-synopsys-add-cec-support.patch

btw: i know cec on 3576/3588 awaits for proper cec framework but….if issue here is 3576 clocking - it needs to be solved anyway?
   





More information about the Linux-rockchip mailing list