OSDN Git Service

drm/tegra: hdmi: Add cec-notifier support
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Sep 2017 12:29:52 +0000 (14:29 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:54 +0000 (14:19 +0200)
commitfb83be8873909ba7c089d1c5cb72873cc2cce7d1
tree1e20d25f0278a82b32780ca998861257edfde498
parenta2f2f7403e1ea192ce79584d7050c46e455409dd
drm/tegra: hdmi: Add cec-notifier support

In order to support CEC the HDMI driver has to inform the CEC driver
whenever the physical address changes. So when the EDID is read the
CEC driver has to be informed and whenever the hotplug detect goes
away.

This is done through the cec-notifier framework.

The link between the HDMI driver and the CEC driver is done through
the hdmi-phandle property in the tegra-cec node in the device tree.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/Kconfig
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/hdmi.c
drivers/gpu/drm/tegra/output.c