[PATCH v4 0/2] Add SECO Boards CEC device driver

From: ektor5
Date: Sun Oct 21 2018 - 12:59:23 EST


This series of patches aims to add CEC functionalities to SECO
devices, in particular UDOO X86.

The communication is achieved via Braswell SMBus (i2c-i801) to the
onboard STM32 microcontroller that handles the CEC signals. 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.

v4:
- Reduced SMBus timeout
- Removed/updated debug printouts
- Removed useless return values
- Update SECO denomination

v3:
- Refactored rx/tx for loops
- Removed more debug prints
- Sorted headers

v2:
- Removed useless debug prints
- Added DMI && PCI to dependences
- Removed useless ifdefs
- Renamed all irda references to ir
- Fixed SPDX clause
- Several style fixes

Ettore Chimenti (2):
media: add SECO cec driver
seco-cec: add Consumer-IR support

MAINTAINERS | 6 +
drivers/media/platform/Kconfig | 22 +
drivers/media/platform/Makefile | 2 +
drivers/media/platform/seco-cec/Makefile | 1 +
drivers/media/platform/seco-cec/seco-cec.c | 795 +++++++++++++++++++++
drivers/media/platform/seco-cec/seco-cec.h | 141 ++++
6 files changed, 967 insertions(+)
create mode 100644 drivers/media/platform/seco-cec/Makefile
create mode 100644 drivers/media/platform/seco-cec/seco-cec.c
create mode 100644 drivers/media/platform/seco-cec/seco-cec.h

--
2.18.0