[PATCH v3] drm/bridge: ti-sn65dsi86: Check bridge connection failure
Doug Anderson
dianders at chromium.org
Tue Mar 18 17:56:21 UTC 2025
Hi,
On Tue, Mar 18, 2025 at 8:56 AM Wolfram Sang
<wsa+renesas at sang-engineering.com> wrote:
>
> Read out and check the ID registers, so we can bail out if I2C
> communication does not work or if the device is unknown. Tested on a
> Renesas GrayHawk board (R-Car V4M) by using a wrong I2C address and by
> not enabling RuntimePM for the device.
>
> Signed-off-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
> ---
>
> Changes since v2:
> * switched to a new approach suggested by Doug (Thanks!). We add a
> dedicated read instead of using the first read. This prevents creating
> the aux devices. As a side-gain, we check now if the chip at the address
> is really the one we want to support.
>
> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Looks good to me.
Reviewed-by: Douglas Anderson <dianders at chromium.org>
More information about the dri-devel
mailing list