drm: bridge: dw-hdmi: Create PHY operations
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 5 Mar 2017 23:36:15 +0000 (01:36 +0200)
committerArchit Taneja <architt@codeaurora.org>
Fri, 10 Mar 2017 10:05:13 +0000 (15:35 +0530)
commitf1585f6e29f5aba34e2cd6e3db9f0dd33b046809
treef28eaa425f931c536205fbe5fae41c83102ce48a
parent181e0ef092a4952aa523c5b9cb21394cf43bcd46
drm: bridge: dw-hdmi: Create PHY operations

The HDMI TX controller support different PHYs whose programming
interface can vary significantly, especially with vendor PHYs that are
not provided by Synopsys. To support them, create a PHY operation
structure that can be provided by the platform glue layer. The existing
PHY handling code (limited to Synopsys PHY support) is refactored into a
set of default PHY operations that are used automatically when the
platform glue doesn't provide its own operations.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170305233615.11993-1-laurent.pinchart+renesas@ideasonboard.com
drivers/gpu/drm/bridge/dw-hdmi.c
include/drm/bridge/dw_hdmi.h