mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node
@ 2024-05-17 14:22 Krzysztof Kozlowski
  2024-05-22 14:39 ` Rob Herring (Arm)
  2024-06-26 11:29 ` (subset) " Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-17 14:22 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Patrice Chotard,
	devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

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(+)

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
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node
  2024-05-17 14:22 [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node Krzysztof Kozlowski
@ 2024-05-22 14:39 ` Rob Herring (Arm)
  2024-06-26 11:29 ` (subset) " Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2024-05-22 14:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Patrice Chotard, Conor Dooley, linux-kernel,
	Krzysztof Kozlowski


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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: (subset) [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node
  2024-05-17 14:22 [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node Krzysztof Kozlowski
  2024-05-22 14:39 ` Rob Herring (Arm)
@ 2024-06-26 11:29 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-26 11:29 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Patrice Chotard,
	devicetree, linux-kernel, Krzysztof Kozlowski


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,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-26 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-17 14:22 [PATCH] dt-bindings: soc: sti: st,sti-syscon: document codec node Krzysztof Kozlowski
2024-05-22 14:39 ` Rob Herring (Arm)
2024-06-26 11:29 ` (subset) " Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®