]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
spi: Fix Tegra QSPI example
authorJon Hunter <jonathanh@nvidia.com>
Mon, 7 Mar 2022 11:35:29 +0000 (11:35 +0000)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:40:17 +0000 (14:40 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969110
commit 320689a1b543ca1396b3ed43bb18045e4a7ffd79 upstream.

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.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Fixes: 9684752e5fe3 ("dt-bindings: spi: Add Tegra Quad SPI device tree binding")
Link: https://lore.kernel.org/r/20220307113529.315685-1-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8c1c3c00dceb9d78bba6658658d109cc0c1d5b32)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml

index 35a8045b2c70db82a1b4ec8961362818dda44ae0..53627c6e2ae320a389e5113072742786bf9bb512 100644 (file)
@@ -106,7 +106,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>;