devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching
@ 2020-09-03 19:53 Krzysztof Kozlowski
  2020-09-03 19:53 ` [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-03 19:53 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring, Dong Aisheng, linux-kernel, devicetree
  Cc: Krzysztof Kozlowski

The Mailbox on i.MX 8QXP (fsl,imx8qxp-mu) can also be compatible with
fsl,imx8-mu-scu (for fast IPC) so adjust the compatibles to fix
dtbs_check warnings like:

  arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000:
    compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu']
    is not valid under any of the given schemas (Possible causes of the failure):

  arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000:
    compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu'] is too long

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v1:
1. None
---
 Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
index 8a3470b64d06..7ed096360be2 100644
--- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
+++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
@@ -38,8 +38,9 @@ properties:
           - const: fsl,imx6sx-mu
       - description: To communicate with i.MX8 SCU with fast IPC
         items:
-          - const: fsl,imx8qxp-mu
           - const: fsl,imx8-mu-scu
+          - const: fsl,imx8qxp-mu
+          - const: fsl,imx6sx-mu
 
   reg:
     maxItems: 1
-- 
2.17.1


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

* [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains
  2020-09-03 19:53 [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Krzysztof Kozlowski
@ 2020-09-03 19:53 ` Krzysztof Kozlowski
  2020-09-14 20:53   ` Rob Herring
  2020-09-03 19:53 ` [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry Krzysztof Kozlowski
  2020-09-14 20:55 ` [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Rob Herring
  2 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-03 19:53 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring, Dong Aisheng, linux-kernel, devicetree
  Cc: Krzysztof Kozlowski

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 <krzk@kernel.org>

---

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

diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
index 7ed096360be2..e372dcce8037 100644
--- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
+++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
@@ -72,6 +72,8 @@ properties:
     description: boolean, if present, means it is for side B MU.
     type: boolean
 
+  power-domains: true
+
 required:
   - compatible
   - reg
-- 
2.17.1


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

* [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry
  2020-09-03 19:53 [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Krzysztof Kozlowski
  2020-09-03 19:53 ` [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Krzysztof Kozlowski
@ 2020-09-03 19:53 ` Krzysztof Kozlowski
  2020-11-10 18:52   ` Krzysztof Kozlowski
  2020-09-14 20:55 ` [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Rob Herring
  2 siblings, 1 reply; 6+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-03 19:53 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring, Dong Aisheng, linux-kernel, devicetree
  Cc: Krzysztof Kozlowski

Cover the dt-bindings of mailbox drivers by mailbox maintainers entry.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Changes since v1:
1. New patch
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index bb0cb31d323b..d3d8dedbaf22 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10417,6 +10417,7 @@ MAILBOX API
 M:	Jassi Brar <jassisinghbrar@gmail.com>
 L:	linux-kernel@vger.kernel.org
 S:	Maintained
+F:	Documentation/devicetree/bindings/mailbox/
 F:	drivers/mailbox/
 F:	include/linux/mailbox_client.h
 F:	include/linux/mailbox_controller.h
-- 
2.17.1


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

* Re: [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains
  2020-09-03 19:53 ` [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Krzysztof Kozlowski
@ 2020-09-14 20:53   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-09-14 20:53 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: Jassi Brar, Dong Aisheng, linux-kernel, devicetree

On Thu, Sep 03, 2020 at 09:53:24PM +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 <krzk@kernel.org>
> 
> ---
> 
> Changes since v1:
> 1. Add missing properties instead of unevaluatedProperties
> ---
>  Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
> index 7ed096360be2..e372dcce8037 100644
> --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
> +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml
> @@ -72,6 +72,8 @@ properties:
>      description: boolean, if present, means it is for side B MU.
>      type: boolean
>  
> +  power-domains: true

How many?

> +
>  required:
>    - compatible
>    - reg
> -- 
> 2.17.1
> 

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

* Re: [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching
  2020-09-03 19:53 [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Krzysztof Kozlowski
  2020-09-03 19:53 ` [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Krzysztof Kozlowski
  2020-09-03 19:53 ` [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry Krzysztof Kozlowski
@ 2020-09-14 20:55 ` Rob Herring
  2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2020-09-14 20:55 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: linux-kernel, Rob Herring, Jassi Brar, devicetree, Dong Aisheng

On Thu, 03 Sep 2020 21:53:23 +0200, Krzysztof Kozlowski wrote:
> The Mailbox on i.MX 8QXP (fsl,imx8qxp-mu) can also be compatible with
> fsl,imx8-mu-scu (for fast IPC) so adjust the compatibles to fix
> dtbs_check warnings like:
> 
>   arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000:
>     compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu']
>     is not valid under any of the given schemas (Possible causes of the failure):
> 
>   arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: mailbox@5d1f0000:
>     compatible: ['fsl,imx8-mu-scu', 'fsl,imx8qxp-mu', 'fsl,imx6sx-mu'] is too long
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v1:
> 1. None
> ---
>  Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Applied, thanks!

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

* Re: [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry
  2020-09-03 19:53 ` [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry Krzysztof Kozlowski
@ 2020-11-10 18:52   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-10 18:52 UTC (permalink / raw)
  To: Jassi Brar, Rob Herring, Dong Aisheng, linux-kernel, devicetree

On Thu, Sep 03, 2020 at 09:53:25PM +0200, Krzysztof Kozlowski wrote:
> Cover the dt-bindings of mailbox drivers by mailbox maintainers entry.
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> 
> ---
> 
> Changes since v1:
> 1. New patch

Jassi,

Any comments on this patch?

Best regards,
Krzysztof

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

end of thread, other threads:[~2020-11-10 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 19:53 [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Krzysztof Kozlowski
2020-09-03 19:53 ` [PATCH v2 2/3] dt-bindings: mailbox: fsl,mu: Add missing power-domains Krzysztof Kozlowski
2020-09-14 20:53   ` Rob Herring
2020-09-03 19:53 ` [PATCH v2 3/3] MAINTAINERS: Add dt-bindings to mailbox entry Krzysztof Kozlowski
2020-11-10 18:52   ` Krzysztof Kozlowski
2020-09-14 20:55 ` [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: Fix i.MX 8QXP compatible matching Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).