drm/vc4: hdmi: Add PHY init and disable function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:25 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:06:04 +0000 (18:06 +0200)
commitc457b8aededd6c0b5a4ee6ba408f378791c9ebf8
tree8b19f9357b0b89c1ec3295cd09b1fd77df08f48d
parent9045e91a476b7504b8bfb207466b7b12dd135381
drm/vc4: hdmi: Add PHY init and disable function

The HDMI PHY in the BCM2711 HDMI controller is significantly more
complicated to setup than in the older BCM283x SoCs.

Let's add hooks to enable and disable the PHY.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/7216826284dbc60a58bdacd662805d20699e5c80.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/Makefile
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h
drivers/gpu/drm/vc4/vc4_hdmi_phy.c [new file with mode: 0644]