[PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and gpio-reserved-ranges

Bough Chen haibo.chen at nxp.com
Mon May 19 18:54:53 PDT 2025


> -----Original Message-----
> From: Stefan Wahren <wahrenst at gmx.net>
> Sent: 2025年5月19日 22:35
> To: Bough Chen <haibo.chen at nxp.com>; Krzysztof Kozlowski
> <krzk+dt at kernel.org>; Conor Dooley <conor+dt at kernel.org>; Shawn Guo
> <shawnguo at kernel.org>; Rob Herring <robh at kernel.org>; Sascha Hauer
> <s.hauer at pengutronix.de>; Pengutronix Kernel Team
> <kernel at pengutronix.de>; Fabio Estevam <festevam at gmail.com>; Stefan
> Agner <stefan at agner.ch>; Linus Walleij <linus.walleij at linaro.org>; Bartosz
> Golaszewski <brgl at bgdev.pl>
> Cc: devicetree at vger.kernel.org; imx at lists.linux.dev;
> linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org;
> linux-gpio at vger.kernel.org
> Subject: Re: [PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and
> gpio-reserved-ranges
> 
> Hi Haibo,
> 
> Am 19.05.25 um 08:03 schrieb Haibo Chen:
> > Add optional ngpios and gpio-reserved-ranges property
> >
> > Signed-off-by: Haibo Chen <haibo.chen at nxp.com>
> could you please move the binding changes before the DTS changes, to avoid
> temporary DT build warnings.

Okay, thanks for this suggestion.

Regards
Haibo Chen
> 
> Thanks
> > ---
> >   Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 6 ++++++
> >   1 file changed, 6 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> > b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> > index
> >
> 4fb32e9aec0a341a50088f3e4352ed4d36f649d3..5b98228466c6414be681c494
> 17bb
> > dd82f2c45756 100644
> > --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> > +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> > @@ -70,6 +70,12 @@ properties:
> >       minItems: 1
> >       maxItems: 4
> >
> > +  gpio-reserved-ranges: true
> > +
> > +  ngpios:
> > +    minimum: 1
> > +    maximum: 32
> > +
> >   patternProperties:
> >     "^.+-hog(-[0-9]+)?$":
> >       type: object
> >



More information about the linux-arm-kernel mailing list