Skip to content

hdmi: Add common TMDS character rate constants

Javier Martinez Canillas dri-devel linux-arm-kernel linux-arm-msm linux-sunxi lkml 2 versions – Applied

Status from this message: Pushed to drm-misc (drm-misc-next). Thanks everyone for the feedback and review!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 6 repliesApplied
  2. v18 patches 15 repliesSuperseded

Changes in v2 from the cover letter

- Change naming convention to HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ (Maxime).
- Define the constants in <linux/hdmi.h> (Dmitry).

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/8video/hdmi: Add common TMDS character rate constantsinclude/linux/hdmi.h+6 -03 replies
2/8drm/bridge: dw-hdmi: Use the common TMDS char rate constantdrivers/gpu/drm/bridge/synopsys/dw-hdmi.c+4 -60 replies
3/8drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constantdrivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c+2 -41 reply
4/8drm/bridge: inno-hdmi: Use the common TMDS char rate constantdrivers/gpu/drm/bridge/inno-hdmi.c+1 -30 replies
5/8drm/sti: hdmi: Use the common TMDS char rate constantsdrivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c+4 -20 replies
6/8drm/sun4i: hdmi: Use the common TMDS char rate constantdrivers/gpu/drm/sun4i/sun4i_hdmi_enc.c+2 -20 replies
7/8drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHYdrivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c+2 -40 replies
8/8drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHYdrivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c+2 -40 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHeiko StuebnerNeil ArmstrongChen-Yu TsaiDmitry BaryshkovMaxime Ripard
SeriesR-b
1/8R-b R-b R-b
2/8R-b R-b
3/8R-b R-b
4/8R-b
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/8] hdmi: Add common TMDS character rate constants

Several DRM drivers define their own local macros or use magic numbers for the standard HDMI TMDS character rate limits. Maxime Ripard suggested that instead these common rate constants could be included to a shared header.

This series introduces these constants to the <linux/hdmi.h> header and replaces the local defined constants or magic numbers in drivers.

I split the changes as one patch per driver, so that these can be reviewed individually and merged at their own pace.

This is a version 2 that addresses issues pointed out by Maxime Ripard and Dmitry Baryshkov.

Changes in v2:
- Change naming convention to HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ (Maxime).
- Define the constants in <linux/hdmi.h> (Dmitry).

Javier Martinez Canillas (8):
video/hdmi: Add common TMDS character rate constants drm/bridge: dw-hdmi: Use the common TMDS char rate constant drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant drm/bridge: inno-hdmi: Use the common TMDS char rate constant drm/sti: hdmi: Use the common TMDS char rate constants drm/sun4i: hdmi: Use the common TMDS char rate constant drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY

 drivers/gpu/drm/bridge/inno-hdmi.c           |  4 +---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c |  6 ++----
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c    | 10 ++++------
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c     |  6 ++----
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c     |  6 ++----
 drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c   |  6 ++++--
 drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c       |  4 ++--
 include/linux/hdmi.h                         |  6 ++++++
 8 files changed, 23 insertions(+), 25 deletions(-)
Signature · 4 lines
2.54.0

base-commit: 88658ff0e4e7f46dbf8179af1280f2cb295fb0cb
branch: add-common-tmds-rates-v2