[PATCH 0/2] drm/bridge: Add 'struct device *' field to the drm_bridge structure

Sui Jingfeng
2024-05-14T15:40:57Z

Because a lot of implementations has already added it into their drived
class, promote it into drm_bridge core may benifits a lot. drm bridge is
a driver, it should know the underlying hardware entity.

Sui Jingfeng (2):
drm/bridge: Support finding bridge with struct device
drm/bridge: Switch to use drm_bridge_add_with_dev()

drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 3 +-
.../drm/bridge/analogix/analogix-anx6345.c | 4 +-
.../drm/bridge/analogix/analogix-anx78xx.c | 4 +-
drivers/gpu/drm/bridge/analogix/anx7625.c | 3 +-
.../gpu/drm/bridge/cadence/cdns-dsi-core.c | 3 +-
.../drm/bridge/cadence/cdns-mhdp8546-core.c | 3 +-
drivers/gpu/drm/bridge/chipone-icn6211.c | 5 +--
drivers/gpu/drm/bridge/chrontel-ch7033.c | 3 +-
drivers/gpu/drm/bridge/cros-ec-anx7688.c | 4 +-
drivers/gpu/drm/bridge/display-connector.c | 3 +-
drivers/gpu/drm/bridge/fsl-ldb.c | 3 +-
drivers/gpu/drm/bridge/imx/imx8mp-hdmi-pvi.c | 3 +-
.../gpu/drm/bridge/imx/imx8qxp-pixel-link.c | 3 +-
drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c | 3 +-
drivers/gpu/drm/bridge/ite-it6505.c | 3 +-
drivers/gpu/drm/bridge/ite-it66121.c | 3 +-
drivers/gpu/drm/bridge/lontium-lt8912b.c | 3 +-
drivers/gpu/drm/bridge/lontium-lt9211.c | 3 +-
drivers/gpu/drm/bridge/lontium-lt9611.c | 3 +-
drivers/gpu/drm/bridge/lontium-lt9611uxc.c | 3 +-
drivers/gpu/drm/bridge/lvds-codec.c | 3 +-
.../bridge/megachips-stdpxxxx-ge-b850v3-fw.c | 3 +-
drivers/gpu/drm/bridge/microchip-lvds.c | 3 +-
drivers/gpu/drm/bridge/nwl-dsi.c | 3 +-
drivers/gpu/drm/bridge/nxp-ptn3460.c | 3 +-
drivers/gpu/drm/bridge/panel.c | 3 +-
drivers/gpu/drm/bridge/parade-ps8622.c | 3 +-
drivers/gpu/drm/bridge/parade-ps8640.c | 1 -
drivers/gpu/drm/bridge/samsung-dsim.c | 3 +-
drivers/gpu/drm/bridge/sii902x.c | 3 +-
drivers/gpu/drm/bridge/sii9234.c | 3 +-
drivers/gpu/drm/bridge/sil-sii8620.c | 3 +-
drivers/gpu/drm/bridge/simple-bridge.c | 3 +-
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +-
drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 3 +-
drivers/gpu/drm/bridge/tc358762.c | 3 +-
drivers/gpu/drm/bridge/tc358764.c | 3 +-
drivers/gpu/drm/bridge/tc358767.c | 3 +-
drivers/gpu/drm/bridge/tc358768.c | 3 +-
drivers/gpu/drm/bridge/tc358775.c | 3 +-
drivers/gpu/drm/bridge/thc63lvd1024.c | 3 +-
drivers/gpu/drm/bridge/ti-dlpc3433.c | 3 +-
drivers/gpu/drm/bridge/ti-sn65dsi83.c | 3 +-
drivers/gpu/drm/bridge/ti-sn65dsi86.c | 3 +-
drivers/gpu/drm/bridge/ti-tfp410.c | 3 +-
drivers/gpu/drm/bridge/ti-tpd12s015.c | 3 +-
drivers/gpu/drm/drm_bridge.c | 39 +++++++++++++++++++
drivers/gpu/drm/i2c/tda998x_drv.c | 5 +--
include/drm/drm_bridge.h | 5 +++
49 files changed, 91 insertions(+), 99 deletions(-)

--
2.43.0