linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: William Towle <william.towle@codethink.co.uk>,
	linux-kernel@lists.codethink.co.uk, linux-media@vger.kernel.org,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	Hans Verkuil <hverkuil@xs4all.nl>
Subject: Re: [PATCH 8/8] WmT: dts/i vin0/adv7612 (HDMI)
Date: Thu, 29 Jan 2015 19:51:19 +0300	[thread overview]
Message-ID: <54CA6507.7090302@cogentembedded.com> (raw)
In-Reply-To: <1422548388-28861-9-git-send-email-william.towle@codethink.co.uk>

Hello.

On 01/29/2015 07:19 PM, William Towle wrote:

    No signed off? Although, looking at the patch, I'm not very surprised...

> ---
>   arch/arm/boot/dts/r8a7790-lager.dts |   51 +++++++++++++++++++++++------------
>   1 file changed, 34 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index be44493..c20b6cb 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -249,9 +249,9 @@
>   		renesas,function = "usb2";
>   	};
>
> -	vin1_pins: vin {
> -		renesas,groups = "vin1_data8", "vin1_clk";
> -		renesas,function = "vin1";

    I'm not sure why are you removing the VIN1 pins while adding VIN0 pins.

> +	vin0_pins: vin0 {
> +		renesas,groups = "vin0_data24", "vin0_sync", "vin0_field", "vin0_clkenb", "vin0_clk";
> +		renesas,function = "vin0";
>   	};
>   };
>
> @@ -391,15 +391,15 @@
>   	pinctrl-0 = <&iic2_pins>;
>   	pinctrl-names = "default";
>
> -	composite-in@20 {
> -		compatible = "adi,adv7180";
> -		reg = <0x20>;
> -		remote = <&vin1>;

     Why remove it?

> +	adv7612: adv7612@0x4c {

    We don't call the nodes with chip names. According to the ePAPR standard 
section 2.2.2, node names should reflect the general function of the device.
And drop "0x" prefix from <unit-address> prt of the name please.

> +		compatible = "adi,adv7612";
> +		reg = <0x4c>;
> +		remote = <&vin0>;
>
>   		port {
> -			adv7180: endpoint {
> -				bus-width = <8>;
> -				remote-endpoint = <&vin1ep0>;
> +			adv7612_1: endpoint {
> +				remote-endpoint = <&vin0ep0>;
> +				default-input = <0>;
>   			};
>   		};
>   	};
> @@ -419,6 +419,19 @@
>   		i2c-gpio,delay-us = <1>;	/* ~100 kHz */
>   		#address-cells = <1>;
>   		#size-cells = <0>;
> +
> +		adv7612: adv7612@0x4c {

    Two identical labels? Do we really have 2 ADV7162 chips on the board?
    And the same comments on the node name...

> +			compatible = "adi,adv7612";
> +			reg = <0x4c>;
> +			remote = <&vin0>;
> +
> +			port {
> +				adv7612_1: endpoint {

    Two identical labels?

> +					remote-endpoint = <&vin0ep0>;
> +					default-input = <0>;
> +				};
> +			};
> +		};
>   	};
>   };
>   #endif
> @@ -457,9 +470,9 @@
>   	pinctrl-names = "default";
>   };
>
> -/* composite video input */
> -&vin1 {
> -	pinctrl-0 = <&vin1_pins>;

    Why remove it?

> +/* HDMI video input */
> +&vin0 {
> +	pinctrl-0 = <&vin0_pins>;
>   	pinctrl-names = "default";
>
>   	status = "ok";
> @@ -468,9 +481,13 @@
>   		#address-cells = <1>;
>   		#size-cells = <0>;
>
> -		vin1ep0: endpoint {
> -			remote-endpoint = <&adv7180>;
> -			bus-width = <8>;
> +		vin0ep0: endpoint {
> +			remote-endpoint = <&adv7612_1>;
> +			bus-width = <24>;
> +			hsync-active = <0>;
> +			vsync-active = <0>;
> +			pclk-sample = <1>;
> +			data-active = <1>;
>   		};
>   	};
[...]

WBR, Sergei


  reply	other threads:[~2015-01-29 16:51 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 16:19 RFC: supporting adv7604.c under soc_camera/rcar_vin William Towle
2015-01-29 16:19 ` [PATCH 1/8] Add ability to read default input port from DT William Towle
2015-01-29 20:19   ` Jean-Michel Hautbois
2015-01-29 16:19 ` [PATCH 2/8] adv7604.c: formats, default colourspace, and IRQs William Towle
2015-01-29 16:19 ` [PATCH 3/8] WmT: document "adi,adv7612" William Towle
2015-01-29 16:19 ` [PATCH 4/8] WmT: m-5mols_core style pad handling for adv7604 William Towle
2015-01-29 20:23   ` Jean-Michel Hautbois
2015-02-04 14:14     ` William Towle
2015-02-04 14:40       ` Hans Verkuil
2015-01-29 16:19 ` [PATCH 5/8] media: rcar_vin: Add RGB888_1X24 input format support William Towle
2015-01-29 17:05   ` Sergei Shtylyov
2015-01-29 18:18     ` Guennadi Liakhovetski
2015-01-29 18:28       ` Sergei Shtylyov
2015-01-29 20:19         ` Guennadi Liakhovetski
2015-01-29 20:36           ` Sergei Shtylyov
2015-01-29 20:57             ` Guennadi Liakhovetski
2015-01-29 21:11               ` Guennadi Liakhovetski
2015-02-01 18:29   ` Guennadi Liakhovetski
2015-01-29 16:19 ` [PATCH 6/8] WmT: adv7604 driver compatibility William Towle
2015-01-31 23:56   ` Guennadi Liakhovetski
2015-02-01 11:26     ` Guennadi Liakhovetski
2015-02-02 10:01       ` Laurent Pinchart
2015-02-02 10:09         ` Hans Verkuil
2015-02-03 15:22           ` Laurent Pinchart
2015-02-03 15:24             ` Hans Verkuil
2015-02-03 15:29               ` Lars-Peter Clausen
2015-02-03 15:56                 ` Laurent Pinchart
2015-02-03 15:55               ` Laurent Pinchart
2015-01-29 16:19 ` [PATCH 7/8] WmT: rcar_vin new ADV7612 support William Towle
2015-02-01 11:44   ` Guennadi Liakhovetski
2015-01-29 16:19 ` [PATCH 8/8] WmT: dts/i vin0/adv7612 (HDMI) William Towle
2015-01-29 16:51   ` Sergei Shtylyov [this message]
2015-02-01 15:51 ` RFC: supporting adv7604.c under soc_camera/rcar_vin Guennadi Liakhovetski
2015-03-04  9:51 ` [Linux-kernel] " William Towle
2015-03-04 10:19   ` Hans Verkuil
2015-03-05  8:58     ` William Towle
2015-03-25  9:55   ` William Towle

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=54CA6507.7090302@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-kernel@lists.codethink.co.uk \
    --cc=linux-media@vger.kernel.org \
    --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 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).