[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABb+yY3COBOHLQXkQMzB_DWh-yXsrtJqnD9vi9FfMPYBTgVuyg@mail.gmail.com>
Date: Mon, 23 Dec 2019 15:44:20 -0600
From: Jassi Brar <jassisinghbrar@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: Felipe Balbi <balbi@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>,
Mark Rutland <mark.rutland@....com>,
Devicetree List <devicetree@...r.kernel.org>,
linux-usb@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jassi Brar <jaswinder.singh@...aro.org>
Subject: Re: [PATCHv1 1/2] dt-bindings: max3421-udc: add dt bindings for
MAX3420 UDC
On Thu, Dec 19, 2019 at 1:40 PM Rob Herring <robh@...nel.org> wrote:
>
> On Mon, Dec 09, 2019 at 06:31:24PM -0600, jassisinghbrar@...il.com wrote:
> > From: Jassi Brar <jaswinder.singh@...aro.org>
> >
> > Add YAML dt bindings for Maxim MAX3420 UDC controller.
> >
> > Signed-off-by: Jassi Brar <jaswinder.singh@...aro.org>
> > ---
> > .../bindings/usb/maxim,max3420-udc.yaml | 60 +++++++++++++++++++
> > 1 file changed, 60 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml b/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml
> > new file mode 100644
> > index 000000000000..cf4eec8a618e
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/usb/maxim,max3420-udc.yaml
> > @@ -0,0 +1,60 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
>
> Dual license new bindings please:
>
> (GPL-2.0-only OR BSD-2-Clause)
>
ok
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/usb/maxim,max3420-udc.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: MAXIM MAX3420/1 USB Peripheral Controller
> > +
> > +maintainers:
> > + - Jassi Brar <jaswinder.singh@...aro.org>
> > +
> > +description: |
> > + The controller provices USB2.0 compliant FullSpeed peripheral
> > + implementation over the SPI interface.
>
> space ^
>
ok
> > +
> > + Specifications about the part can be found at:
> > + http://datasheets.maximintegrated.com/en/ds/MAX3420E.pdf
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - maxim,max3420-udc
> > + - maxim,max3421-udc
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + interrupts:
> > + minItems: 1
> > + maxItems: 2
> > + items:
> > + - const: udc
> > + - const: vbus
>
> interrupts are integers, not strings. Should be interrupt-names?
>
yes
> > +
> > + spi-max-frequency:
> > + maximum: 26000000
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - interrupts
> > + - interrupt-names
>
> Add:
>
> additionalProperties: false
>
ok
Thanks.
Powered by blists - more mailing lists