[media] cec: add HDMI CEC framework (adapter)
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 25 Jun 2016 12:44:16 +0000 (09:44 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 12:58:43 +0000 (09:58 -0300)
commit9881fe0ca187c213eb3a6a8e78e45ad4d1cec171
tree786c4677c611062ce2fcb2da57735eddfdbb19fa
parenta56960e8b406d36b612776c79134b954adc2ca18
[media] cec: add HDMI CEC framework (adapter)

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-adap.c source that deals with the low-level CEC
messaging and logical address handling.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
[k.debski@samsung.com: change kthread handling when setting logical address]
[k.debski@samsung.com: code cleanup and fixes]
[k.debski@samsung.com: add possibility to clear assigned logical addresses]
Signed-off-by: Kamil Debski <kamil@wypas.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/cec/cec-adap.c [new file with mode: 0644]