Hi, This series fixes so HDMI through the sii9234 MHL chip works when cable is hotplugged, by making the MHL chip use extcon cable detection functions. Patch 3, that actually implements the extcon parts, is heavily inspired by commit 688838442147 ("drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL") by Maciej Purski.
Before these changes, HDMI only worked if cable was plugged in before booting. If no cable was connected, then wlr-randr still showed HDMI as connected, with 0x0 px, which confused at least some UIs (phosh) and caused problems: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/828 Tested on exynos4412-i9305. Best regards, Henrik Grimler Signed-off-by: Henrik Grimler <hen...@grimler.se> --- Changes in v2: - Add dependency on extcon in patch 3. Issue reported by kernel test robot <l...@intel.com> - Link to v1: https://lore.kernel.org/r/20250721-exynos4-sii9234-driver-v1-0-2e47ed02f...@grimler.se --- Henrik Grimler (3): drm/bridge: sii9234: fix some typos in comments and messages drm/bridge: sii9234: use dev_err_probe where applicable drm/bridge: sii9234: use extcon cable detection logic to detect MHL drivers/gpu/drm/bridge/Kconfig | 1 + drivers/gpu/drm/bridge/sii9234.c | 121 ++++++++++++++++++++++++++++++++------- 2 files changed, 101 insertions(+), 21 deletions(-) --- base-commit: e48123c607a0db8b9ad02f83c8c3d39918dbda06 change-id: 20231218-exynos4-sii9234-driver-d817d4b511d5 Best regards, -- Henrik Grimler <hen...@grimler.se>