media: add SECO cec driver
authorEttore Chimenti <ek5.chimenti@gmail.com>
Sun, 21 Oct 2018 16:58:19 +0000 (12:58 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 22 Nov 2018 18:12:28 +0000 (13:12 -0500)
commitb03c2fb97adcc65d3c4098c4aa41fbaa6623ebf2
treeebcf46197bd8908f196789e054c3d1e2ac9b9b61
parent5200ab6a32d6055428896a49ec9e3b1652c1a100
media: add SECO cec driver

This patch adds support to the CEC device implemented with a STM32
microcontroller in X86 SECO Boards, including UDOO X86.

The communication is achieved via Braswell integrated SMBus
(i2c-i801). The driver use direct access to the PCI addresses, due to
the limitations of the specific driver in presence of ACPI calls.

The basic functionalities are tested with success with cec-ctl and
cec-compliance.

Inspired by cros-ec-cec implementation, attaches to i915 driver
cec-notifier.

Signed-off-by: Ettore Chimenti <ek5.chimenti@gmail.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
MAINTAINERS
drivers/media/platform/Kconfig
drivers/media/platform/Makefile
drivers/media/platform/seco-cec/Makefile [new file with mode: 0644]
drivers/media/platform/seco-cec/seco-cec.c [new file with mode: 0644]
drivers/media/platform/seco-cec/seco-cec.h [new file with mode: 0644]