aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/meson/Makefile
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-04-12 04:30:59 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-04-22 13:16:05 -0400
commitb7778c46683ce468f49141a18d984f6f13c6c5d2 (patch)
treec15845529ea9a809276d9c8943fa6efbb2fbe082 /drivers/media/platform/meson/Makefile
parentmedia: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible (diff)
downloadlinux-dev-b7778c46683ce468f49141a18d984f6f13c6c5d2.tar.xz
linux-dev-b7778c46683ce468f49141a18d984f6f13c6c5d2.zip
media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver
The Amlogic G12A SoC embeds a second CEC controller with a totally different design. The two controller can work in the same time since the CEC line can be set to two different pins on the two controllers. This second CEC controller is documented as "AO-CEC-B", thus the registers will be named "CECB_" to differentiate with the other AO-CEC driver. Unlike the other AO-CEC controller, this one takes the Oscillator clock as input and embeds a dual-divider to provide a precise 32768Hz clock for communication. This is handled by registering a clock in the driver. Unlike the other AO-CEC controller, this controller supports setting up to 15 logical addresses and supports the signal_free_time settings in the transmit function. Unfortunately, this controller does not support "monitor" mode. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/meson/Makefile')
-rw-r--r--drivers/media/platform/meson/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/meson/Makefile b/drivers/media/platform/meson/Makefile
index 597beb8f34d1..f611c23c3718 100644
--- a/drivers/media/platform/meson/Makefile
+++ b/drivers/media/platform/meson/Makefile
@@ -1 +1,2 @@
obj-$(CONFIG_VIDEO_MESON_AO_CEC) += ao-cec.o
+obj-$(CONFIG_VIDEO_MESON_G12A_AO_CEC) += ao-cec-g12a.o