diff mbox series

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

Message ID 20221025080014.403457-1-mranostay@ti.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: mfd: ti,am3359-tscadc: add missing power-domains property | expand

Commit Message

Matt Ranostay Oct. 25, 2022, 8 a.m. UTC
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]+'

Signed-off-by: Matt Ranostay <mranostay@ti.com>
---
 Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Miquel Raynal Oct. 25, 2022, 8:28 a.m. UTC | #1
Hi Matt,

mranostay@ti.com wrote on Tue, 25 Oct 2022 01:00:14 -0700:

> 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]+'
> 
> Signed-off-by: Matt Ranostay <mranostay@ti.com>

Looks legitimate.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

> ---
>  Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> index 34bf6a01436f..23a63265be3c 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> @@ -52,6 +52,9 @@ properties:
>      type: object
>      description: Magnetic reader
>  
> +  power-domains:
> +    maxItems: 1
> +
>  required:
>    - compatible
>    - reg


Thanks,
Miquèl
Krzysztof Kozlowski Oct. 25, 2022, 12:50 p.m. UTC | #2
On 25/10/2022 04:00, Matt Ranostay wrote:
> 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]+'
> 
> Signed-off-by: Matt Ranostay <mranostay@ti.com>
> ---
>  Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> index 34bf6a01436f..23a63265be3c 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
> @@ -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.


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Lee Jones Oct. 31, 2022, 3:23 p.m. UTC | #3
On Tue, 25 Oct 2022, Matt Ranostay wrote:

> 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]+'
> 
> Signed-off-by: Matt Ranostay <mranostay@ti.com>
> ---
>  Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml | 3 +++
>  1 file changed, 3 insertions(+)

Applied, thanks.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
index 34bf6a01436f..23a63265be3c 100644
--- a/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,am3359-tscadc.yaml
@@ -52,6 +52,9 @@  properties:
     type: object
     description: Magnetic reader
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg