[PATCH] drm/msm/dsi: set default num_data_lanes

Stephen Boyd swboyd at chromium.org
Mon Nov 1 18:10:21 UTC 2021


Quoting Philip Chen (2021-10-30 10:08:50)
> If "data_lanes" property of the dsi output endpoint is missing in
> the DT, num_data_lanes would be 0 by default, which could cause
> dsi_host_attach() to fail if dsi->lanes is set to a non-zero value
> by the bridge driver.
>
> According to the binding document of msm dsi controller, the
> input/output endpoint of the controller is expected to have 4 lanes.
> So let's set num_data_lanes to 4 by default.
>
> Signed-off-by: Philip Chen <philipchen at chromium.org>
> ---

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the dri-devel mailing list