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. 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 | 822 +++++++++++++++++++++ drivers/media/platform/seco-cec/seco-cec.h | 141 ++++ 6 files changed, 994 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