|
|
Subscribe / Log in / New account

Add SECO Boards CEC device driver

From:  ektor5 <ek5.chimenti-AT-gmail.com>
To:  unlisted-recipients:; (no To-header on input)
Subject:  [PATCH v2 0/2] Add SECO Boards CEC device driver
Date:  Fri, 5 Oct 2018 19:33:57 +0200
Message-ID:  <cover.1538760098.git.ek5.chimenti@gmail.com>
Cc:  hverkuil-AT-xs4all.nl, luca.pisani-AT-udoo.org, jose.abreu-AT-synopsys.com, sean-AT-mess.org, sakari.ailus-AT-linux.intel.com, ektor5 <ek5.chimenti-AT-gmail.com>, jacopo-AT-jmondi.org, Mauro Carvalho Chehab <mchehab-AT-kernel.org>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, "David S. Miller" <davem-AT-davemloft.net>, Andrew Morton <akpm-AT-linux-foundation.org>, Arnd Bergmann <arnd-AT-arndb.de>, Hans Verkuil <hans.verkuil-AT-cisco.com>, Laurent Pinchart <laurent.pinchart-AT-ideasonboard.com>, Geert Uytterhoeven <geert-AT-linux-m68k.org>, Jacob Chen <jacob-chen-AT-iotwrt.com>, Philippe Ombredanne <pombredanne-AT-nexb.com>, Maxime Ripard <maxime.ripard-AT-bootlin.com>, Neil Armstrong <narmstrong-AT-baylibre.com>, Todor Tomov <todor.tomov-AT-linaro.org>, linux-kernel-AT-vger.kernel.org, linux-media-AT-vger.kernel.org
Archive-link:  Article

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.

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



Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds