STM32 DSI controller driver: mode_valid clock tolerance

Sean Nyekjaer sean at geanix.com
Fri Mar 8 08:35:27 UTC 2024


Hi,

I’m using a stm32mp157 with a sn65dsi83 DSI2LVDS bridge.
The LVDS display is having a minimum clock of 25.2 MHz, typical of 27,2 MHz and a max of 30,5 MHz.

I will fail the mode_valid check with MODE_CLOCK_RANGE.
It will request 27200000 Hz, but is getting 27250000. Guess the display is fine with this :)

In this case it seems a bit harsh to fail if the output clock isn’t within 50 Hz of the requested clock.

If HDMI is requiring a tolerance of 50 Hz, would it be better to do the check in the HDMI bridge driver?

/Sean


More information about the dri-devel mailing list