Skip to contentSkip to conversation

dt-bindings: mfd: ti,am3359-tscadc: add missing power-domains property

PATCH Applied Matt Ranostay 4 participants 4 messages Oct 25, 2022 – Oct 31, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mfd: ti,am3359-tscadc: add missing power-domains property

Add optional power-domains property to avoid the following dt-schema failures:

tscadc@40200000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +3 -0
index 34bf6a01436f..23a63265be3c 100644
@@ -52,6 +52,9 @@ properties:
     type: object
     description: Magnetic reader
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
Signature · 1 line
2.38.GIT
Reviewed-by on v1 1/1
#1 lore raw

Hi Matt,

[email protected] wrote on Tue, 25 Oct 2022 01:00:14 -0700:

Quoted 6 lines

Add optional power-domains property to avoid the following dt-schema failures:

tscadc@40200000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

Looks legitimate.

Quoted 9 lines
---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +0 -0
index 34bf6a01436f..23a63265be3c 100644

Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml properties: · line 60

Quoted 9 lines
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +3 -0
@@ -52,6 +52,9 @@ properties:
     type: object
     description: Magnetic reader
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg

Thanks,
Miquèl

Acked-by on v1 1/1
#2 lore raw
In reply to Matt Ranostay
Quoted 15 lines · Matt Ranostay

Add optional power-domains property to avoid the following dt-schema failures:

tscadc@40200000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +0 -0
index 34bf6a01436f..23a63265be3c 100644

Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml properties: · line 57

Quoted 6 lines
Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml +3 -0
@@ -52,6 +52,9 @@ properties:
     type: object
     description: Magnetic reader
 
+  power-domains:
+    maxItems: 1
+

Just do not keep adding items at the end of the list, but in some logical place.

Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer Applied
#3 lore raw
In reply to Matt Ranostay
Quoted 9 lines · Matt Ranostay

Add optional power-domains property to avoid the following dt-schema failures:

tscadc@40200000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
 1 file changed, 3 insertions(+)

Applied, thanks.

Signature · 1 line
Lee Jones [李琼斯]