On Sat, 2 Dec 2023 at 10:01, Tony Lindgren <t...@atomide.com> wrote: > > The current code assumes the data-lanes property is configured on the > DSI host side instead of the bridge side, and assumes DSI host endpoint 1. > > Let's standardize on what the other bridge drivers are doing and parse the > data-lanes property for the bridge. Only if data-lanes property is not found, > let's be nice and also check the DSI host for old dtb in use and warn.
It might be worth adding that lanes configuration for the host and for the bridge might be different (e.g. the lanes might be swapped on the host side). Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org> > Signed-off-by: Tony Lindgren <t...@atomide.com> > --- > drivers/gpu/drm/bridge/tc358775.c | 25 +++++++++++-------------- > 1 file changed, 11 insertions(+), 14 deletions(-) -- With best wishes Dmitry