Re: [PATCH v1 1/3] dt-bindings: usb: dwc3: Add a property to reserve endpoints

Andy Shevchenko
2025-01-24T14:55:57Z

On Thu, Jan 23, 2025 at 04:09:46PM -0600, Rob Herring wrote:
> On Thu, Jan 16, 2025 at 05:40:46PM +0200, Andy Shevchenko wrote:
> > Some of the endpoints may be reserved by hardware for different purposes,
> > e.g., tracing control and output. This is the case, for instance, on
> > Intel Merrifield and Moorefield platforms that reserve a few and USB driver
> > may not use them for the regular transfers. Add the respective bindings.

...

> > + snps,reserved-endpoints:
> > + description:
> > + Reserve endpoints for other needs, e.g, for tracing control and output.
> > + When set, the driver will avoid using them for the regular USB transfers.
> > + $ref: /schemas/types.yaml#/definitions/uint8-array
> > + maxItems: 30
>
> Please make minItems explicit.

minItems: 0
maxItems: 30

Is this what you want to see here?

> > + items:
> > + minimum: 2
> > + maximum: 31

--
With Best Regards,
Andy Shevchenko