]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge/synopsys: dw-hdmi: Export some PHY related functions
authorJernej Skrabec <jernej.skrabec@siol.net>
Wed, 14 Feb 2018 20:08:58 +0000 (21:08 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 16 Feb 2018 08:32:29 +0000 (09:32 +0100)
commite9c567220886e5aeaae4da9bf6b756150b685a10
treecf16030bad6216d840d118e0266030f125d8e45d
parent5e872c45aea7ce67a7c13758862bbbc7b1173015
drm/bridge/synopsys: dw-hdmi: Export some PHY related functions

Parts of PHY code could be useful also for custom PHYs. For example,
Allwinner A83T has custom PHY which is probably Synopsys gen2 PHY
with few additional memory mapped registers, so most of the Synopsys PHY
related code could be reused.

Functions exported here are actually not specific to Synopsys PHYs but
to DWC HDMI controller PHY interface. This means that even if the PHY is
completely custom, i.e. not designed by Synopsys, exported functions can
be useful.

Reviewed-by: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214200906.31509-5-jernej.skrabec@siol.net
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/meson/meson_dw_hdmi.c
include/drm/bridge/dw_hdmi.h