Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/4] Support HDMI CEC on Qualcomm SoCs
@ 2023-04-18 18:10 Arnaud Vrac
  2023-04-18 18:10 ` [PATCH 1/4] drm/msm: add some cec register bitfield details Arnaud Vrac
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Arnaud Vrac @ 2023-04-18 18:10 UTC (permalink / raw)
  To: Rob Clark, Hans Verkuil, Abhinav Kumar, Dmitry Baryshkov,
	Sean Paul, Andy Gross, Bjorn Andersson, Konrad Dybcio,
	Rob Herring, Krzysztof Kozlowski
  Cc: David Airlie, Daniel Vetter, linux-media, linux-arm-msm,
	dri-devel, freedreno, devicetree, Arnaud Vrac

Some Qualcomm SoCs that support HDMI also support CEC, including MSM8996
and MSM8998. The hardware block can handle a single CEC logical address
and broadcast messages.

Port the CEC driver from downstream msm-4.4 kernel. It has been tested
on MSM8998 and passes the cec-compliance tool tests. The equivalent
downstream driver also passed CEC CTS tests using a Quantum Data QD882E
analyzer.

Some registers bitfield definitions were added to make the code clearer,
and those will also be proposed for upstream in the original xml file
from which the header was generated, in the mesa project.

Note HDMI support is not yet included upstream for MSM8998, I would
appreciate if someone can verify this driver at least works on MSM8996,
for which adding the pinctrl nodes for CEC should be sufficient.

Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
---
Arnaud Vrac (4):
      drm/msm: add some cec register bitfield details
      drm/msm: add hdmi cec support
      drm/msm: expose edid to hdmi cec adapter
      arm64: dts: qcom: msm8998: add hdmi cec pinctrl nodes

 arch/arm64/boot/dts/qcom/msm8998.dtsi  |  14 ++
 drivers/gpu/drm/msm/Kconfig            |   8 +
 drivers/gpu/drm/msm/Makefile           |   1 +
 drivers/gpu/drm/msm/hdmi/hdmi.c        |  15 ++
 drivers/gpu/drm/msm/hdmi/hdmi.h        |  18 +++
 drivers/gpu/drm/msm/hdmi/hdmi.xml.h    |  62 +++++++-
 drivers/gpu/drm/msm/hdmi/hdmi_bridge.c |   2 +
 drivers/gpu/drm/msm/hdmi/hdmi_cec.c    | 280 +++++++++++++++++++++++++++++++++
 drivers/gpu/drm/msm/hdmi/hdmi_hpd.c    |  17 +-
 9 files changed, 412 insertions(+), 5 deletions(-)
---
base-commit: e3342532ecd39bbd9c2ab5b9001cec1589bc37e9
change-id: 20230418-msm8998-hdmi-cec-08b5890bf41e

Best regards,
-- 
Arnaud Vrac <avrac@freebox.fr>


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

end of thread, other threads:[~2023-05-26 10:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 18:10 [PATCH 0/4] Support HDMI CEC on Qualcomm SoCs Arnaud Vrac
2023-04-18 18:10 ` [PATCH 1/4] drm/msm: add some cec register bitfield details Arnaud Vrac
2023-04-19 23:53   ` Dmitry Baryshkov
2023-04-20  0:10     ` Abhinav Kumar
2023-04-20  0:11       ` Dmitry Baryshkov
2023-04-20  0:17         ` Abhinav Kumar
2023-04-20  0:21           ` Dmitry Baryshkov
2023-04-20  0:27             ` [Freedreno] " Abhinav Kumar
2023-04-20  0:30               ` Dmitry Baryshkov
2023-04-20  6:36                 ` Arnaud Vrac
2023-04-18 18:10 ` [PATCH 2/4] drm/msm: add hdmi cec support Arnaud Vrac
2023-04-20  0:20   ` Dmitry Baryshkov
2023-04-20  7:24     ` Arnaud Vrac
2023-04-20  9:03       ` Dmitry Baryshkov
2023-04-21 13:26   ` Hans Verkuil
2023-04-21 16:58     ` Arnaud Vrac
2023-05-26 10:48       ` Hans Verkuil
2023-04-18 18:10 ` [PATCH 3/4] drm/msm: expose edid to hdmi cec adapter Arnaud Vrac
2023-04-20  0:04   ` Dmitry Baryshkov
2023-04-18 18:10 ` [PATCH 4/4] arm64: dts: qcom: msm8998: add hdmi cec pinctrl nodes Arnaud Vrac
2023-04-22 12:10   ` Konrad Dybcio

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