drm/bridge: dw-hdmi: add cec driver
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 2 Aug 2017 18:41:07 +0000 (20:41 +0200)
committerArchit Taneja <architt@codeaurora.org>
Mon, 7 Aug 2017 10:48:53 +0000 (16:18 +0530)
commita616e63c56ef35365b781f08c7d437840f56940f
tree0b9c91cfe2e2a1f83271974bab923c99817bf6eb
parente383bf85d32b5953f34fa0e3d619886ec49413b1
drm/bridge: dw-hdmi: add cec driver

Add a CEC driver for the dw-hdmi hardware.

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
[hans.verkuil: unsigned -> unsigned int]
[hans.verkuil: cec_transmit_done -> cec_transmit_attempt_done]
[hans.verkuil: add missing CEC_CAP_PASSTHROUGH]
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170802184108.7913-4-hverkuil@xs4all.nl
drivers/gpu/drm/bridge/synopsys/Kconfig
drivers/gpu/drm/bridge/synopsys/Makefile
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c [new file with mode: 0644]
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h [new file with mode: 0644]
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h