RE: [PATCH 6/6] doc: dt-binding: cdns,usb3: add wakeup-irq

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

 



 
> > @@ -30,12 +30,15 @@ properties:
> >        - description: OTG/DRD controller interrupt
> >        - description: XHCI host controller interrupt
> >        - description: Device controller interrupt
> > +      - description: interrupt used to wake up core, eg: when usbcmd.rs is
> > +      cleared by xhci core, this interrupt is optional.
> 
> You need 'minItems: 3' here and below to make this optional. I guess we don't
> have an example for this binding or it would fail.
> 

Updated, and sent v2. Yes, we don't need it for example, the probe will not fail even
this property is not there.

Peter

> >
> >    interrupt-names:
> >      items:
> >        - const: host
> >        - const: peripheral
> >        - const: otg
> > +      - const: wakeup
> >
> >    dr_mode:
> >      enum: [host, otg, peripheral]
> > --
> > 2.17.1
> >




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux