drm: bridge: dw-hdmi: Add support for custom PHY configuration
authorKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Fri, 3 Mar 2017 17:20:04 +0000 (19:20 +0200)
committerArchit Taneja <architt@codeaurora.org>
Fri, 10 Mar 2017 10:05:50 +0000 (15:35 +0530)
commit2ef9dfedefd60a12d2b02b1ee0a42be3506c43f2
tree2914abfb2a30cd4525904a2b182424a6ea8ad5a4
parentf1585f6e29f5aba34e2cd6e3db9f0dd33b046809
drm: bridge: dw-hdmi: Add support for custom PHY configuration

The DWC HDMI TX controller interfaces with a companion PHY. While
Synopsys provides multiple standard PHYs, SoC vendors can also integrate
a custom PHY.

Modularize PHY configuration to support vendor PHYs through platform
data. The existing PHY configuration code was originally written to
support the DWC HDMI 3D TX PHY, and seems to be compatible with the DWC
MLP PHY. The HDMI 2.0 PHY will require a separate configuration
function.

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