]> git.baikalelectronics.ru Git - kernel.git/commit
drm: bridge: dw-hdmi: Move HPD handling to PHY operations
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 12:31:59 +0000 (14:31 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 4 Apr 2017 15:48:21 +0000 (17:48 +0200)
commit54ed53ff660f6e6aefaaeee58c3361c45e37be7d
tree96d4e122781582c0b1dbb60726ee69fa2229ae43
parent07386873c015ecd943c69535cda5b67ffbc6d292
drm: bridge: dw-hdmi: Move HPD handling to PHY operations

The HDMI TX controller support HPD and RXSENSE signaling from the PHY
via it's STAT0 PHY interface, but some vendor PHYs can manage these
signals independently from the controller, thus these STAT0 handling
should be moved to PHY specific operations and become optional.

The existing STAT0 HPD and RXSENSE handling code is refactored into
a supplementaty set of default PHY operations that are used automatically
when the platform glue doesn't provide its own operations.

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