All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Hans Verkuil <hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
Cc: linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Guennadi Liakhovetski
	<guennadi.liakhovetski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Songjun Wu <songjun.wu-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>,
	Sakari Ailus <sakari.ailus-X3B1VOXEql0@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Hans Verkuil
	<hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCHv2 13/16] ov2640: update bindings
Date: Wed, 1 Feb 2017 10:58:56 -0600	[thread overview]
Message-ID: <20170201165856.vadsezfz46qarc2m@rob-hp-laptop> (raw)
In-Reply-To: <20170130140628.18088-14-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>

On Mon, Jan 30, 2017 at 03:06:25PM +0100, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
> 
> Update the bindings for this device based on a working DT example.
> 
> Signed-off-by: Hans Verkuil <hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
> ---
>  .../devicetree/bindings/media/i2c/ov2640.txt       | 22 ++++++++++------------
>  1 file changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/ov2640.txt b/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> index c429b5b..5e6c445 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> +++ b/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> @@ -1,8 +1,8 @@
>  * Omnivision OV2640 CMOS sensor
>  
> -The Omnivision OV2640 sensor support multiple resolutions output, such as
> -CIF, SVGA, UXGA. It also can support YUV422/420, RGB565/555 or raw RGB
> -output format.
> +The Omnivision OV2640 sensor supports multiple resolutions output, such as
> +CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB
> +output formats.
>  
>  Required Properties:
>  - compatible: should be "ovti,ov2640"
> @@ -20,20 +20,18 @@ Documentation/devicetree/bindings/media/video-interfaces.txt.
>  Example:
>  
>  	i2c1: i2c@f0018000 {
> +		status = "okay";

There's no point in showing status in examples.

> +
>  		ov2640: camera@0x30 {

Drop the '0x' while here.

With that,

Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>


>  			compatible = "ovti,ov2640";
>  			reg = <0x30>;
> -
>  			pinctrl-names = "default";
> -			pinctrl-0 = <&pinctrl_pck1 &pinctrl_ov2640_pwdn &pinctrl_ov2640_resetb>;
> -
> -			resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
> -			pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
> -
> -			clocks = <&pck1>;
> +			pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
> +			resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
> +			pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
> +			clocks = <&pck0>;
>  			clock-names = "xvclk";
> -
> -			assigned-clocks = <&pck1>;
> +			assigned-clocks = <&pck0>;
>  			assigned-clock-rates = <25000000>;
>  
>  			port {
> -- 
> 2.10.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org,
	Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>,
	Songjun Wu <songjun.wu@microchip.com>,
	Sakari Ailus <sakari.ailus@iki.fi>,
	devicetree@vger.kernel.org, Hans Verkuil <hans.verkuil@cisco.com>
Subject: Re: [PATCHv2 13/16] ov2640: update bindings
Date: Wed, 1 Feb 2017 10:58:56 -0600	[thread overview]
Message-ID: <20170201165856.vadsezfz46qarc2m@rob-hp-laptop> (raw)
In-Reply-To: <20170130140628.18088-14-hverkuil@xs4all.nl>

On Mon, Jan 30, 2017 at 03:06:25PM +0100, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verkuil@cisco.com>
> 
> Update the bindings for this device based on a working DT example.
> 
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> ---
>  .../devicetree/bindings/media/i2c/ov2640.txt       | 22 ++++++++++------------
>  1 file changed, 10 insertions(+), 12 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/media/i2c/ov2640.txt b/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> index c429b5b..5e6c445 100644
> --- a/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> +++ b/Documentation/devicetree/bindings/media/i2c/ov2640.txt
> @@ -1,8 +1,8 @@
>  * Omnivision OV2640 CMOS sensor
>  
> -The Omnivision OV2640 sensor support multiple resolutions output, such as
> -CIF, SVGA, UXGA. It also can support YUV422/420, RGB565/555 or raw RGB
> -output format.
> +The Omnivision OV2640 sensor supports multiple resolutions output, such as
> +CIF, SVGA, UXGA. It also can support the YUV422/420, RGB565/555 or raw RGB
> +output formats.
>  
>  Required Properties:
>  - compatible: should be "ovti,ov2640"
> @@ -20,20 +20,18 @@ Documentation/devicetree/bindings/media/video-interfaces.txt.
>  Example:
>  
>  	i2c1: i2c@f0018000 {
> +		status = "okay";

There's no point in showing status in examples.

> +
>  		ov2640: camera@0x30 {

Drop the '0x' while here.

With that,

Acked-by: Rob Herring <robh@kernel.org>


>  			compatible = "ovti,ov2640";
>  			reg = <0x30>;
> -
>  			pinctrl-names = "default";
> -			pinctrl-0 = <&pinctrl_pck1 &pinctrl_ov2640_pwdn &pinctrl_ov2640_resetb>;
> -
> -			resetb-gpios = <&pioE 24 GPIO_ACTIVE_LOW>;
> -			pwdn-gpios = <&pioE 29 GPIO_ACTIVE_HIGH>;
> -
> -			clocks = <&pck1>;
> +			pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
> +			resetb-gpios = <&pioE 11 GPIO_ACTIVE_LOW>;
> +			pwdn-gpios = <&pioE 13 GPIO_ACTIVE_HIGH>;
> +			clocks = <&pck0>;
>  			clock-names = "xvclk";
> -
> -			assigned-clocks = <&pck1>;
> +			assigned-clocks = <&pck0>;
>  			assigned-clock-rates = <25000000>;
>  
>  			port {
> -- 
> 2.10.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-02-01 16:58 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-30 14:06 [PATCHv2 00/16] atmel-isi/ov7670/ov2640: convert to standalone drivers Hans Verkuil
2017-01-30 14:06 ` Hans Verkuil
2017-01-30 14:06 ` [PATCHv2 01/16] ov7670: call v4l2_async_register_subdev Hans Verkuil
2017-01-30 14:06 ` [PATCHv2 05/16] ov7670: document device tree bindings Hans Verkuil
     [not found]   ` <20170130140628.18088-6-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-01-31  6:56     ` Sakari Ailus
2017-01-31  6:56       ` Sakari Ailus
2017-02-01 16:40   ` Rob Herring
2017-01-30 14:06 ` [PATCHv2 09/16] ov2640: convert from soc-camera to a standard subdev sensor driver Hans Verkuil
     [not found] ` <20170130140628.18088-1-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-01-30 14:06   ` [PATCHv2 02/16] ov7670: fix g/s_parm Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 03/16] ov7670: get xclk Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 04/16] ov7670: add devicetree support Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
     [not found]     ` <20170130140628.18088-5-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-01-31  6:53       ` Sakari Ailus
2017-01-31  6:53         ` Sakari Ailus
2017-01-30 14:06   ` [PATCHv2 06/16] atmel-isi: remove dependency of the soc-camera framework Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 07/16] atmel-isi: move out of soc_camera to atmel Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 08/16] atmel-isi: document device tree bindings Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
     [not found]     ` <20170130140628.18088-9-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-01-31  7:30       ` Sakari Ailus
2017-01-31  7:30         ` Sakari Ailus
2017-02-06 11:46         ` Hans Verkuil
2017-02-01 16:50       ` Rob Herring
2017-02-01 16:50         ` Rob Herring
2017-02-02  7:05         ` Sakari Ailus
2017-02-06 21:39           ` Rob Herring
2017-02-06 12:20         ` Hans Verkuil
2017-02-06 12:20           ` Hans Verkuil
     [not found]           ` <00bc695f-d412-7796-93a9-8d67a8f66370-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-02-06 21:31             ` Rob Herring
2017-02-06 21:31               ` Rob Herring
2017-01-30 14:06   ` [PATCHv2 10/16] ov2640: enable clock and fix power/reset Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
     [not found]     ` <20170130140628.18088-11-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-01-31 10:20       ` Sakari Ailus
2017-01-31 10:20         ` Sakari Ailus
     [not found]         ` <20170131102020.GT7139-S+BSfZ9RZZmRSg0ZkenSGLdO1Tsj/99ntUK59QYPAWc@public.gmane.org>
2017-02-06 12:02           ` Hans Verkuil
2017-02-06 12:02             ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 11/16] ov2640: allow use inside em28xx Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 12/16] ov2640: add MC support Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 13/16] ov2640: update bindings Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
     [not found]     ` <20170130140628.18088-14-hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org>
2017-02-01 16:58       ` Rob Herring [this message]
2017-02-01 16:58         ` Rob Herring
2017-01-30 14:06   ` [PATCHv2 14/16] em28xx: drop last soc_camera link Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 15/16] sama5d3 dts: enable atmel-isi Hans Verkuil
2017-01-30 14:06     ` Hans Verkuil
2017-01-30 14:06   ` [PATCHv2 16/16] at91-sama5d3_xplained.dts: select ov2640 Hans Verkuil
2017-01-30 14:06     ` 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=20170201165856.vadsezfz46qarc2m@rob-hp-laptop \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=guennadi.liakhovetski-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=hans.verkuil-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org \
    --cc=hverkuil-qWit8jRvyhVmR6Xm/wNWPw@public.gmane.org \
    --cc=linux-media-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sakari.ailus-X3B1VOXEql0@public.gmane.org \
    --cc=songjun.wu-UWL1GkI3JZL3oGB3hsPCZA@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 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.