* [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select'
@ 2022-03-01 21:23 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-03-01 21:23 UTC (permalink / raw)
To: Mark Brown, Krzysztof Kozlowski, Matthias Brugger, Leilk Liu
Cc: linux-spi, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel
The minimum array length defaults to the same size as the maximum. For
'mediatek,pad-select', the example has a length of 2 and in-tree .dts
files have a length of 1, but the schema says the length must be 4.
There's currently no warning in the example because the schema fixups
are not handling this case correctly.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
index bfa44acb1bdd..ac9ff12ae27a 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
@@ -62,6 +62,7 @@ properties:
mediatek,pad-select:
$ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 1
maxItems: 4
items:
enum: [0, 1, 2, 3]
--
2.32.0
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select'
@ 2022-03-01 21:23 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-03-01 21:23 UTC (permalink / raw)
To: Mark Brown, Krzysztof Kozlowski, Matthias Brugger, Leilk Liu
Cc: linux-spi, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel
The minimum array length defaults to the same size as the maximum. For
'mediatek,pad-select', the example has a length of 2 and in-tree .dts
files have a length of 1, but the schema says the length must be 4.
There's currently no warning in the example because the schema fixups
are not handling this case correctly.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
index bfa44acb1bdd..ac9ff12ae27a 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
@@ -62,6 +62,7 @@ properties:
mediatek,pad-select:
$ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 1
maxItems: 4
items:
enum: [0, 1, 2, 3]
--
2.32.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 6+ messages in thread* [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'
@ 2022-03-01 21:23 ` Rob Herring
0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2022-03-01 21:23 UTC (permalink / raw)
To: Mark Brown, Krzysztof Kozlowski, Matthias Brugger, Leilk Liu
Cc: linux-spi, devicetree, linux-arm-kernel, linux-mediatek,
linux-kernel
The minimum array length defaults to the same size as the maximum. For
'mediatek,pad-select', the example has a length of 2 and in-tree .dts
files have a length of 1, but the schema says the length must be 4.
There's currently no warning in the example because the schema fixups
are not handling this case correctly.
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
index bfa44acb1bdd..ac9ff12ae27a 100644
--- a/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
+++ b/Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml
@@ -62,6 +62,7 @@ properties:
mediatek,pad-select:
$ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 1
maxItems: 4
items:
enum: [0, 1, 2, 3]
--
2.32.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select'
2022-03-01 21:23 ` [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select' Rob Herring
(?)
@ 2022-03-02 17:01 ` Mark Brown
-1 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-03-02 17:01 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski, Leilk Liu
Cc: linux-kernel, linux-mediatek, devicetree, linux-spi,
linux-arm-kernel
On Tue, 1 Mar 2022 15:23:57 -0600, Rob Herring wrote:
> The minimum array length defaults to the same size as the maximum. For
> 'mediatek,pad-select', the example has a length of 2 and in-tree .dts
> files have a length of 1, but the schema says the length must be 4.
>
> There's currently no warning in the example because the schema fixups
> are not handling this case correctly.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'
commit: d149dd2a806b9d11e570c3731eca8bda3c5f6238
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
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select'
@ 2022-03-02 17:01 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-03-02 17:01 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski, Leilk Liu
Cc: linux-kernel, linux-mediatek, devicetree, linux-spi,
linux-arm-kernel
On Tue, 1 Mar 2022 15:23:57 -0600, Rob Herring wrote:
> The minimum array length defaults to the same size as the maximum. For
> 'mediatek,pad-select', the example has a length of 2 and in-tree .dts
> files have a length of 1, but the schema says the length must be 4.
>
> There's currently no warning in the example because the schema fixups
> are not handling this case correctly.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'
commit: d149dd2a806b9d11e570c3731eca8bda3c5f6238
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'
@ 2022-03-02 17:01 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-03-02 17:01 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski, Leilk Liu
Cc: linux-kernel, linux-mediatek, devicetree, linux-spi,
linux-arm-kernel
On Tue, 1 Mar 2022 15:23:57 -0600, Rob Herring wrote:
> The minimum array length defaults to the same size as the maximum. For
> 'mediatek,pad-select', the example has a length of 2 and in-tree .dts
> files have a length of 1, but the schema says the length must be 4.
>
> There's currently no warning in the example because the schema fixups
> are not handling this case correctly.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'
commit: d149dd2a806b9d11e570c3731eca8bda3c5f6238
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] 6+ messages in thread
end of thread, other threads:[~2022-03-02 17:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-01 21:23 [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select' Rob Herring
2022-03-01 21:23 ` Rob Herring
2022-03-01 21:23 ` [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select' Rob Herring
2022-03-02 17:01 ` [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek, pad-select' Mark Brown
2022-03-02 17:01 ` Mark Brown
2022-03-02 17:01 ` [PATCH] spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select' 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.