diff mbox series

dt-bindings: soc: sti: st,sti-syscon: document codec node

Message ID 20240517142245.178556-1-krzysztof.kozlowski@linaro.org
State Not Applicable
Headers show
Series dt-bindings: soc: sti: st,sti-syscon: document codec node | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 15 lines checked
robh/patch-applied success
robh/dtbs-check warning build log
robh/dt-meta-schema success

Commit Message

Krzysztof Kozlowski May 17, 2024, 2:22 p.m. UTC
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]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/soc/sti/st,sti-syscon.yaml       | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Rob Herring May 22, 2024, 2:39 p.m. UTC | #1
On Fri, 17 May 2024 16:22:45 +0200, Krzysztof Kozlowski wrote:
> 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]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/soc/sti/st,sti-syscon.yaml       | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Krzysztof Kozlowski June 26, 2024, 11:29 a.m. UTC | #2
On Fri, 17 May 2024 16:22:45 +0200, Krzysztof Kozlowski wrote:
> 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]+'
> 
> [...]

One month on the lists and STI folks did not pick it up, dunno, then I guess
I will take it.

Applied, thanks!

[1/1] dt-bindings: soc: sti: st,sti-syscon: document codec node
      https://git.kernel.org/krzk/linux-dt/c/68c402fe5c5e5aa9a04c8bba9d99feb08a68afa7

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
index 5f97d9ff17fb..fc933d70d138 100644
--- a/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
+++ b/Documentation/devicetree/bindings/soc/sti/st,sti-syscon.yaml
@@ -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