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 <[email protected]> --- Cc: Laurent Pinchart <[email protected]> Cc: Lucas Stach <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Robert Foss <[email protected]> Cc: Sam Ravnborg <[email protected]> --- 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
