All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/bridge: dw-hdmi: disable loading of DW-HDMI CEC sub-driver
@ 2021-04-16  9:27 ` Neil Armstrong
  0 siblings, 0 replies; 45+ messages in thread
From: Neil Armstrong @ 2021-04-16  9:27 UTC (permalink / raw)
  To: jonas, jernej.skrabec, robert.foss, Laurent.pinchart
  Cc: dri-devel, linux-amlogic, linux-arm-kernel, linux-kernel, Neil Armstrong

This adds DW-HDMI driver a glue option to disable loading of the CEC sub-driver.

On some SoCs, the CEC functionality is enabled in the IP config bits, but the
CEC bus is non-functional like on Amlogic SoCs, where the CEC config bit is set
but the DW-HDMI CEC signal is not connected to a physical pin, leading to some
confusion when the DW-HDMI CEC controller can't communicate on the bus.

Jernej Skrabec (1):
  drm/bridge/synopsys: dw-hdmi: Add an option to suppress loading CEC
    driver

Neil Armstrong (1):
  drm/meson: dw-hdmi: disable DW-HDMI CEC sub-driver

 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 +-
 drivers/gpu/drm/meson/meson_dw_hdmi.c     | 1 +
 include/drm/bridge/dw_hdmi.h              | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 45+ messages in thread
* [PATCH 0/2] drm/sun4i: dw-hdmi: Improve CEC support
@ 2019-03-24 21:21 Jernej Skrabec
  2019-03-24 21:21   ` Jernej Skrabec
  0 siblings, 1 reply; 45+ messages in thread
From: Jernej Skrabec @ 2019-03-24 21:21 UTC (permalink / raw)
  To: maxime.ripard
  Cc: a.hajda, Laurent.pinchart, airlied, daniel, wens, dri-devel,
	linux-kernel, linux-arm-kernel

It turns out that additional logic between HDMI CEC controller and
pins on PHY on some Allwinner SoCs prevents proper communication.
It might be possible to fix it, but it's much easier and less error
prone to just directly drive pins using software implementation of
CEC protocol.

Let me know what do you think.

Best regards,
Jernej

Jernej Skrabec (2):
  drm/bridge/synopsys: dw-hdmi: Add an option to suppress loading CEC
    driver
  drm/sun4i: dw-hdmi: Bit bang CEC on some SoCs

 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |  2 +-
 drivers/gpu/drm/sun4i/Kconfig             | 10 +++
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h     | 11 +++
 drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c    | 83 ++++++++++++++++++++++-
 include/drm/bridge/dw_hdmi.h              |  2 +
 5 files changed, 105 insertions(+), 3 deletions(-)

-- 
2.21.0


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

end of thread, other threads:[~2021-04-20 22:52 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16  9:27 [PATCH 0/2] drm/bridge: dw-hdmi: disable loading of DW-HDMI CEC sub-driver Neil Armstrong
2021-04-16  9:27 ` Neil Armstrong
2021-04-16  9:27 ` Neil Armstrong
2021-04-16  9:27 ` Neil Armstrong
2021-04-16  9:27 ` [PATCH 1/2] drm/bridge/synopsys: dw-hdmi: Add an option to suppress loading CEC driver Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:27 ` [PATCH 2/2] drm/meson: dw-hdmi: disable DW-HDMI CEC sub-driver Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:27   ` Neil Armstrong
2021-04-16  9:58 ` [PATCH 0/2] drm/bridge: dw-hdmi: disable loading of " Laurent Pinchart
2021-04-16  9:58   ` Laurent Pinchart
2021-04-16  9:58   ` Laurent Pinchart
2021-04-16  9:58   ` Laurent Pinchart
2021-04-16 11:38   ` Neil Armstrong
2021-04-16 11:38     ` Neil Armstrong
2021-04-16 11:38     ` Neil Armstrong
2021-04-16 11:38     ` Neil Armstrong
2021-04-17  6:31     ` Jernej Škrabec
2021-04-17  6:31       ` Jernej Škrabec
2021-04-17  6:31       ` Jernej Škrabec
2021-04-17  6:31       ` Jernej Škrabec
2021-04-20 15:13     ` Hans Verkuil
2021-04-20 15:13       ` Hans Verkuil
2021-04-20 15:13       ` Hans Verkuil
2021-04-20 15:13       ` Hans Verkuil
2021-04-20 15:19       ` Neil Armstrong
2021-04-20 15:19         ` Neil Armstrong
2021-04-20 15:19         ` Neil Armstrong
2021-04-20 15:19         ` Neil Armstrong
2021-04-20 22:49         ` Laurent Pinchart
2021-04-20 22:49           ` Laurent Pinchart
2021-04-20 22:49           ` Laurent Pinchart
2021-04-20 22:49           ` Laurent Pinchart
  -- strict thread matches above, loose matches on Subject: below --
2019-03-24 21:21 [PATCH 0/2] drm/sun4i: dw-hdmi: Improve CEC support Jernej Skrabec
2019-03-24 21:21 ` [PATCH 1/2] drm/bridge/synopsys: dw-hdmi: Add an option to suppress loading CEC driver Jernej Skrabec
2019-03-24 21:21   ` Jernej Skrabec
2019-03-25  1:35   ` Laurent Pinchart
2019-03-25  1:35     ` Laurent Pinchart
2019-03-25  1:35     ` Laurent Pinchart
2019-03-25  6:18     ` Jernej Škrabec
2019-03-25  6:18       ` Jernej Škrabec
2019-03-25  8:33     ` Neil Armstrong
2019-03-25  8:33       ` Neil Armstrong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.