mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/bridge: sii9234: use extcon to detect cable attachment
@ 2025-07-21  9:43 Henrik Grimler
  2025-07-21  9:43 ` [PATCH 1/3] drm/bridge: sii9234: fix some typos in comments and messages Henrik Grimler
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Henrik Grimler @ 2025-07-21  9:43 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter, Maciej Purski
  Cc: dri-devel, linux-samsung-soc, ~postmarketos/upstreaming,
	replicant, linux-kernel, Henrik Grimler

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 <henrik@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/sii9234.c | 121 ++++++++++++++++++++++++++++++++-------
 1 file changed, 100 insertions(+), 21 deletions(-)
---
base-commit: ca2a6abdaee43808034cdb218428d2ed85fd3db8
change-id: 20231218-exynos4-sii9234-driver-d817d4b511d5

Best regards,
-- 
Henrik Grimler <henrik@grimler.se>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-08  7:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-21  9:43 [PATCH 0/3] drm/bridge: sii9234: use extcon to detect cable attachment Henrik Grimler
2025-07-21  9:43 ` [PATCH 1/3] drm/bridge: sii9234: fix some typos in comments and messages Henrik Grimler
2025-07-21  9:43 ` [PATCH 2/3] drm/bridge: sii9234: use dev_err_probe where applicable Henrik Grimler
2025-07-21  9:43 ` [PATCH 3/3] drm/bridge: sii9234: use extcon cable detection logic to detect MHL Henrik Grimler
2025-07-24 16:40   ` kernel test robot
2025-08-01  8:09   ` Marek Szyprowski
2025-08-08  7:39     ` Henrik Grimler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®