You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
media: cec: i2c: ch7322: Add ch7322 CEC controller driver
Add a CEC device driver for the Chrontel ch7322 CEC conroller. This is an I2C device capable of sending and receiving CEC messages. Signed-off-by: Jeff Chase <jnchase@google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
98f803cfa7
commit
21b9a47e0e
@@ -4107,6 +4107,7 @@ L: linux-media@vger.kernel.org
|
||||
S: Maintained
|
||||
T: git git://linuxtv.org/media_tree.git
|
||||
F: Documentation/devicetree/bindings/media/i2c/chontel,ch7322.yaml
|
||||
F: drivers/media/cec/i2c/ch7322.c
|
||||
|
||||
CIRRUS LOGIC AUDIO CODEC DRIVERS
|
||||
M: James Schulman <james.schulman@cirrus.com>
|
||||
|
||||
@@ -33,6 +33,7 @@ menuconfig MEDIA_CEC_SUPPORT
|
||||
adapter that supports HDMI CEC.
|
||||
|
||||
if MEDIA_CEC_SUPPORT
|
||||
source "drivers/media/cec/i2c/Kconfig"
|
||||
source "drivers/media/cec/platform/Kconfig"
|
||||
source "drivers/media/cec/usb/Kconfig"
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-y += core/ platform/ usb/
|
||||
obj-y += core/ i2c/ platform/ usb/
|
||||
|
||||
14
drivers/media/cec/i2c/Kconfig
Normal file
14
drivers/media/cec/i2c/Kconfig
Normal file
@@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# I2C drivers
|
||||
|
||||
config CEC_CH7322
|
||||
tristate "Chrontel CH7322 CEC controller"
|
||||
depends on I2C
|
||||
select REGMAP_I2C
|
||||
select CEC_CORE
|
||||
help
|
||||
This is a driver for the Chrontel CH7322 CEC controller. It uses the
|
||||
generic CEC framework interface.
|
||||
CEC bus is present in the HDMI connector and enables communication
|
||||
between compatible devices.
|
||||
5
drivers/media/cec/i2c/Makefile
Normal file
5
drivers/media/cec/i2c/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
#
|
||||
# Makefile for the CEC I2C device drivers.
|
||||
#
|
||||
obj-$(CONFIG_CEC_CH7322) += ch7322.o
|
||||
604
drivers/media/cec/i2c/ch7322.c
Normal file
604
drivers/media/cec/i2c/ch7322.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user