linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] media: Add Amlogic Meson AO CEC Controller support
@ 2017-07-10  8:01 Neil Armstrong
  2017-07-10  8:01 ` [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver Neil Armstrong
  2017-07-10  8:01 ` [PATCH v2 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings Neil Armstrong
  0 siblings, 2 replies; 8+ messages in thread
From: Neil Armstrong @ 2017-07-10  8:01 UTC (permalink / raw)
  To: mchehab, hans.verkuil
  Cc: Neil Armstrong, linux-media, linux-amlogic, linux-arm-kernel,
	linux-kernel

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 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

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              | 781 +++++++++++++++++++++
 5 files changed, 823 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-27 15:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-10  8:01 [PATCH v2 0/2] media: Add Amlogic Meson AO CEC Controller support Neil Armstrong
2017-07-10  8:01 ` [PATCH v2 1/2] platform: Add Amlogic Meson AO CEC Controller driver Neil Armstrong
2017-07-17  8:01   ` Hans Verkuil
2017-07-25 12:34     ` Neil Armstrong
2017-07-25 13:45       ` Hans Verkuil
2017-07-27 14:43         ` Neil Armstrong
2017-07-27 15:14           ` Neil Armstrong
2017-07-10  8:01 ` [PATCH v2 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings Neil Armstrong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).