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: add HDMI CEC framework (api)
The added HDMI CEC framework provides a generic kernel interface for HDMI CEC devices. Note that the CEC framework is added to staging/media and that the cec.h and cec-funcs.h headers are not exported yet. While the kABI is mature, I would prefer to allow the uABI some more time before it is mainlined in case it needs more tweaks. This adds the cec-api.c source that deals with the public CEC API and the Kconfig/Makefile plumbing. The MAINTAINERS file is also updated. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [k.debski@samsung.com: code cleanup and fixes] Signed-off-by: Kamil Debski <kamil@wypas.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
9881fe0ca1
commit
ca684386e6
16
MAINTAINERS
16
MAINTAINERS
@@ -2847,6 +2847,22 @@ F: drivers/net/ieee802154/cc2520.c
|
||||
F: include/linux/spi/cc2520.h
|
||||
F: Documentation/devicetree/bindings/net/ieee802154/cc2520.txt
|
||||
|
||||
CEC DRIVER
|
||||
M: Hans Verkuil <hans.verkuil@cisco.com>
|
||||
L: linux-media@vger.kernel.org
|
||||
T: git git://linuxtv.org/media_tree.git
|
||||
W: http://linuxtv.org
|
||||
S: Supported
|
||||
F: Documentation/cec.txt
|
||||
F: Documentation/DocBook/media/v4l/cec*
|
||||
F: drivers/staging/media/cec/
|
||||
F: drivers/media/cec-edid.c
|
||||
F: drivers/media/rc/keymaps/rc-cec.c
|
||||
F: include/media/cec.h
|
||||
F: include/media/cec-edid.h
|
||||
F: include/linux/cec.h
|
||||
F: include/linux/cec-funcs.h
|
||||
|
||||
CELL BROADBAND ENGINE ARCHITECTURE
|
||||
M: Arnd Bergmann <arnd@arndb.de>
|
||||
L: linuxppc-dev@lists.ozlabs.org
|
||||
|
||||
@@ -21,6 +21,8 @@ if STAGING_MEDIA
|
||||
# Please keep them in alphabetic order
|
||||
source "drivers/staging/media/bcm2048/Kconfig"
|
||||
|
||||
source "drivers/staging/media/cec/Kconfig"
|
||||
|
||||
source "drivers/staging/media/cxd2099/Kconfig"
|
||||
|
||||
source "drivers/staging/media/davinci_vpfe/Kconfig"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
obj-$(CONFIG_I2C_BCM2048) += bcm2048/
|
||||
obj-$(CONFIG_MEDIA_CEC) += cec/
|
||||
obj-$(CONFIG_DVB_CXD2099) += cxd2099/
|
||||
obj-$(CONFIG_LIRC_STAGING) += lirc/
|
||||
obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
|
||||
|
||||
14
drivers/staging/media/cec/Kconfig
Normal file
14
drivers/staging/media/cec/Kconfig
Normal file
@@ -0,0 +1,14 @@
|
||||
config MEDIA_CEC
|
||||
tristate "CEC API (EXPERIMENTAL)"
|
||||
select MEDIA_CEC_EDID
|
||||
---help---
|
||||
Enable the CEC API.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called cec.
|
||||
|
||||
config MEDIA_CEC_DEBUG
|
||||
bool "CEC debugfs interface (EXPERIMENTAL)"
|
||||
depends on MEDIA_CEC && DEBUG_FS
|
||||
---help---
|
||||
Turns on the DebugFS interface for CEC devices.
|
||||
3
drivers/staging/media/cec/Makefile
Normal file
3
drivers/staging/media/cec/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
cec-objs := cec-core.o cec-adap.o cec-api.o
|
||||
|
||||
obj-$(CONFIG_MEDIA_CEC) += cec.o
|
||||
578
drivers/staging/media/cec/cec-api.c
Normal file
578
drivers/staging/media/cec/cec-api.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user