]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd44017022291d26736932fe26b075db3c4d1b352
tree1e20d25f0278a82b32780ca998861257edfde498
parentfc1a0de1445a2e373d62edf99a4fd3498b80d0b4
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