1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/bridge
Antonio Borneo 9cc4853e47
drm: adv7511: override i2c address of cec before accessing it
Commit 680532c50b ("drm: adv7511: Add support for
i2c_new_secondary_device") allows a device tree node to override
the default addresses of the secondary i2c devices. This is useful
for solving address conflicts on the i2c bus.

In adv7511_init_cec_regmap() the new i2c address of cec device is
read from device tree and immediately accessed, well before it is
written in the proper register to override the default address.
This can cause an i2c error during probe and a consequent probe
failure.

Once the new i2c address is read from the device tree, override
the default address before any attempt to access the cec.

Tested with adv7533 and stm32mp157f.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Fixes: 680532c50b ("drm: adv7511: Add support for i2c_new_secondary_device")
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220607213144.427177-1-antonio.borneo@foss.st.com
2022-06-10 10:11:14 +02:00
..
adv7511 drm: adv7511: override i2c address of cec before accessing it 2022-06-10 10:11:14 +02:00
analogix Revert "drm/bridge: anx7625: Use DPI bus type" 2022-05-23 18:16:32 +02:00
cadence drm/display: Move HDCP helpers into display-helper module 2022-04-25 11:19:36 +02:00
synopsys drm/display: Move SCDC helpers into display-helper library 2022-04-25 11:19:37 +02:00
cdns-dsi.c drm/bridge: cdns-dsi: Add support for pre_enable and post_enable control functions. 2022-05-11 14:26:13 +02:00
chipone-icn6211.c drm: bridge: icn6211: Adjust clock phase using SYS_CTRL_1 2022-05-26 14:02:55 +02:00
chrontel-ch7033.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
cros-ec-anx7688.c drm/bridge: Add ChromeOS EC ANX7688 bridge driver support 2021-05-18 16:41:01 +02:00
display-connector.c drm/bridge: display-connector: add ddc-en gpio support 2022-04-11 16:02:45 +01:00
fsl-ldb.c drm: bridge: ldb: Implement simple Freescale i.MX8MP LDB bridge 2022-05-02 16:44:55 +02:00
ite-it6505.c drm/bridge: it6505: Send DPCD SET_POWER to downstream 2022-05-02 16:36:23 +02:00
ite-it66121.c drm: bridge: it66121: Add audio support 2022-03-24 09:48:00 +01:00
Kconfig drm: bridge: Add TI DLPC3433 DSI to DMD bridge 2022-06-03 16:23:31 +02:00
lontium-lt8912b.c drm/bridge: lt8912b: Register and attach our DSI device at probe 2021-10-27 22:07:56 +02:00
lontium-lt9211.c drm/bridge: lt9211: Add Lontium LT9211 bridge driver 2022-04-19 16:47:38 +02:00
lontium-lt9611.c drm/bridge: lt9611: Use both bits for HDMI sensing 2022-05-23 12:17:50 +02:00
lontium-lt9611uxc.c drm/bridge: lt9611uxc: Cancel only driver's work 2022-06-07 14:57:47 +02:00
lvds-codec.c drm/bridge: lvds-codec: Add support for pixel data sampling edge select 2021-12-16 09:37:41 +01:00
Makefile drm: bridge: Add TI DLPC3433 DSI to DMD bridge 2022-06-03 16:23:31 +02:00
megachips-stdpxxxx-ge-b850v3-fw.c drm/bridge: megachips: Ensure both bridges are probed before registration 2021-11-25 12:51:47 +01:00
nwl-dsi.c drm/bridge: nwl-dsi: Set PHY mode in nwl_dsi_mode_set() 2022-05-06 09:55:16 +02:00
nwl-dsi.h drm/bridge: Add NWL MIPI DSI host controller support 2020-04-09 15:52:47 +02:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: switch to devm_drm_of_get_bridge 2022-03-08 12:07:09 +01:00
panel.c drm: bridge: panel: Register connector if DRM device is already registered 2022-04-19 18:11:27 +02:00
parade-ps8622.c drm/bridge: parade-ps8622: switch to devm_drm_of_get_bridge 2022-03-08 12:07:17 +01:00
parade-ps8640.c drm/bridge: parade-ps8640: Handle DP AUX more properly 2022-06-02 15:15:55 -07:00
sii902x.c drm/bridge: sii902x: add support for DRM_BRIDGE_ATTACH_NO_CONNECTOR 2022-01-17 10:50:38 +01:00
sii9234.c drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid() 2020-06-23 19:53:27 +02:00
sil-sii8620.c drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev 2022-01-04 14:34:39 +01:00
sil-sii8620.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
simple-bridge.c drm: bridge: simple-bridge: Make connector creation optional 2020-06-23 19:52:32 +02:00
tc358762.c drm/bridge: tc358762: drop connector field 2022-04-26 14:04:11 +02:00
tc358764.c drm: bridge: tc358764: Use drm panel_bridge API 2022-03-31 16:21:10 +02:00
tc358767.c drm/bridge: tc358767: Make sure Refclk clock are enabled 2022-05-21 17:58:55 +02:00
tc358768.c drm/bridge: tc358768: Correct BTACNTRL1 programming 2021-10-19 11:40:02 +02:00
tc358775.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
thc63lvd1024.c drm/bridge: thc63lvd1024: Fix regulator_get_optional() misuse 2021-01-05 07:19:48 +02:00
ti-dlpc3433.c drm: bridge: Add TI DLPC3433 DSI to DMD bridge 2022-06-03 16:23:31 +02:00
ti-sn65dsi83.c drm/bridge: ti-sn65dsi83: Handle dsi_lanes == 0 as invalid 2022-05-23 11:38:43 +02:00
ti-sn65dsi86.c drm: Rename dp/ to display/ 2022-04-25 11:17:45 +02:00
ti-tfp410.c drm/bridge: tfp410: Make tfp410_fini() return void 2022-05-02 16:51:13 +02:00
ti-tpd12s015.c drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe 2020-11-05 22:09:09 +01:00