[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1501168830-5308-1-git-send-email-narmstrong@baylibre.com>
Date: Thu, 27 Jul 2017 17:20:28 +0200
From: Neil Armstrong <narmstrong@...libre.com>
To: mchehab@...nel.org, hans.verkuil@...co.com
Cc: Neil Armstrong <narmstrong@...libre.com>,
linux-media@...r.kernel.org, linux-amlogic@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/2] media: Add Amlogic Meson AO CEC Controller support
The Amlogic SoC embeds a standalone CEC controller, this patch adds a driver
for such controller.
The controller does not need HPD to be active, and could support up to max
5 logical addresses, but only 1 is handled since the Suspend firmware can
make use of this unique logical address to wake up the device.
The Suspend firmware configuration will be added in an other patchset.
Changes since v2 at [2] :
- change meson_ao_cec_read/write prototype to simplify error handling
Changes since v1 at [1] :
- add timeout to wait busy, with error return
- handle busy error in all read/write operations
- add CEC_CAP_PASSTHROUGH
- add bindings ack
[1] https://lkml.kernel.org/r/1499336870-24118-1-git-send-email-narmstrong@baylibre.com
[2] https://lkml.kernel.org/r/1499673696-21372-1-git-send-email-narmstrong@baylibre.com
Neil Armstrong (2):
platform: Add Amlogic Meson AO CEC Controller driver
dt-bindings: media: Add Amlogic Meson AO-CEC bindings
.../devicetree/bindings/media/meson-ao-cec.txt | 28 +
drivers/media/platform/Kconfig | 11 +
drivers/media/platform/Makefile | 2 +
drivers/media/platform/meson/Makefile | 1 +
drivers/media/platform/meson/ao-cec.c | 744 +++++++++++++++++++++
5 files changed, 786 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/meson-ao-cec.txt
create mode 100644 drivers/media/platform/meson/Makefile
create mode 100644 drivers/media/platform/meson/ao-cec.c
--
1.9.1
Powered by blists - more mailing lists