From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: William Towle <william.towle@codethink.co.uk>
Cc: linux-media@vger.kernel.org, linux-kernel@lists.codethink.co.uk,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: shmobile: lager dts: specify default-input for ADV7612
Date: Tue, 04 Aug 2015 12:07:41 +0000 [thread overview]
Message-ID: <2031552.vcAWTm60WT@avalon> (raw)
In-Reply-To: <1438100264-17280-3-git-send-email-william.towle@codethink.co.uk>
Hi William,
Thank you for the patch.
On Tuesday 28 July 2015 17:17:44 William Towle wrote:
> Set 'default-input' property for ADV7612. Enables image/video capture
> without the need to have userspace specifying routing.
>
> Signed-off-by: Ian Molton <ian.molton@codethink.co.uk>
> Tested-by: William Towle <william.towle@codethink.co.uk>
> ---
> arch/arm/boot/dts/r8a7790-lager.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index aec7db6..e537052 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -552,6 +552,7 @@
> port {
> hdmi_in_ep: endpoint {
> remote-endpoint = <&vin0ep0>;
> + default-input = <0>;
The default property must be placed in the adv7612 node, not in the endpoint
node.
It looks like I've missed the patch that added the property to the DT
bindings. I would probably have complained about it, but now it's in :-/
Nevertheless, I think it would make sense for the driver to select the default
input automatically when only one input is connected. I'd prefer a driver
patch that implements that behaviour instead of adding the property to the
Lager DT.
> };
> };
> };
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: William Towle <william.towle@codethink.co.uk>
Cc: linux-media@vger.kernel.org, linux-kernel@lists.codethink.co.uk,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/2] ARM: shmobile: lager dts: specify default-input for ADV7612
Date: Tue, 04 Aug 2015 15:07:41 +0300 [thread overview]
Message-ID: <2031552.vcAWTm60WT@avalon> (raw)
In-Reply-To: <1438100264-17280-3-git-send-email-william.towle@codethink.co.uk>
Hi William,
Thank you for the patch.
On Tuesday 28 July 2015 17:17:44 William Towle wrote:
> Set 'default-input' property for ADV7612. Enables image/video capture
> without the need to have userspace specifying routing.
>
> Signed-off-by: Ian Molton <ian.molton@codethink.co.uk>
> Tested-by: William Towle <william.towle@codethink.co.uk>
> ---
> arch/arm/boot/dts/r8a7790-lager.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index aec7db6..e537052 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -552,6 +552,7 @@
> port {
> hdmi_in_ep: endpoint {
> remote-endpoint = <&vin0ep0>;
> + default-input = <0>;
The default property must be placed in the adv7612 node, not in the endpoint
node.
It looks like I've missed the patch that added the property to the DT
bindings. I would probably have complained about it, but now it's in :-/
Nevertheless, I think it would make sense for the driver to select the default
input automatically when only one input is connected. I'd prefer a driver
patch that implements that behaviour instead of adding the property to the
Lager DT.
> };
> };
> };
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2015-08-04 12:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 16:17 Renesas Lager: Device Tree entries for VIN HDMI input William Towle
2015-07-28 16:17 ` William Towle
2015-07-28 16:17 ` [PATCH 1/2] ARM: shmobile: lager dts: Add entries for VIN HDMI input support William Towle
2015-07-28 16:17 ` William Towle
2015-08-04 12:01 ` Laurent Pinchart
2015-08-04 12:01 ` Laurent Pinchart
2015-07-28 16:17 ` [PATCH 2/2] ARM: shmobile: lager dts: specify default-input for ADV7612 William Towle
2015-07-28 16:17 ` William Towle
2015-08-04 12:07 ` Laurent Pinchart [this message]
2015-08-04 12:07 ` Laurent Pinchart
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=2031552.vcAWTm60WT@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=g.liakhovetski@gmx.de \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@lists.codethink.co.uk \
--cc=linux-media@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=william.towle@codethink.co.uk \
/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.