From: Hans Verkuil <hverkuil@xs4all.nl>
To: linux-media@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org,
Archit Taneja <architt@codeaurora.org>,
linux-renesas-soc@vger.kernel.org,
Lars-Peter Clausen <lars@metafoo.de>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Subject: [PATCHv3 0/2] drm/bridge/adv7511: add CEC support
Date: Sat, 7 Oct 2017 12:46:56 +0200 [thread overview]
Message-ID: <20171007104658.14528-1-hverkuil@xs4all.nl> (raw)
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).
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
Regards,
Hans
Changes since v2:
- A small rewording of the 'clocks' property description in the bindings
as per Sergei's comment.
Changes since v1:
- Incorporate Archit's comments:
use defines for irq masks
combine the adv7511/33 regmap_configs
adv7511_cec_init now handles dt parsing & CEC registration
- Use the new (4.14) CEC_CAP_DEFAULTS define
Hans Verkuil (2):
dt-bindings: adi,adv7511.txt: document cec clock
drm: adv7511/33: add HDMI CEC support
.../bindings/display/bridge/adi,adv7511.txt | 4 +
drivers/gpu/drm/bridge/adv7511/Kconfig | 8 +
drivers/gpu/drm/bridge/adv7511/Makefile | 1 +
drivers/gpu/drm/bridge/adv7511/adv7511.h | 43 ++-
drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 337 +++++++++++++++++++++
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 116 ++++++-
drivers/gpu/drm/bridge/adv7511/adv7533.c | 38 +--
7 files changed, 489 insertions(+), 58 deletions(-)
create mode 100644 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c
--
2.14.1
next reply other threads:[~2017-10-07 10:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-07 10:46 Hans Verkuil [this message]
2017-10-07 10:46 ` [PATCHv3 1/2] dt-bindings: adi,adv7511.txt: document cec clock Hans Verkuil
2017-10-07 10:46 ` [PATCHv3 2/2] drm: adv7511/33: add HDMI CEC support Hans Verkuil
2017-10-10 3:46 ` [PATCHv3 0/2] drm/bridge/adv7511: add " Archit Taneja
2017-10-10 3:46 ` Archit Taneja
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=20171007104658.14528-1-hverkuil@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=architt@codeaurora.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=lars@metafoo.de \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.