mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
To: Rob Herring <robh@kernel.org>
Cc: "kishon@ti.com" <kishon@ti.com>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-renesas-soc@vger.kernel.org" 
	<linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH] dt-bindings: phy: renesas: usb2-phy: convert bindings to json-schema
Date: Wed, 30 Oct 2019 02:28:57 +0000	[thread overview]
Message-ID: <TYAPR01MB454465C8076E9F77420DB7DBD8600@TYAPR01MB4544.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CAL_Jsq+H-4V=v0GTUgTXAiwOtn_BoMtcMpinb1v51V_Jy9mBXA@mail.gmail.com>

Hi Rob,

> From: Rob Herring, Sent: Wednesday, October 30, 2019 5:20 AM
> 
> On Mon, Oct 28, 2019 at 11:14 PM Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com> wrote:
<snip>
> > > > diff --git a/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> > > b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> > > > new file mode 100644
> > > > index 00000000..0f109c2
> > > > --- /dev/null
> > > > +++ b/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> > > > @@ -0,0 +1,106 @@
> > > > +# SPDX-License-Identifier: GPL-2.0-only
> > > > +%YAML 1.2
> > > > +---
> > > > +$id: http://devicetree.org/schemas/phy/renesas,usb2-phy.yaml#
> > > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > > +
> > > > +title: Renesas R-Car generation 3 USB 2.0 PHY
> > > > +
> > > > +maintainers:
> > > > +  - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> > > > +
> > > > +properties:
> > > > +  compatible:
> > > > +    oneOf:
> > >
> > > This:
> >
> > What does the "This:" mean?
> 
> I was referring to the 3 lines below. I was trying to be clear which
> lines to replace with just 'const'.

Thank you for the reply! I understood it.

Best regards,
Yoshihiro Shimoda

> > If I replaced the "oneOf:" with "This:",
> > the following error happens when "make dt_binding_check":
> >
> >   SCHEMA  Documentation/devicetree/bindings/processed-schema.yaml
> > warning: no schema found in file: Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml
> > [snip]/Documentation/devicetree/bindings/phy/renesas,usb2-phy.yaml: ignoring, error in schema 'compatible'
> > Documentation/devicetree/bindings/Makefile:33: recipe for target
> 'Documentation/devicetree/bindings/processed-schema.yaml' failed
> > make[1]: *** [Documentation/devicetree/bindings/processed-schema.yaml] Error 255
> > Makefile:1263: recipe for target 'dt_binding_check' failed
> > make: *** [dt_binding_check] Error 2
> >
> > > > +      - items:
> > > > +          - enum:
> > > > +              - renesas,usb2-phy-r8a77470 # RZ/G1C
> > >
> > > You can simplify to just:
> > >
> > >          - const: renesas,usb2-phy-r8a77470 # RZ/G1C
> >
> > I'll fix it.

      reply	other threads:[~2019-10-30  2:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18  8:38 Yoshihiro Shimoda
2019-10-29  1:57 ` Rob Herring
2019-10-29  4:14   ` Yoshihiro Shimoda
2019-10-29 20:19     ` Rob Herring
2019-10-30  2:28       ` Yoshihiro Shimoda [this message]

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=TYAPR01MB454465C8076E9F77420DB7DBD8600@TYAPR01MB4544.jpnprd01.prod.outlook.com \
    --to=yoshihiro.shimoda.uh@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh@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

all inboxes | Powered by JetHome®