ASoC: dt-bindings: irondevice,sma1303.yaml: Fix about breaking the checks
authorKiseok Jo <kiseok.jo@irondevice.com>
Tue, 31 Jan 2023 05:09:47 +0000 (05:09 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 11:05:18 +0000 (11:05 +0000)
Fix the bindings checks like syntax error.

Signed-off-by: Kiseok Jo <kiseok.jo@irondevice.com>
Reported-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230131050946.14385-1-kiseok.jo@irondevice.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/irondevice,sma1303.yaml

index eb87374..162c526 100644 (file)
@@ -19,14 +19,13 @@ required:
   - compatible
   - reg
 
-additionalProperties: true
+additionalProperties: false
 
 examples:
   - |
-    #include <dt-bindings/gpio/gpio.h>
     i2c_bus {
-               sma1303_amp: sma1303@1e {
-                       compatible = "irondevice,sma1303";
-                       reg = <0x1e>;
-               };
-       };
+        amplifier@1e {
+            compatible = "irondevice,sma1303";
+            reg = <0x1e>;
+        };
+    };