Re: [PATCH] dt-bindings: usb: renesas_usbhs: convert bindings to json-schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob,

On Tue, Oct 29, 2019 at 9:01 PM Rob Herring <robh@xxxxxxxxxx> wrote:
> On Wed, Oct 23, 2019 at 05:20:08PM +0900, Yoshihiro Shimoda wrote:
> > Convert Renesas USBHS (HS-USB) controller bindings documentation
> > to json-schema.
> >
> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>

> > +++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml
> > @@ -0,0 +1,121 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/usb/renesas,usbhs.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Renesas USBHS (HS-USB) controller
> > +
> > +maintainers:
> > +  - Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
> > +
> > +properties:
> > +  compatible:
> > +    oneOf:
> > +      - items:
> > +          - enum:
> > +              - renesas,usbhs-r7s72100 # RZ/A1
>
> If you don't expect new SoCs, this could be a 'const' instead.

There are others, but we don't have them enabled in upstream.
[v3 ...] Can be reverted back to enum when the need arises, though.

> > +          - const: renesas,rza1-usbhs
> > +
> > +      - items:
> > +          - enum:
> > +              - renesas,usbhs-r7s9210 # RZ/A2

Likewise, I guess.

> > +          - const: renesas,rza2-usbhs

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux