Re: [PATCH 1/2] dt-bindings: fpga: Convert bridge binding to yaml
From: Xu Yilun
Date: Mon Jan 08 2024 - 22:56:19 EST
On Mon, Jan 08, 2024 at 10:16:17AM +0100, Michal Simek wrote:
>
>
> On 1/8/24 10:09, Krzysztof Kozlowski wrote:
> > On 05/01/2024 17:04, Michal Simek wrote:
> > > Convert the generic fpga bridge DT binding to json-schema.
> > >
> > > Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
> >
> > > +$id: http://devicetree.org/schemas/fpga/fpga-bridge.yaml#
> > > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > > +
> > > +title: FPGA Bridge
> > > +
> > > +maintainers:
> > > + - Michal Simek <michal.simek@xxxxxxx>
> > > +
> > > +properties:
> > > + $nodename:
> > > + pattern: "^fpga-bridge(@.*)?$"
> >
> > Not sure, but maybe we need to allow fpga-bridge-1? Could we have more
> > than one bridge on given system?
>
> Yilun: Any comment on this?
We can have more bridges, but IIUC people use fpga-bridge@0, fpga-bridge@0
to identify them. So the expression is OK to me.
Thanks,
Yilun
>
> >
> > Anyway, looks fine:
> >
> > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> Thanks,
> Michal
>