]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: sun8i-hdmi-phy: Support multiple custom PHY ops
authorSamuel Holland <samuel@sholland.org>
Wed, 15 Jun 2022 04:55:41 +0000 (23:55 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 07:27:46 +0000 (09:27 +0200)
commit86050fc902508f7a92a90838861c6319ef1e6849
tree83de0bcbdb35f047ade505e015513b7e2130dcc5
parent000697f0c416bea136d31191cb766d469766b742
drm/sun4i: sun8i-hdmi-phy: Support multiple custom PHY ops

The D1 SoC comes with a new custom HDMI PHY, which does not share any
registers with the existing custom PHY. So it needs a new set of ops.
Instead of providing a flag in the variant structure, provide the ops
themselves.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220615045543.62813-5-samuel@sholland.org
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h
drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c