Add the ability to pass DSI HS clock frequency constraints between neighboring DSI bridges via struct drm_bridge_state . This way the DSI HS clock frequency negotiation can be implemented instead of the current ad-hoc method where each bridge attempts to guess the neighbor HS clock frequency setting or expectation.
Signed-off-by: Marek Vasut <ma...@denx.de> --- Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Cc: Lucas Stach <l.st...@pengutronix.de> Cc: Maxime Ripard <max...@cerno.tech> Cc: Robert Foss <robert.f...@linaro.org> Cc: Sam Ravnborg <s...@ravnborg.org> --- include/drm/drm_atomic.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h index 10b1990bc1f68..eece7557933d2 100644 --- a/include/drm/drm_atomic.h +++ b/include/drm/drm_atomic.h @@ -1117,6 +1117,8 @@ struct drm_bridge_state { * @input_bus_cfg: input bus configuration */ struct drm_bus_cfg input_bus_cfg; + unsigned long hs_rate_min; + unsigned long hs_rate_max; /** * @output_bus_cfg: input bus configuration -- 2.35.1