Skip to contentSkip to conversation

dt-bindings: spi: Fix Tegra QSPI example

PATCH In review Jon Hunter 2 participants 4 messages Mar 7, 2022

Subsystems (3)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: spi: Fix Tegra QSPI example

When running dt_binding_check on the nvidia,tegra210-quad.yaml binding document the following error is reported ...

nvidia,tegra210-quad.example.dt.yaml:0:0: /example-0/spi@70410000/flash@0:
failed to match any schema with compatible: ['spi-nor']

Update the example in the binding document to fix the above error.

---
 Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml +1 -1
index 6efea8970e62..0296edd1de22 100644
@@ -107,7 +107,7 @@ examples:
             dma-names = "rx", "tx";
 
             flash@0 {
-                    compatible = "spi-nor";
+                    compatible = "jedec,spi-nor";
                     reg = <0>;
                     spi-max-frequency = <104000000>;
                     spi-tx-bus-width = <2>;
Signature · 1 line
2.25.1
author maintainer
#1 lore raw
Quoted 9 lines · Jon Hunter

When running dt_binding_check on the nvidia,tegra210-quad.yaml binding document the following error is reported ...

nvidia,tegra210-quad.example.dt.yaml:0:0: /example-0/spi@70410000/flash@0:
failed to match any schema with compatible: ['spi-nor']

Update the example in the binding document to fix the above error.

I should have added ...

Fixes 9684752e5fe3 ("dt-bindings: spi: Add Tegra Quad SPI device tree binding")

Jon

Signature · 1 line
nvpublic
maintainer
#2 lore raw
In reply to Jon Hunter
Quoted 2 lines · Jon Hunter

When running dt_binding_check on the nvidia,tegra210-quad.yaml binding document the following error is reported ...

Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.

maintainer
#3 lore raw
In reply to Jon Hunter
Quoted 9 lines · Jon Hunter

When running dt_binding_check on the nvidia,tegra210-quad.yaml binding document the following error is reported ...

nvidia,tegra210-quad.example.dt.yaml:0:0: /example-0/spi@70410000/flash@0:
failed to match any schema with compatible: ['spi-nor']

Update the example in the binding document to fix the above error.

[...]

Applied to

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

Thanks!

[1/1] dt-bindings: spi: Fix Tegra QSPI example

      commit: 320689a1b543ca1396b3ed43bb18045e4a7ffd79

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