summaryrefslogtreecommitdiff
path: root/drivers/media/platform/Kconfig
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-09-19 14:15:53 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-01 23:21:14 +0300
commit7e86efa2ff03db92067b2f6f4fa3f1f8b8da7c76 (patch)
treed09c07d18c292ae7d86ccd5c1eba3a89e3f6505b /drivers/media/platform/Kconfig
parent98f290731fe3cec04a1ca0635ad2d5d175d77276 (diff)
downloadlinux-7e86efa2ff03db92067b2f6f4fa3f1f8b8da7c76.tar.xz
media: cec-gpio: add notifier support
Add support for cec-notifier to the cec-gpio driver. This makes it possible to associate the CEC gpio pin with an HDMI connector. This feature was always documented in the cec-gpio bindings: Documentation/devicetree/bindings/media/cec-gpio.txt But support for the hdmi-phandle property was never actually implemented in this driver. This patch adds support for this property. It also fixes a few incorrect error returns in the probe() function, which skipped the call to cec_delete_adapter(). Tested on a Raspberry Pi 3B with a modified vc4 driver. 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/Kconfig')
-rw-r--r--drivers/media/platform/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig
index f1f61419fd29..1175f122bb1d 100644
--- a/drivers/media/platform/Kconfig
+++ b/drivers/media/platform/Kconfig
@@ -588,6 +588,7 @@ config CEC_GPIO
depends on PREEMPT || COMPILE_TEST
select CEC_CORE
select CEC_PIN
+ select CEC_NOTIFIER
select GPIOLIB
help
This is a generic GPIO-based CEC driver.