linux/drivers/gpu/drm/bridge
Geert Uytterhoeven 574f5ee2c8 drm/bridge: ti-sn65dsi86: Fix multiple instances
Each bridge instance creates up to four auxiliary devices with different
names.  However, their IDs are always zero, causing duplicate filename
errors when a system has multiple bridges:

    sysfs: cannot create duplicate filename '/bus/auxiliary/devices/ti_sn65dsi86.gpio.0'

Fix this by using a unique instance ID per bridge instance.  The
instance ID is derived from the I2C adapter number and the bridge's I2C
address, to support multiple instances on the same bus.

Fixes: bf73537f41 ("drm/bridge: ti-sn65dsi86: Break GPIO and MIPI-to-eDP bridge into sub-drivers")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/7a68a0e3f927e26edca6040067fb653eb06efb79.1733840089.git.geert+renesas@glider.be
2025-01-07 09:12:50 -08:00
..
adv7511 drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
analogix ASoC: hdmi-codec: pass data to get_dai_id too 2025-01-04 08:47:10 +02:00
cadence drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
imx Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
synopsys ASoC: hdmi-codec: pass data to get_dai_id too 2025-01-04 08:47:10 +02:00
aux-bridge.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
aux-hpd-bridge.c drm/bridge: aux: allow interlaced and YCbCr 420 output 2024-10-24 22:42:26 +03:00
chipone-icn6211.c drm/bridge: Constify struct i2c_device_id 2024-11-20 15:14:43 -08:00
chrontel-ch7033.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
cros-ec-anx7688.c
display-connector.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
fsl-ldb.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ite-it6263.c drm/bridge: ite-it6263: drop atomic_check() callback 2024-12-24 04:00:48 +02:00
ite-it6505.c drm/bridge: it6505: add I2C functionality on AUX 2025-01-03 20:24:32 +02:00
ite-it66121.c ASoC: hdmi-codec: move no_capture_mute to struct hdmi_codec_pdata 2025-01-04 08:47:10 +02:00
Kconfig drm/bridge: Add ITE IT6263 LVDS to HDMI converter 2024-11-05 13:26:43 +02:00
lontium-lt8912b.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
lontium-lt9211.c drm/bridge: Constify struct i2c_device_id 2024-11-20 15:14:43 -08:00
lontium-lt9611.c drm/bridge: lt9611: switch to using the DRM HDMI codec framework 2025-01-04 08:47:11 +02:00
lontium-lt9611uxc.c ASoC: hdmi-codec: pass data to get_dai_id too 2025-01-04 08:47:10 +02:00
lvds-codec.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
Makefile drm/bridge: Add ITE IT6263 LVDS to HDMI converter 2024-11-05 13:26:43 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/connector: make mode_valid take a const struct drm_display_mode 2025-01-07 12:45:19 +02:00
microchip-lvds.c
nwl-dsi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
nwl-dsi.h drm/bridge: nwl-dsi: Use vsync/hsync polarity from display mode 2024-08-19 15:36:47 +02:00
nxp-ptn3460.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
panel.c Linux 6.10-rc6 2024-07-05 10:47:28 +02:00
parade-ps8622.c
parade-ps8640.c
samsung-dsim.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
sii902x.c ASoC: hdmi-codec: move no_capture_mute to struct hdmi_codec_pdata 2025-01-04 08:47:10 +02:00
sii9234.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
sil-sii8620.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
sil-sii8620.h
simple-bridge.c drm: bridge: simple-bridge: use devm_drm_bridge_add in probe 2024-06-19 10:50:30 +02:00
tc358762.c
tc358764.c
tc358767.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
tc358768.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
tc358775.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
thc63lvd1024.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
ti-dlpc3433.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
ti-sn65dsi83.c drm/bridge: ti-sn65dsi83: Add ti,lvds-vod-swing optional properties 2024-12-19 11:09:14 +01:00
ti-sn65dsi86.c drm/bridge: ti-sn65dsi86: Fix multiple instances 2025-01-07 09:12:50 -08:00
ti-tdp158.c drm/bridge/tdp158: fix build failure 2024-09-04 12:20:01 +03:00
ti-tfp410.c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
ti-tpd12s015.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00