From: Archit Taneja <architt@codeaurora.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
devicetree@vger.kernel.org, Lars-Peter Clausen <lars@metafoo.de>
Subject: Re: [PATCH 0/4] drm/bridge/adv7511: add CEC support
Date: Thu, 10 Aug 2017 14:19:58 +0530 [thread overview]
Message-ID: <9d1757b3-24f9-2f0f-1971-62d1ef4b79e3@codeaurora.org> (raw)
In-Reply-To: <20170730130743.19681-1-hverkuil@xs4all.nl>
Hi Hans,
On 07/30/2017 06:37 PM, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verkuil@cisco.com>
>
> This patch series adds CEC support to the drm adv7511/adv7533 drivers.
>
> I have tested this with the Qualcomm Dragonboard C410 (adv7533 based)
> and the Renesas R-Car Koelsch board (adv7511 based).
>
> Note: the Dragonboard needs this patch:
>
> https://patchwork.kernel.org/patch/9824773/
>
> Archit, can you confirm that this patch will go to kernel 4.14?
>
> And the Koelsch board needs this 4.13 fix:
>
> https://patchwork.kernel.org/patch/9836865/
>
> I only have the Koelsch board to test with, but it looks like other
> R-Car boards use the same adv7511. It would be nice if someone can
> add CEC support to the other R-Car boards as well. The main thing
> to check is if they all use the same 12 MHz fixed CEC clock source.
>
> Anyone who wants to test this will need the CEC utilities that
> are part of the v4l-utils git repository:
>
> git clone git://linuxtv.org/v4l-utils.git
> cd v4l-utils
> ./bootstrap.sh
> ./configure
> make
> sudo make install
>
> Now configure the CEC adapter as a Playback device:
>
> cec-ctl --playback
>
> Discover other CEC devices:
>
> cec-ctl -S
I tried the instructions, and I get the following output. I don't think I have
any CEC device connected, though. Is this the expected behaviour?
#cec-ctl -S
Driver Info:
Driver Name : adv7511
Adapter Name : 3-0039
Capabilities : 0x0000000e
Logical Addresses
Transmit
Passthrough
Driver version : 4.13.0
Available Logical Addresses: 3
Physical Address : 1.0.0.0
Logical Address Mask : 0x0000
CEC Version : 2.0
Logical Addresses : 0
#cec-ctl --playback
[ 1038.761545] cec-3-0039: cec_thread_func: message 44 timed out!
Driver Info:
Driver Name : adv7511
Adapter Name : 3-0039
Capabilities : 0x0000000e
Logical Addresses
Transmit
Passthrough
Driver version : 4.13.0
Available Logical Addresses: 3
Physical Address : 1.0.0.0
Logical Address Mask : 0x0010
CEC Version : 2.0
Vendor ID : 0x000c03
Logical Addresses : 1 (Allow RC Passthrough)
Logical Address : 4
Primary Device Type : Playback
Logical Address Type : Playback
All Device Types : Playback
RC TV Profile : None
Device Features :
None
[ 1041.063605] cec-3-0039: cec_thread_func: message 4f a6 06 10 00 00 timed out!
[ 1043.367482] cec-3-0039: cec_thread_func: message 4f 84 10 00 04 timed out!
Thanks,
Archit
>
> Regards,
>
> Hans
>
> Hans Verkuil (4):
> dt-bindings: adi,adv7511.txt: document cec clock
> arm: dts: qcom: add cec clock for apq8016 board
> arm: dts: renesas: add cec clock for Koelsch board
> drm: adv7511/33: add HDMI CEC support
>
> .../bindings/display/bridge/adi,adv7511.txt | 4 +
> arch/arm/boot/dts/r8a7791-koelsch.dts | 8 +
> arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 2 +
> drivers/gpu/drm/bridge/adv7511/Kconfig | 8 +
> drivers/gpu/drm/bridge/adv7511/Makefile | 1 +
> drivers/gpu/drm/bridge/adv7511/adv7511.h | 45 ++-
> drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 314 +++++++++++++++++++++
> drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 152 +++++++++-
> drivers/gpu/drm/bridge/adv7511/adv7533.c | 30 +-
> 9 files changed, 514 insertions(+), 50 deletions(-)
> create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c
>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-08-10 8:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 13:07 [PATCH 0/4] drm/bridge/adv7511: add CEC support Hans Verkuil
2017-07-30 13:07 ` [PATCH 1/4] dt-bindings: adi,adv7511.txt: document cec clock Hans Verkuil
[not found] ` <20170730130743.19681-2-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-08-03 23:35 ` Rob Herring
2017-07-30 13:07 ` [PATCH 2/4] arm: dts: qcom: add cec clock for apq8016 board Hans Verkuil
2017-07-30 13:07 ` [PATCH 3/4] arm: dts: renesas: add cec clock for Koelsch board Hans Verkuil
2017-08-14 15:34 ` Geert Uytterhoeven
2017-08-17 8:13 ` Simon Horman
2017-07-30 13:07 ` [PATCH 4/4] drm: adv7511/33: add HDMI CEC support Hans Verkuil
2017-08-10 8:49 ` Archit Taneja
2017-08-12 9:53 ` Hans Verkuil
2017-08-12 10:54 ` Hans Verkuil
2017-08-09 12:37 ` [PATCH 0/4] drm/bridge/adv7511: add " Archit Taneja
2017-08-10 8:49 ` Archit Taneja [this message]
[not found] ` <9d1757b3-24f9-2f0f-1971-62d1ef4b79e3-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-08-10 8:56 ` Hans Verkuil
2017-08-10 9:08 ` Archit Taneja
2017-08-10 9:51 ` Hans Verkuil
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=9d1757b3-24f9-2f0f-1971-62d1ef4b79e3@codeaurora.org \
--to=architt@codeaurora.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hverkuil@xs4all.nl \
--cc=lars@metafoo.de \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.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).