]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: ti-sn65dsi86: Check bridge connection failure
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 18 Mar 2025 15:52:56 +0000 (16:52 +0100)
committerDouglas Anderson <dianders@chromium.org>
Mon, 24 Mar 2025 15:47:58 +0000 (08:47 -0700)
commitd69362f55fba92eb4cac10fe8da618de52b49bfc
tree7467fbce8eaa969564780239ae9a7b5da20f5103
parent1d1f7b15cb9c11974cebfd39da51dc69b8cb31ff
drm/bridge: ti-sn65dsi86: Check bridge connection failure

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@sang-engineering.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250318155549.19625-2-wsa+renesas@sang-engineering.com
drivers/gpu/drm/bridge/ti-sn65dsi86.c