From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Hans Verkuil <hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
Cc: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [PATCHv4 0/4] tegra-cec: add Tegra HDMI CEC support
Date: Sat, 14 Oct 2017 15:34:10 +0200 [thread overview]
Message-ID: <20171014133410.GA13205@ulmo> (raw)
In-Reply-To: <9314614a-446d-b76d-640b-033cc74e3879-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 4308 bytes --]
On Sat, Oct 14, 2017 at 02:08:31PM +0200, Hans Verkuil wrote:
> Hi Thierry,
>
> On 09/11/2017 02:29 PM, Hans Verkuil wrote:
> > From: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
> >
> > This patch series adds support for the Tegra CEC functionality.
> >
> > This v4 has been rebased to the latest 4.14 pre-rc1 mainline.
> >
> > Please review! Other than for the bindings that are now Acked I have not
> > received any feedback.
>
> Can you or someone else from the Tegra maintainers review this?
>
> I have not heard anything about this patch series, nor of the previous
> versions of this series. What's the hold-up?
Sorry about that. I've been meaning to look at this for a while now, but
never got around to it. From a quick glance this looks good. Let me take
this for a quick test-drive when I'm back at the office next week and
I'll report back.
Is there any particular ordering that we need to observe in order to
merge this? Looks to me like it would be safe to merge patches 1 and 3
through the CEC (media?) tree and take the others through DRM and Tegra
separately without breaking anything.
Thierry
> > The first patch documents the CEC bindings, the second adds support
> > for this to tegra124.dtsi and enables it for the Jetson TK1.
> >
> > The third patch adds the CEC driver itself and the final patch adds
> > the cec notifier support to the drm/tegra driver in order to notify
> > the CEC driver whenever the physical address changes.
> >
> > I expect that the dts changes apply as well to the Tegra X1/X2 and possibly
> > other Tegra SoCs, but I can only test this with my Jetson TK1 board.
> >
> > The dt-bindings and the tegra-cec driver would go in through the media
> > subsystem, the drm/tegra part through the drm subsystem and the dts
> > changes through (I guess) the linux-tegra developers. Luckily they are
> > all independent of one another.
> >
> > To test this you need the CEC utilities from git://linuxtv.org/v4l-utils.git.
> >
> > To build this:
> >
> > git clone git://linuxtv.org/v4l-utils.git
> > cd v4l-utils
> > ./bootstrap.sh; ./configure
> > make
> > sudo make install # optional, you really only need utils/cec*
> >
> > To test:
> >
> > cec-ctl --playback # configure as playback device
> > cec-ctl -S # detect all connected CEC devices
> >
> > See here for the public CEC API:
> >
> > https://hverkuil.home.xs4all.nl/spec/uapi/cec/cec-api.html
> >
> > Regards,
> >
> > Hans
> >
> > Changes since v3:
> >
> > - Use the new CEC_CAP_DEFAULTS define
> > - Use IS_ERR(cec->adap) instead of IS_ERR_OR_NULL(cec->adap)
> > (cec_allocate_adapter never returns a NULL pointer)
> > - Drop the device_init_wakeup: wakeup is not (yet) supported by
> > the CEC framework and I have never tested it.
> >
> > Hans Verkuil (4):
> > dt-bindings: document the tegra CEC bindings
> > ARM: tegra: add CEC support to tegra124.dtsi
> > tegra-cec: add Tegra HDMI CEC driver
> > drm/tegra: add cec-notifier support
> >
> > .../devicetree/bindings/media/tegra-cec.txt | 27 ++
> > MAINTAINERS | 8 +
> > arch/arm/boot/dts/tegra124-jetson-tk1.dts | 4 +
> > arch/arm/boot/dts/tegra124.dtsi | 12 +-
> > drivers/gpu/drm/tegra/Kconfig | 1 +
> > drivers/gpu/drm/tegra/drm.h | 3 +
> > drivers/gpu/drm/tegra/hdmi.c | 9 +
> > drivers/gpu/drm/tegra/output.c | 6 +
> > drivers/media/platform/Kconfig | 11 +
> > drivers/media/platform/Makefile | 2 +
> > drivers/media/platform/tegra-cec/Makefile | 1 +
> > drivers/media/platform/tegra-cec/tegra_cec.c | 501 +++++++++++++++++++++
> > drivers/media/platform/tegra-cec/tegra_cec.h | 127 ++++++
> > 13 files changed, 711 insertions(+), 1 deletion(-)
> > create mode 100644 Documentation/devicetree/bindings/media/tegra-cec.txt
> > create mode 100644 drivers/media/platform/tegra-cec/Makefile
> > create mode 100644 drivers/media/platform/tegra-cec/tegra_cec.c
> > create mode 100644 drivers/media/platform/tegra-cec/tegra_cec.h
> >
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-10-14 13:34 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 12:29 [PATCHv4 0/4] tegra-cec: add Tegra HDMI CEC support Hans Verkuil
2017-09-11 12:29 ` [PATCHv4 2/4] ARM: tegra: add CEC support to tegra124.dtsi Hans Verkuil
[not found] ` <20170911122952.33980-3-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-19 9:23 ` Thierry Reding
2017-10-14 12:08 ` [PATCHv4 0/4] tegra-cec: add Tegra HDMI CEC support Hans Verkuil
[not found] ` <9314614a-446d-b76d-640b-033cc74e3879-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-14 13:34 ` Thierry Reding [this message]
2017-10-14 13:48 ` Hans Verkuil
[not found] ` <20170911122952.33980-1-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-09-11 12:29 ` [PATCHv4 1/4] dt-bindings: document the tegra CEC bindings Hans Verkuil
[not found] ` <20170911122952.33980-2-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-19 9:22 ` Thierry Reding
2017-09-11 12:29 ` [PATCHv4 3/4] tegra-cec: add Tegra HDMI CEC driver Hans Verkuil
[not found] ` <20170911122952.33980-4-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-19 9:37 ` Thierry Reding
2017-09-11 12:29 ` [PATCHv4 4/4] drm/tegra: add cec-notifier support Hans Verkuil
[not found] ` <20170911122952.33980-5-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-19 9:38 ` Thierry Reding
2017-10-19 13:17 ` Thierry Reding
2017-10-19 13:30 ` Thierry Reding
2017-10-19 13:37 ` Hans Verkuil
[not found] ` <7e1fcffd-76dc-c4f2-942c-b9872f73fff0-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2017-10-19 14:01 ` Thierry Reding
2017-10-19 9:20 ` [PATCHv4 0/4] tegra-cec: add Tegra HDMI CEC support Thierry Reding
2017-10-19 9:36 ` Hans Verkuil
[not found] ` <0f43276f-0a89-8caa-6522-253458e3ad08-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-10-19 9:39 ` Thierry Reding
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=20171014133410.GA13205@ulmo \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org \
--cc=linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).