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 v3: - Fix return of dev_err_probe in patch 2 and patch 3, spotted by Dmitry and Marek respectively. - Change to depends on EXTCON || !EXTCON instead of select - Collect tags for patch 1 (not 3 since there were (minor) changes) - Link to v2: https://lore.kernel.org/r/20250724-exynos4-sii9234-driver-v2-0-faee244f1...@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 | 124 +++++++++++++++++++++++++++++++-------- 2 files changed, 102 insertions(+), 23 deletions(-) --- base-commit: efe927b9702643a1d80472664c2642f0304cb608 change-id: 20231218-exynos4-sii9234-driver-d817d4b511d5 Best regards, -- Henrik Grimler <hen...@grimler.se>