]> www.infradead.org Git - linux.git/commitdiff
dt-bindings: soc: sti: st,sti-syscon: document codec node
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 17 May 2024 14:22:45 +0000 (16:22 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 26 Jun 2024 11:28:05 +0000 (13:28 +0200)
st,stih407-core-syscfg syscon block comes with a child - the audio
codec, whose binding is still in TXT format.  Document the child to fix
dtbs_check validation errors, while allowing later the binding to be
converted to DT schema:

  stih410-b2260.dtb: core-syscfg@92b0000: 'sti-sasg-codec' does not match any of the regexes: 'pinctrl-[0-9]+'

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240517142245.178556-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml

index 5f97d9ff17fbb27d5282a051656789da43373c2d..fc933d70d138ea0372907c391a79a6cc99a35c20 100644 (file)
@@ -30,6 +30,15 @@ properties:
   reg:
     maxItems: 1
 
+  sti-sasg-codec:
+    description: STi internal audio codec
+    type: object
+    additionalProperties: true
+
+    properties:
+      compatible:
+        const: st,stih407-sas-codec
+
 required:
   - compatible
   - reg