Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema
From: Rob Herring <robh@kernel.org>
Date: 2021-03-24 17:52:54
Also in:
linux-spi, lkml
From: Rob Herring <robh@kernel.org>
Date: 2021-03-24 17:52:54
Also in:
linux-spi, lkml
On Tue, Mar 16, 2021 at 07:22:56PM +0100, Michael Walle wrote:
Am 2021-03-16 19:06, schrieb Pratyush Yadav:quoted
On 16/03/21 06:45PM, Michael Walle wrote:quoted
Am 2021-03-15 19:30, schrieb Pratyush Yadav: ..quoted
quoted
+patternProperties: + "@[0-9a-f]+":Shouldn't this be "^.*@[0-9a-f]+$"?The pattern has to match _anywhere_ in the string so both should match the flash node. Your pattern is more "strict" or "precise". See the note at [0].I know, but specifying the whole line is widely used in the bindings.
It should be '@[0-9a-f]+$' which is equivalent to Michael's suggestion. Rob