All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema
@ 2022-01-05 18:32 Rob Herring
  2022-01-05 20:13 ` Chris Packham
  2022-01-06 20:28 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2022-01-05 18:32 UTC (permalink / raw)
  To: Mark Brown, Chris Packham; +Cc: linux-spi, devicetree, linux-kernel

The spi-mux serves as both a SPI peripheral and controller, so add a
reference to spi-peripheral-props.yaml in addition to
spi-controller.yaml. This is necessary to avoid unevaluatedProperties
warnings once those are fully enabled.

Cc: Mark Brown <broonie@kernel.org>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: linux-spi@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/spi/spi-mux.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
index 51c7622dc20b..7ea79f6d33f3 100644
--- a/Documentation/devicetree/bindings/spi/spi-mux.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-mux.yaml
@@ -31,6 +31,7 @@ description: |
 
 allOf:
   - $ref: "/schemas/spi/spi-controller.yaml#"
+  - $ref: "/schemas/spi/spi-peripheral-props.yaml#"
 
 maintainers:
   - Chris Packham <chris.packham@alliedtelesis.co.nz>
-- 
2.32.0


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

* Re: [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema
  2022-01-05 18:32 [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema Rob Herring
@ 2022-01-05 20:13 ` Chris Packham
  2022-01-06 20:28 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Packham @ 2022-01-05 20:13 UTC (permalink / raw)
  To: Rob Herring, Mark Brown; +Cc: linux-spi, devicetree, linux-kernel


On 6/01/22 7:32 am, Rob Herring wrote:
> The spi-mux serves as both a SPI peripheral and controller, so add a
> reference to spi-peripheral-props.yaml in addition to
> spi-controller.yaml. This is necessary to avoid unevaluatedProperties
> warnings once those are fully enabled.
>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
> Cc: linux-spi@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>

> ---
>   Documentation/devicetree/bindings/spi/spi-mux.yaml | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/spi/spi-mux.yaml b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> index 51c7622dc20b..7ea79f6d33f3 100644
> --- a/Documentation/devicetree/bindings/spi/spi-mux.yaml
> +++ b/Documentation/devicetree/bindings/spi/spi-mux.yaml
> @@ -31,6 +31,7 @@ description: |
>   
>   allOf:
>     - $ref: "/schemas/spi/spi-controller.yaml#"
> +  - $ref: "/schemas/spi/spi-peripheral-props.yaml#"
>   
>   maintainers:
>     - Chris Packham <chris.packham@alliedtelesis.co.nz>

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

* Re: [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema
  2022-01-05 18:32 [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema Rob Herring
  2022-01-05 20:13 ` Chris Packham
@ 2022-01-06 20:28 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-01-06 20:28 UTC (permalink / raw)
  To: Chris Packham, Rob Herring; +Cc: linux-spi, devicetree, linux-kernel

On Wed, 5 Jan 2022 12:32:33 -0600, Rob Herring wrote:
> The spi-mux serves as both a SPI peripheral and controller, so add a
> reference to spi-peripheral-props.yaml in addition to
> spi-controller.yaml. This is necessary to avoid unevaluatedProperties
> warnings once those are fully enabled.
> 
> 

Applied to

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

Thanks!

[1/1] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema
      commit: 709c81b55c6aa74a6cdad27bdc224f50962b6ad9

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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 18:32 [PATCH] dt-bindings: spi-mux: Add reference to spi-peripheral-props.yaml schema Rob Herring
2022-01-05 20:13 ` Chris Packham
2022-01-06 20:28 ` 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.