* [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible
@ 2023-06-24 8:20 Krzysztof Kozlowski
2023-06-24 9:28 ` Conor Dooley
2023-06-24 17:40 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-24 8:20 UTC (permalink / raw)
To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Nicolas Ferre, Alexandre Belloni, Claudiu Beznea, Tudor Ambarus,
Varshini Rajendran, linux-spi, devicetree, linux-arm-kernel,
linux-kernel
Cc: Krzysztof Kozlowski
Commit a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7
compatible") adding sam9x7 compatible did not make any sense as it added
new compatible into middle of existing compatible list. The intention
was probably to add new set of compatibles with sam9x7 as first one.
Fixes: a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7 compatible")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
index bdc42eeacba4..58367587bfbc 100644
--- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
@@ -19,7 +19,10 @@ properties:
- const: atmel,at91rm9200-spi
- items:
- const: microchip,sam9x60-spi
+ - const: atmel,at91rm9200-spi
+ - items:
- const: microchip,sam9x7-spi
+ - const: microchip,sam9x60-spi
- const: atmel,at91rm9200-spi
reg:
--
2.34.1
_______________________________________________
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] 3+ messages in thread* Re: [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible
2023-06-24 8:20 [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible Krzysztof Kozlowski
@ 2023-06-24 9:28 ` Conor Dooley
2023-06-24 17:40 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-06-24 9:28 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: devicetree, Alexandre Belloni, linux-kernel, Conor Dooley,
Rob Herring, Tudor Ambarus, Mark Brown, Krzysztof Kozlowski,
Varshini Rajendran, linux-spi, Claudiu Beznea, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 1841 bytes --]
On Sat, Jun 24, 2023 at 10:20:54AM +0200, Krzysztof Kozlowski wrote:
> Commit a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7
> compatible") adding sam9x7 compatible did not make any sense as it added
> new compatible into middle of existing compatible list. The intention
> was probably to add new set of compatibles with sam9x7 as first one.
>
> Fixes: a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7 compatible")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
@Varshini, this is the template to follow for the rest of the series. I
know there's a lot of complaints while running dtbs_check for the entire
directory, but you can isolate things to a singular binding and check
the dts against it using:
make dtbs_check DT_SCHEMA_FILES=atmel,at91rm9200-spi.yaml
That should make it easier to see that you don't break existing dts by
modifying the binding.
Cheers,
Conor.
> ---
> .../devicetree/bindings/spi/atmel,at91rm9200-spi.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
> index bdc42eeacba4..58367587bfbc 100644
> --- a/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
> +++ b/Documentation/devicetree/bindings/spi/atmel,at91rm9200-spi.yaml
> @@ -19,7 +19,10 @@ properties:
> - const: atmel,at91rm9200-spi
> - items:
> - const: microchip,sam9x60-spi
> + - const: atmel,at91rm9200-spi
> + - items:
> - const: microchip,sam9x7-spi
> + - const: microchip,sam9x60-spi
> - const: atmel,at91rm9200-spi
>
> reg:
> --
> 2.34.1
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
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] 3+ messages in thread* Re: [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible
2023-06-24 8:20 [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible Krzysztof Kozlowski
2023-06-24 9:28 ` Conor Dooley
@ 2023-06-24 17:40 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2023-06-24 17:40 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nicolas Ferre,
Alexandre Belloni, Claudiu Beznea, Tudor Ambarus,
Varshini Rajendran, linux-spi, devicetree, linux-arm-kernel,
linux-kernel, Krzysztof Kozlowski
On Sat, 24 Jun 2023 10:20:54 +0200, Krzysztof Kozlowski wrote:
> Commit a3eb95484f27 ("spi: dt-bindings: atmel,at91rm9200-spi: add sam9x7
> compatible") adding sam9x7 compatible did not make any sense as it added
> new compatible into middle of existing compatible list. The intention
> was probably to add new set of compatibles with sam9x7 as first one.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/1] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible
commit: e884a133340a470070b2c59833c9ff87aa6517ba
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] 3+ messages in thread
end of thread, other threads:[~2023-06-24 17:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-24 8:20 [PATCH] spi: dt-bindings: atmel,at91rm9200-spi: fix broken sam9x7 compatible Krzysztof Kozlowski
2023-06-24 9:28 ` Conor Dooley
2023-06-24 17:40 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox