From: Geert Uytterhoeven <geert@linux-m68k.org>
To: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
Linux Media Mailing List <linux-media@vger.kernel.org>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
Fukawa <tomoharu.fukawa.eb@renesas.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>
Subject: Re: [PATCH 30/32] media: rcar-vin: add Gen3 devicetree bindings documentation
Date: Mon, 7 Nov 2016 13:47:42 +0100 [thread overview]
Message-ID: <CAMuHMdUa4hnAZDD-yUk=+=eYdutHoALQhfAj4wcNd90ocX+vMw@mail.gmail.com> (raw)
In-Reply-To: <20161102132329.436-31-niklas.soderlund+renesas@ragnatech.se>
On Wed, Nov 2, 2016 at 2:23 PM, Niklas Söderlund
<niklas.soderlund+renesas@ragnatech.se> wrote:
> Document the Gen3 devicetree bindings. The new bindings are all handled
> in the port@1 node, if a endpoint is described as on Gen2 in port@0 the
an endpoint
> driver will work in Gen2 mode and this is supported on Gen3. The new
> CSI-2 video sources are only supported on Gen3.
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> .../devicetree/bindings/media/rcar_vin.txt | 116 +++++++++++++++++++--
> 1 file changed, 106 insertions(+), 10 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/rcar_vin.txt b/Documentation/devicetree/bindings/media/rcar_vin.txt
> index 6a4e61c..a51cf70 100644
> --- a/Documentation/devicetree/bindings/media/rcar_vin.txt
> +++ b/Documentation/devicetree/bindings/media/rcar_vin.txt
> @@ -2,8 +2,12 @@ Renesas RCar Video Input driver (rcar_vin)
> ------------------------------------------
>
> The rcar_vin device provides video input capabilities for the Renesas R-Car
> -family of devices. The current blocks are always slaves and suppot one input
> -channel which can be either RGB, YUYV or BT656.
> +family of devices.
> +
> +On Gen2 the current blocks are always slaves and support one input channel
> +which can be either RGB, YUYV or BT656. On Gen3 the current blocks are
> +always slaves and support multiple input channels which can be ether RGB,
either
> +YUVU, BT656 or CSI-2.
> @@ -92,6 +105,89 @@ Board setup example (vin1 composite video input)
> };
> };
>
> +Device node example Gen3
> +------------------------
> +
> + aliases {
> + vin0 = &vin0;
> + };
> +
> + vin1: video@e6ef1000 {
> + compatible = "renesas,vin-r8a7796";
> + reg = <0 0xe6ef1000 0 0x1000>;
> + interrupts = <0 189 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cpg CPG_MOD 810>;
> + power-domains = <&cpg>;
Please update the power-domains property to match reality.
> + status = "disabled";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + reg = <1>;
> +
> + vin1csi20: endpoint@0 {
> + reg = <0>;
> + remote-endpoint= <&csi20vin1>;
> + };
> + };
> + };
> + };
> +
> + csi20: csi2@fea80000 {
> + compatible = "renesas,r8a7796-csi2";
> + reg = <0 0xfea80000 0 0x10000>;
> + interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&cpg CPG_MOD 714>;
> + power-domains = <&cpg>;
Likewise.
> + status = "disabled";
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@1 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + reg = <1>;
> +
> + csi20vin1: endpoint@1 {
> + reg = <1>;
> + remote-endpoint = <&vin1csi20>;
> + };
> + };
> + };
> + };
--
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2016-11-07 12:47 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-02 13:22 [PATCH 00/32] rcar-vin: Add Gen3 with media controller support Niklas Söderlund
2016-11-02 13:22 ` [PATCH 01/32] media: entity: Add has_route entity operation Niklas Söderlund
2016-11-08 12:43 ` Sakari Ailus
2016-11-02 13:22 ` [PATCH 02/32] media: entity: Add media_entity_has_route() function Niklas Söderlund
2016-11-08 12:42 ` Sakari Ailus
2016-11-08 12:54 ` [PATCH 1/1] " Sakari Ailus
2016-11-11 21:08 ` Niklas Söderlund
2016-11-02 13:23 ` [PATCH 03/32] media: rcar-vin: reset bytesperline and sizeimage when resetting format Niklas Söderlund
2016-11-02 16:43 ` Sergei Shtylyov
2016-11-02 13:23 ` [PATCH 04/32] media: rcar-vin: use rvin_reset_format() in S_DV_TIMINGS Niklas Söderlund
2016-11-02 13:23 ` [PATCH 05/32] media: rcar-vin: fix how pads are handled for v4l2 subdeivce operations Niklas Söderlund
2016-11-02 13:23 ` [PATCH 06/32] media: rcar-vin: fix standard in input enumeration Niklas Söderlund
2016-11-02 13:23 ` [PATCH 07/32] media: rcar-vin: add wrapper to get rvin_graph_entity Niklas Söderlund
2016-11-02 13:23 ` [PATCH 08/32] media: rcar-vin: move subdev source and sink pad index to rvin_graph_entity Niklas Söderlund
2016-11-02 13:23 ` [PATCH 09/32] media: rcar-vin: move pad number discovery to async complete handler Niklas Söderlund
2016-11-02 13:23 ` [PATCH 10/32] media: rcar-vin: use pad information when verifying media bus format Niklas Söderlund
2016-11-02 13:23 ` [PATCH 11/32] media: rcar-vin: refactor pad lookup code Niklas Söderlund
2016-11-02 13:23 ` [PATCH 12/32] media: rcar-vin: split rvin_s_fmt_vid_cap() Niklas Söderlund
2016-11-02 13:23 ` [PATCH 13/32] media: rcar-vin: register the video device early Niklas Söderlund
2016-11-02 13:23 ` [PATCH 14/32] media: rcar-vin: move chip information to own struct Niklas Söderlund
2016-11-07 12:40 ` Geert Uytterhoeven
2016-11-02 13:23 ` [PATCH 15/32] media: rcar-vin: move max width and height information to chip information Niklas Söderlund
2016-11-02 13:23 ` [PATCH 16/32] media: rcar-vin: change name of video device Niklas Söderlund
2016-11-02 13:23 ` [PATCH 17/32] media: rcar-vin: clarify error message from the digital notifier Niklas Söderlund
2016-11-02 13:23 ` [PATCH 18/32] media: rcar-vin: enable Gen3 hardware configuration Niklas Söderlund
2016-11-02 13:23 ` [PATCH 19/32] media: rcar-vin: add functions to manipulate Gen3 CHSEL value Niklas Söderlund
2016-11-02 13:23 ` [PATCH 20/32] media: rcar-vin: expose a sink pad if we are on Gen3 Niklas Söderlund
2016-11-02 17:15 ` Sergei Shtylyov
2016-11-02 13:23 ` [PATCH 21/32] media: rcar-vin: add group allocator functions Niklas Söderlund
2016-11-02 13:23 ` [PATCH 22/32] media: rcar-vin: add chsel information to rvin_info Niklas Söderlund
2016-11-02 13:23 ` [PATCH 23/32] media: rcar-vin: parse Gen3 OF and setup media graph Niklas Söderlund
2016-11-02 13:23 ` [PATCH 24/32] media: rcar-vin: add link notify for Gen3 Niklas Söderlund
2016-11-02 13:23 ` [PATCH 25/32] media: rcar-vin: enable CSI2 group subdevices in lookup helpers Niklas Söderlund
2016-11-02 13:23 ` [PATCH 26/32] media: rcar-vin: add helpers for bridge Niklas Söderlund
2016-11-02 13:23 ` [PATCH 27/32] media: rcar-vin: start/stop the CSI2 bridge stream Niklas Söderlund
2016-11-02 13:23 ` [PATCH 28/32] media: rcar-vin: propagate format to bridge Niklas Söderlund
2016-11-02 13:23 ` [PATCH 29/32] media: rcar-vin: attach to CSI2 group when the video device is opened Niklas Söderlund
2016-11-02 13:23 ` [PATCH 30/32] media: rcar-vin: add Gen3 devicetree bindings documentation Niklas Söderlund
2016-11-07 12:47 ` Geert Uytterhoeven [this message]
2016-11-02 13:23 ` [PATCH 31/32] media: rcar-vin: enable support for r8a7795 Niklas Söderlund
2016-11-07 12:42 ` Geert Uytterhoeven
2016-11-02 13:23 ` [PATCH 32/32] media: rcar-vin: enable support for r8a7796 Niklas Söderlund
2016-11-07 12:44 ` Geert Uytterhoeven
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='CAMuHMdUa4hnAZDD-yUk=+=eYdutHoALQhfAj4wcNd90ocX+vMw@mail.gmail.com' \
--to=geert@linux-m68k.org \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=sakari.ailus@linux.intel.com \
--cc=tomoharu.fukawa.eb@renesas.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 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).