All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] spi: dt-bindings: Fix 'reg' child node schema
@ 2022-01-26 23:13 Rob Herring
  2022-01-28 15:59 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-01-26 23:13 UTC (permalink / raw)
  To: Mark Brown, Pratyush Yadav; +Cc: linux-spi, devicetree, linux-kernel

The schema for SPI child nodes' 'reg' property is not complete. 'reg' is
a matrix of cells. The schema needs to define both the number of 'reg'
entries and constraints on each entry.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/spi/spi-peripheral-props.yaml        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
index 5dd209206e88..3ec2d7b83775 100644
--- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
@@ -23,8 +23,9 @@ properties:
     minItems: 1
     maxItems: 256
     items:
-      minimum: 0
-      maximum: 256
+      items:
+        - minimum: 0
+          maximum: 256
     description:
       Chip select used by the device.
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] spi: dt-bindings: Fix 'reg' child node schema
  2022-01-26 23:13 [PATCH] spi: dt-bindings: Fix 'reg' child node schema Rob Herring
@ 2022-01-28 15:59 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-01-28 15:59 UTC (permalink / raw)
  To: Rob Herring, Pratyush Yadav; +Cc: devicetree, linux-kernel, linux-spi

On Wed, 26 Jan 2022 17:13:26 -0600, Rob Herring wrote:
> The schema for SPI child nodes' 'reg' property is not complete. 'reg' is
> a matrix of cells. The schema needs to define both the number of 'reg'
> entries and constraints on each entry.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-linus

Thanks!

[1/1] spi: dt-bindings: Fix 'reg' child node schema
      commit: 60b1e97140a487608b7cbde774b3cff1b5a99c00

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-28 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 23:13 [PATCH] spi: dt-bindings: Fix 'reg' child node schema Rob Herring
2022-01-28 15:59 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.