]> 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)
commit805d89699b8b3e8c8a305613172eb1be95d6fdcc
tree1e20d25f0278a82b32780ca998861257edfde498
parentdb00f5230513b5236e753fe6d38279ab292b84b6
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