devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Sergei Shtylyov <sergei.shtylyov@gmail.com>,
	linux-media@vger.kernel.org, devicetree@vger.kernel.org,
	linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: media: renesas,imr: Convert to json-schema
Date: Thu, 20 May 2021 14:50:45 -0500	[thread overview]
Message-ID: <20210520195045.GA1828652@robh.at.kernel.org> (raw)
In-Reply-To: <YKUic3pypkSOwvTy@pendragon.ideasonboard.com>

On Wed, May 19, 2021 at 05:36:35PM +0300, Laurent Pinchart wrote:
> Hi Geert,
> 
> Thank you for the patch.
> 
> On Wed, May 19, 2021 at 03:01:43PM +0200, Geert Uytterhoeven wrote:
> > Convert the Renesas R-Car Image Renderer Tree binding documentation to
> > json-schema.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > I have listed Sergei as the maintainer, as he wrote the original
> > bindings.  Sergei: Please scream if this is inappropriate ;-)
> > ---
> >  .../devicetree/bindings/media/renesas,imr.txt | 31 ---------
> >  .../bindings/media/renesas,imr.yaml           | 66 +++++++++++++++++++
> >  2 files changed, 66 insertions(+), 31 deletions(-)
> >  delete mode 100644 Documentation/devicetree/bindings/media/renesas,imr.txt
> >  create mode 100644 Documentation/devicetree/bindings/media/renesas,imr.yaml
> > 
> > diff --git a/Documentation/devicetree/bindings/media/renesas,imr.txt b/Documentation/devicetree/bindings/media/renesas,imr.txt
> > deleted file mode 100644
> > index b0614153ed3682eb..0000000000000000
> > --- a/Documentation/devicetree/bindings/media/renesas,imr.txt
> > +++ /dev/null
> > @@ -1,31 +0,0 @@
> > -Renesas R-Car Image Renderer (Distortion Correction Engine)
> > ------------------------------------------------------------
> > -
> > -The image renderer, or the distortion correction engine, is a drawing processor
> > -with a simple instruction system capable of referencing video capture data or
> > -data in an external memory as 2D texture data and performing texture mapping
> > -and drawing with respect to any shape that is split into triangular objects.
> > -
> > -Required properties:
> > -
> > -- compatible: "renesas,<soctype>-imr-lx4", "renesas,imr-lx4" as a fallback for
> > -  the image renderer light extended 4 (IMR-LX4) found in the R-Car gen3 SoCs,
> > -  where the examples with <soctype> are:
> > -  - "renesas,r8a7795-imr-lx4" for R-Car H3,
> > -  - "renesas,r8a7796-imr-lx4" for R-Car M3-W.
> > -- reg: offset and length of the register block;
> > -- interrupts: single interrupt specifier;
> > -- clocks: single clock phandle/specifier pair;
> > -- power-domains: power domain phandle/specifier pair;
> > -- resets: reset phandle/specifier pair.
> > -
> > -Example:
> > -
> > -	imr-lx4@fe860000 {
> > -		compatible = "renesas,r8a7795-imr-lx4", "renesas,imr-lx4";
> > -		reg = <0 0xfe860000 0 0x2000>;
> > -		interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>;
> > -		clocks = <&cpg CPG_MOD 823>;
> > -		power-domains = <&sysc R8A7795_PD_A3VC>;
> > -		resets = <&cpg 823>;
> > -	};
> > diff --git a/Documentation/devicetree/bindings/media/renesas,imr.yaml b/Documentation/devicetree/bindings/media/renesas,imr.yaml
> > new file mode 100644
> > index 0000000000000000..ea4579209e81660f
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/media/renesas,imr.yaml
> > @@ -0,0 +1,66 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/media/renesas,imr.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Renesas R-Car Image Renderer (Distortion Correction Engine)
> > +
> > +maintainers:
> > +  - Sergei Shtylyov <sergei.shtylyov@gmail.com>
> > +
> > +description:
> > +  The image renderer, or the distortion correction engine, is a drawing
> > +  processor with a simple instruction system capable of referencing video
> > +  capture data or data in an external memory as 2D texture data and performing
> > +  texture mapping and drawing with respect to any shape that is split into
> > +  triangular objects.
> 
> I'd add a blank line between paragraphs.

Either way, it needs a '|' if you want to preserve formatting.

  reply	other threads:[~2021-05-20 19:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19 13:01 [PATCH] dt-bindings: media: renesas,imr: Convert to json-schema Geert Uytterhoeven
2021-05-19 14:36 ` Laurent Pinchart
2021-05-20 19:50   ` Rob Herring [this message]
2021-05-20 19:51 ` Rob Herring

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=20210520195045.GA1828652@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sergei.shtylyov@gmail.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).