Skip to content

drm/meson: dw-hdmi: clean-up

Jerome Brunet dri-devel linux-amlogic lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/meson: hdmi: move encoder settings out of phy driverdrivers/gpu/drm/meson/meson_dw_hdmi.c drivers/gpu/drm/meson/meson_encoder_hdmi.c+16 -381 reply
2/9drm/meson: vclk: drop hdmi system clock setupdrivers/gpu/drm/meson/meson_vclk.c+0 -82 replies
3/9drm/meson: dw-hdmi: use generic clock helpersdrivers/gpu/drm/meson/meson_dw_hdmi.c+3 -333 replies
4/9drm/meson: dw-hdmi: fix incorrect comment in suspenddrivers/gpu/drm/meson/meson_dw_hdmi.c+1 -12 replies
5/9drm/meson: dw-hdmi: split resets out of hw init.drivers/gpu/drm/meson/meson_dw_hdmi.c+9 -53 replies
6/9drm/meson: dw-hdmi: convert to regmapdrivers/gpu/drm/meson/meson_dw_hdmi.c drivers/gpu/drm/meson/meson_dw_hdmi.h+239 -2852 replies
7/9drm/meson: dw-hdmi: use matched datadrivers/gpu/drm/meson/meson_dw_hdmi.c+139 -703 replies
8/9drm/meson: dw-hdmi: don't write power controller registersdrivers/gpu/drm/meson/meson_dw_hdmi.c+0 -41 reply
9/9drm/meson: dw-hdmi: drop hdmi system clock setupdrivers/gpu/drm/meson/meson_dw_hdmi.c+0 -40 replies

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchMartin BlumenstinglNeil Armstrong
1/9R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] drm/meson: dw-hdmi: clean-up

This patchset is a clean up of the Amlogic HDMI phy driver.

It is part of an effort to remove the use HHI syscon from the driver and properly use frameworks, such as PD and clocks, instead of going for an incorrectly global register region.

When this is done, it should be easier to remove the usage of the component API from the Amlogic display drivers.

To be clear, this patchset does not go this far yet. It stops short of making any controversial DT changes. To decouple the HDMI phy driver and main DRM driver, allowing the PHY to get hold of its registers, I believe a DT ABI break is inevitable. Ideally the register region of the PHY within the HHI should provided, not the whole HHI. That's pain for another day ...

The last 2 patches should not be applied yet. They depend on DT changes which recently got applied. Time is needed for the DT changes to sink in u-boot and distros, to avoid breaking platforms which don't take DT from the kernel. These 2 patches are provided as a note that this should happen eventually.

Jerome Brunet (9):
drm/meson: hdmi: move encoder settings out of phy driver drm/meson: vclk: drop hdmi system clock setup drm/meson: dw-hdmi: use generic clock helpers drm/meson: dw-hdmi: fix incorrect comment in suspend drm/meson: dw-hdmi: split resets out of hw init. drm/meson: dw-hdmi: convert to regmap
drm/meson: dw-hdmi: use matched data
drm/meson: dw-hdmi: don't write power controller registers drm/meson: dw-hdmi: drop hdmi system clock setup

 drivers/gpu/drm/meson/meson_dw_hdmi.c      | 746 ++++++++++-----------
 drivers/gpu/drm/meson/meson_dw_hdmi.h      |  49 +-
 drivers/gpu/drm/meson/meson_encoder_hdmi.c |  16 +
 drivers/gpu/drm/meson/meson_vclk.c         |   8 -
 4 files changed, 389 insertions(+), 430 deletions(-)
Signature · 1 line
2.43.0