[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DU0PR04MB94171571EAF51759531AB7E888949@DU0PR04MB9417.eurprd04.prod.outlook.com>
Date: Tue, 26 Jul 2022 09:03:32 +0000
From: Peng Fan <peng.fan@....com>
To: Rob Herring <robh@...nel.org>,
"Peng Fan (OSS)" <peng.fan@....nxp.com>
CC: "krzysztof.kozlowski+dt@...aro.org"
<krzysztof.kozlowski+dt@...aro.org>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
Aisheng Dong <aisheng.dong@....com>,
"festevam@...il.com" <festevam@...il.com>,
Jacky Bai <ping.bai@....com>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
dl-linux-imx <linux-imx@....com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 0/9] dt-bindings: pinctrl: imx: use minItems
> Subject: Re: [PATCH 0/9] dt-bindings: pinctrl: imx: use minItems
>
> On Sat, Jul 23, 2022 at 05:43:26PM +0800, Peng Fan (OSS) wrote:
> > From: Peng Fan <peng.fan@....com>
> >
> > There are many warnings when do dtbs_check: fsl,pins are too long, so
> > add minItems to address that.
>
> A single cell is not valid though, right?
>
> This particular property is problematic because each entry depending on the
> platform has different number of cells (5, 6, etc.). A single cell (minItems: 1)
> is not valid though, right?
I thought no maxItems means no limitation on maxItems (:
Then I should add maxItems.
>
> There's a fix in dtschema min branch which should fix the warnings.
> Unfortunately, it just strips any bounds checking.
ok, let me update dtschema to rerun the dtbs_check.
Thanks,
Peng.
>
> Rob
Powered by blists - more mailing lists