lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <DU0PR04MB949631B73BFE4C08D77D5D2C909FA@DU0PR04MB9496.eurprd04.prod.outlook.com>
Date: Tue, 20 May 2025 02:00:37 +0000
From: Bough Chen <haibo.chen@....com>
To: Conor Dooley <conor@...nel.org>
CC: Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
	Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>, Sascha
 Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team
	<kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>, Stefan Agner
	<stefan@...er.ch>, Linus Walleij <linus.walleij@...aro.org>, Bartosz
 Golaszewski <brgl@...ev.pl>, "devicetree@...r.kernel.org"
	<devicetree@...r.kernel.org>, "imx@...ts.linux.dev" <imx@...ts.linux.dev>,
	"linux-arm-kernel@...ts.infradead.org"
	<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>, "linux-gpio@...r.kernel.org"
	<linux-gpio@...r.kernel.org>
Subject: RE: [PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and
 gpio-reserved-ranges

> -----Original Message-----
> From: Conor Dooley <conor@...nel.org>
> Sent: 2025年5月20日 0:04
> To: Bough Chen <haibo.chen@....com>
> Cc: Rob Herring <robh@...nel.org>; Krzysztof Kozlowski <krzk+dt@...nel.org>;
> Conor Dooley <conor+dt@...nel.org>; Shawn Guo <shawnguo@...nel.org>;
> Sascha Hauer <s.hauer@...gutronix.de>; Pengutronix Kernel Team
> <kernel@...gutronix.de>; Fabio Estevam <festevam@...il.com>; Stefan
> Agner <stefan@...er.ch>; Linus Walleij <linus.walleij@...aro.org>; Bartosz
> Golaszewski <brgl@...ev.pl>; devicetree@...r.kernel.org; imx@...ts.linux.dev;
> linux-arm-kernel@...ts.infradead.org; linux-kernel@...r.kernel.org;
> linux-gpio@...r.kernel.org
> Subject: Re: [PATCH v2 2/2] dt-bindings: gpio: vf610: add ngpios and
> gpio-reserved-ranges
> 
> On Mon, May 19, 2025 at 02:03:43PM +0800, Haibo Chen wrote:
> > Add optional ngpios and gpio-reserved-ranges property
> >
> > Signed-off-by: Haibo Chen <haibo.chen@....com>
> > ---
> >  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
> 
> Do these platforms have a default? I'd expect one to be added that contains the
> default value from what the driver does now.

Okay, the default value should be 32, I will add that.

By the way, If add the default value, for the gpio port which contain 32 pads, seems no need to add ngpios in dts, I will change accordingly.

Regards
Haibo Chen
> 
> > +
> >  patternProperties:
> >    "^.+-hog(-[0-9]+)?$":
> >      type: object
> >
> > --
> > 2.34.1
> >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ