From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Ramesh Shanmugasundaram <rashanmu@gmail.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
Chris Paterson <Chris.Paterson2@renesas.com>,
Biju Das <biju.das.jz@bp.renesas.com>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@bp.renesas.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH v3 2/5] media: dt-bindings: media: renesas,drif: Convert to json-schema
Date: Wed, 14 Oct 2020 15:39:54 +0200 [thread overview]
Message-ID: <CAMuHMdU-X0qmM+fVTV9czNa5++c9-N9GRowzaV9c+tcyXyrPHg@mail.gmail.com> (raw)
In-Reply-To: <20201013150150.14801-3-fabrizio.castro.jz@renesas.com>
Hi Fabrizio,
On Tue, Oct 13, 2020 at 5:02 PM Fabrizio Castro
<fabrizio.castro.jz@renesas.com> wrote:
> Convert the Renesas DRIF bindings to DT schema and update
> MAINTAINERS accordingly.
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> v2->3:
> * Removed the definition of pinctrl-0 and pinctrl-names, as
> suggested by Geert
> * Added "power-domains" to the list of required properties,
> as suggested by Geert
> * Reworked the conditional requirements, Geert, what do you
> think?
Thanks for the update!
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/renesas,drif.yaml
> +allOf:
> + - if:
> + required:
> + - renesas,primary-bond
> + then:
> + required:
> + - pinctrl-0
> + - pinctrl-names
> + - port
> +
> + - if:
> + required:
> + - port
> + then:
> + required:
> + - pinctrl-0
> + - pinctrl-names
> +
> + - if:
> + not:
> + required:
> + - port
> + then:
This can just be an "else" branch for the previous "if" statement?
> + properties:
> + pinctrl-0: false
> + pinctrl-names: false
With the above fixed/clarified:
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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:[~2020-10-14 13:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-13 15:01 [PATCH v3 0/5] Add r8a77965 DRIF support Fabrizio Castro
2020-10-13 15:01 ` [PATCH v3 1/5] MAINTAINERS: Update MAINTAINERS for Renesas DRIF driver Fabrizio Castro
2020-10-13 15:01 ` [PATCH v3 2/5] media: dt-bindings: media: renesas,drif: Convert to json-schema Fabrizio Castro
2020-10-14 13:39 ` Geert Uytterhoeven [this message]
2020-10-14 15:10 ` Fabrizio Castro
2020-10-13 15:01 ` [PATCH v3 3/5] media: dt-bindings: media: renesas,drif: Add r8a77990 support Fabrizio Castro
2020-10-13 15:01 ` [PATCH v3 4/5] media: dt-bindings: media: renesas,drif: Add r8a77965 support Fabrizio Castro
2020-10-13 20:47 ` Laurent Pinchart
2020-10-13 21:50 ` Lad, Prabhakar
2020-10-14 13:37 ` Geert Uytterhoeven
2020-10-14 14:35 ` Fabrizio Castro
2020-10-14 14:51 ` Geert Uytterhoeven
2020-10-14 16:01 ` Fabrizio Castro
2020-10-13 15:01 ` [PATCH v3 5/5] arm64: dts: r8a77965: Add DRIF support Fabrizio Castro
2020-10-13 21:51 ` Lad, Prabhakar
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=CAMuHMdU-X0qmM+fVTV9czNa5++c9-N9GRowzaV9c+tcyXyrPHg@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=Chris.Paterson2@renesas.com \
--cc=biju.das.jz@bp.renesas.com \
--cc=devicetree@vger.kernel.org \
--cc=fabrizio.castro.jz@renesas.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=rashanmu@gmail.com \
--cc=robh+dt@kernel.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 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).