2020-09-17 20:04:01

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v3] dt-bindings: mailbox: fsl,mu: Add missing power-domains

Add quite common property - power-domains - to fix dtbs_check warnings
like:

arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml:
mailbox@5d280000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <[email protected]>

---

Changes since v2:
1. Set maxItems to power domains to 1

Changes since v1:
1. Add missing properties instead of unevaluatedProperties
---
Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
index 7ed096360be2..15cef82cd356 100644
--- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
+++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
@@ -72,6 +72,9 @@ properties:
description: boolean, if present, means it is for side B MU.
type: boolean

+ power-domains:
+ maxItems: 1
+
required:
- compatible
- reg
--
2.17.1


2020-09-18 03:01:54

by Aisheng Dong

[permalink] [raw]
Subject: RE: [PATCH v3] dt-bindings: mailbox: fsl,mu: Add missing power-domains

> From: Krzysztof Kozlowski <[email protected]>
> Sent: Friday, September 18, 2020 3:42 AM
>
> Add quite common property - power-domains - to fix dtbs_check warnings
> like:
>
> arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml:
> mailbox@5d280000: 'power-domains' does not match any of the regexes:
> 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Reviewed-by: Dong Aisheng <[email protected]>

Regards
Aisheng

2020-09-23 20:35:41

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v3] dt-bindings: mailbox: fsl,mu: Add missing power-domains

On Thu, 17 Sep 2020 21:42:20 +0200, Krzysztof Kozlowski wrote:
> Add quite common property - power-domains - to fix dtbs_check warnings
> like:
>
> arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml:
> mailbox@5d280000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> ---
>
> Changes since v2:
> 1. Set maxItems to power domains to 1
>
> Changes since v1:
> 1. Add missing properties instead of unevaluatedProperties
> ---
> Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>

Reviewed-by: Rob Herring <[email protected]>