From: Benjamin Gaignard <benjamin.gaignard@linaro.org>
To: hans.verkuil@cisco.com, linux-media@vger.kernel.org
Cc: kernel@stlinux.com, arnd@arndb.de, robh@kernel.org,
Benjamin Gaignard <benjamin.gaignard@linaro.org>
Subject: [PATCH v3 0/4] STIH CEC driver
Date: Thu, 15 Sep 2016 09:37:42 +0200 [thread overview]
Message-ID: <1473925066-8289-1-git-send-email-benjamin.gaignard@linaro.org> (raw)
version 3:
- remove rx_msg and use local variable instead
- change configuration flag from VIDEO_STIH_CEC to VIDEO_STI_HDMI_CEC
version 2:
- fix typo in comments
- in DT move stih-cec driver from stih410.dtsi to stih407-family.dtsi
Those patches implement HDMI CEC driver for stih4xx SoCs.
I have used media_tree/fixes and the lastest v4l-utils branch.
The compliance tools have been run with the following sequence:
cec-ctl --tuner -p 1.0.0.0
cec-compliance -A
and cec-follower running in a separate shell
Compliance logs:
cec-ctl --tuner -p 1.0.0.0
Driver Info:
Driver Name : stih-cec
Adapter Name : stih-cec
Capabilities : 0x0000000f
Physical Address
Logical Addresses
Transmit
Passthrough
Driver version : 4.8.0
Available Logical Addresses: 1
Physical Address : 1.0.0.0
Logical Address Mask : 0x0008
CEC Version : 2.0
Vendor ID : 0x000c03
OSD Name : 'Tuner'
Logical Addresses : 1
Logical Address : 3 (Tuner 1)
Primary Device Type : Tuner
Logical Address Type : Tuner
All Device Types : Tuner
RC TV Profile : None
Device Features :
None
cec-compliance -A
cec-compliance SHA : 56075a41f9294b21aa6bd80dc5e94cbd2b44087a
Driver Info:
Driver Name : stih-cec
Adapter Name : stih-cec
Capabilities : 0x0000000f
Physical Address
Logical Addresses
Transmit
Passthrough
Driver version : 4.8.0
Available Logical Addresses: 1
Physical Address : 1.0.0.0
Logical Address Mask : 0x0008
CEC Version : 2.0
Vendor ID : 0x000c03
Logical Addresses : 1
Logical Address : 3
Primary Device Type : Tuner
Logical Address Type : Tuner
All Device Types : Tuner
RC TV Profile : None
Device Features :
None
Compliance test for device /dev/cec0:
The test results mean the following:
OK Supported correctly by the device.
OK (Not Supported) Not supported and not mandatory for the device.
OK (Presumed) Presumably supported. Manually check to confirm.
OK (Unexpected) Supported correctly but is not expected to be supported for this device.
OK (Refused) Supported by the device, but was refused.
FAIL Failed and was expected to be supported by this device.
Find remote devices:
Polling: OK
CEC API:
CEC_ADAP_G_CAPS: OK
CEC_DQEVENT: OK
CEC_ADAP_G/S_PHYS_ADDR: OK
CEC_ADAP_G/S_LOG_ADDRS: OK
CEC_TRANSMIT: OK
CEC_RECEIVE: OK
CEC_TRANSMIT/RECEIVE (non-blocking): OK (Presumed)
CEC_G/S_MODE: OK
CEC_EVENT_LOST_MSGS: OK
Network topology:
System Information for device 0 (TV) from device 3 (Tuner 1):
CEC Version : 1.4
Physical Address : Tx, OK, Not Acknowledged (1), Rx, Timeout
Vendor ID : 0x00903e
OSD Name : 'TV'
Menu Language : fre
Power Status : On
Total: 10, Succeeded: 10, Failed: 0, Warnings: 0
cec-follower
cec-follower SHA : 56075a41f9294b21aa6bd80dc5e94cbd2b44087a
Driver Info:
Driver Name : stih-cec
Adapter Name : stih-cec
Capabilities : 0x0000000f
Physical Address
Logical Addresses
Transmit
Passthrough
Driver version : 4.8.0
Available Logical Addresses: 1
Physical Address : 1.0.0.0
Logical Address Mask : 0x0008
CEC Version : 2.0
Vendor ID : 0x000c03
Logical Addresses : 1
Logical Address : 3
Primary Device Type : Tuner
Logical Address Type : Tuner
All Device Types : Tuner
RC TV Profile : None
Device Features :
None
Initial Event: State Change: PA: 1.0.0.0, LA mask: 0x0008
Event: State Change: PA: 1.0.0.0, LA mask: 0x0000
Event: State Change: PA: 1.0.0.0, LA mask: 0x4000
Event: State Change: PA: 1.0.0.0, LA mask: 0x0000
Event: State Change: PA: 1.0.0.0, LA mask: 0x4000
Event: State Change: PA: 1.0.0.0, LA mask: 0x0000
Event: State Change: PA: 1.0.0.0, LA mask: 0x0008
Benjamin Gaignard (4):
bindings for stih-cec driver
add stih-cec driver
add stih-cec driver into DT
add maintainer for stih-cec driver
.../devicetree/bindings/media/stih-cec.txt | 25 ++
MAINTAINERS | 7 +
arch/arm/boot/dts/stih407-family.dtsi | 12 +
drivers/staging/media/Kconfig | 2 +
drivers/staging/media/Makefile | 1 +
drivers/staging/media/st-cec/Kconfig | 8 +
drivers/staging/media/st-cec/Makefile | 1 +
drivers/staging/media/st-cec/stih-cec.c | 380 +++++++++++++++++++++
8 files changed, 436 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/stih-cec.txt
create mode 100644 drivers/staging/media/st-cec/Kconfig
create mode 100644 drivers/staging/media/st-cec/Makefile
create mode 100644 drivers/staging/media/st-cec/stih-cec.c
--
1.9.1
next reply other threads:[~2016-09-15 7:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-15 7:37 Benjamin Gaignard [this message]
2016-09-15 7:37 ` [PATCH v3 1/4] bindings for stih-cec driver Benjamin Gaignard
2016-09-15 7:37 ` [PATCH v3 2/4] add " Benjamin Gaignard
2016-09-15 7:37 ` [PATCH v3 3/4] add stih-cec driver into DT Benjamin Gaignard
2016-09-15 7:37 ` [PATCH v3 4/4] add maintainer for stih-cec driver Benjamin Gaignard
2016-09-15 8:15 ` [STLinux Kernel] [PATCH v3 0/4] STIH CEC driver Peter Griffin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473925066-8289-1-git-send-email-benjamin.gaignard@linaro.org \
--to=benjamin.gaignard@linaro.org \
--cc=arnd@arndb.de \
--cc=hans.verkuil@cisco.com \
--cc=kernel@stlinux.com \
--cc=linux-media@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).