linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] dt-bindings: imx: Fix dtbs_check warnings
@ 2023-05-30 10:08 Stefan Wahren
  2023-05-30 10:08 ` [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Stefan Wahren
  2023-05-30 10:08 ` [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible Stefan Wahren
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Wahren @ 2023-05-30 10:08 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Daniel Lezcano, Thomas Gleixner, Shawn Guo
  Cc: Marek Vasut, linux-kernel, linux-crypto, devicetree,
	linux-arm-kernel, Stefan Wahren

This series tries to address some dtbs_check warnings on i.MX6ULL.

Changes in V4:
- drop patch 1 from V3 which has already been addressed by Marek Vasut
- drop already applied patches from V3 (#3, #5, #6) 

Changes in V3:
- add Krzysztof's Reviewed-Bys
- fix indentation in Patch 6 found by Krzysztof Kozlowski

Changes in V2:
- new patch to fix fsl-imx-uart warnings 
- fixed GPC typo found by Fabio Estevam
- keep enum in bindings as suggested by Krzysztof Kozlowski
- make imx6ul GPT compatible to imx6sx


Stefan Wahren (2):
  dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible
  dt-bindings: imxgpt: add imx6ul compatible

 .../devicetree/bindings/crypto/fsl-dcp.yaml          | 12 +++++++++---
 .../devicetree/bindings/timer/fsl,imxgpt.yaml        |  3 +++
 2 files changed, 12 insertions(+), 3 deletions(-)

-- 
2.34.1


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

* [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible
  2023-05-30 10:08 [PATCH V4 0/2] dt-bindings: imx: Fix dtbs_check warnings Stefan Wahren
@ 2023-05-30 10:08 ` Stefan Wahren
  2023-06-07 20:59   ` Rob Herring
  2023-05-30 10:08 ` [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible Stefan Wahren
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2023-05-30 10:08 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Daniel Lezcano, Thomas Gleixner, Shawn Guo
  Cc: Marek Vasut, linux-kernel, linux-crypto, devicetree,
	linux-arm-kernel, Stefan Wahren, Krzysztof Kozlowski

Currently the dtbs_check for imx6 generates warnings like this:

'fsl,imx6sl-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
['fsl,imx6sl-dcp', 'fsl,imx28-dcp'] is too long

or

'fsl,imx6ull-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
['fsl,imx6ull-dcp', 'fsl,imx28-dcp'] is too long

So add them to the devicetree binding.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../devicetree/bindings/crypto/fsl-dcp.yaml          | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
index 99be01539fcd..8dd36c2f76fd 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
+++ b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
@@ -11,9 +11,15 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - fsl,imx23-dcp
-      - fsl,imx28-dcp
+    oneOf:
+      - enum:
+          - fsl,imx23-dcp
+          - fsl,imx28-dcp
+      - items:
+          - enum:
+              - fsl,imx6sl-dcp
+              - fsl,imx6ull-dcp
+          - const: fsl,imx28-dcp
 
   reg:
     maxItems: 1
-- 
2.34.1


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

* [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible
  2023-05-30 10:08 [PATCH V4 0/2] dt-bindings: imx: Fix dtbs_check warnings Stefan Wahren
  2023-05-30 10:08 ` [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Stefan Wahren
@ 2023-05-30 10:08 ` Stefan Wahren
  2023-06-07 20:59   ` Rob Herring
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Wahren @ 2023-05-30 10:08 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Daniel Lezcano, Thomas Gleixner, Shawn Guo
  Cc: Marek Vasut, linux-kernel, linux-crypto, devicetree,
	linux-arm-kernel, Stefan Wahren, Krzysztof Kozlowski

Currently the dtbs_check for imx6ul generates warnings like this:

['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long

According to the timer-imx-gpt driver all imx6 use the same imx6dl data,
but according to the existing DTS files the imx6ul GPT IP is derived from
imx6sx. So better follow the DTS files here and make the imx6ul GPT
compatible to the imx6sl one to fix the warning.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
index 716c6afcca1f..685137338ac9 100644
--- a/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
+++ b/Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml
@@ -34,6 +34,9 @@ properties:
               - fsl,imxrt1050-gpt
               - fsl,imxrt1170-gpt
           - const: fsl,imx6dl-gpt
+      - items:
+          - const: fsl,imx6ul-gpt
+          - const: fsl,imx6sx-gpt
 
   reg:
     maxItems: 1
-- 
2.34.1


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

* Re: [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible
  2023-05-30 10:08 ` [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Stefan Wahren
@ 2023-06-07 20:59   ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2023-06-07 20:59 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Krzysztof Kozlowski, Krzysztof Kozlowski, Marek Vasut,
	linux-arm-kernel, Daniel Lezcano, linux-crypto, Conor Dooley,
	Rob Herring, Shawn Guo, devicetree, Thomas Gleixner,
	linux-kernel, David S. Miller, Herbert Xu


On Tue, 30 May 2023 12:08:42 +0200, Stefan Wahren wrote:
> Currently the dtbs_check for imx6 generates warnings like this:
> 
> 'fsl,imx6sl-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
> ['fsl,imx6sl-dcp', 'fsl,imx28-dcp'] is too long
> 
> or
> 
> 'fsl,imx6ull-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
> ['fsl,imx6ull-dcp', 'fsl,imx28-dcp'] is too long
> 
> So add them to the devicetree binding.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../devicetree/bindings/crypto/fsl-dcp.yaml          | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
> 

Applied, thanks!


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

* Re: [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible
  2023-05-30 10:08 ` [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible Stefan Wahren
@ 2023-06-07 20:59   ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2023-06-07 20:59 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Daniel Lezcano, linux-kernel, linux-arm-kernel, David S. Miller,
	Conor Dooley, Rob Herring, Marek Vasut, Thomas Gleixner,
	Shawn Guo, devicetree, Krzysztof Kozlowski, linux-crypto,
	Krzysztof Kozlowski, Herbert Xu


On Tue, 30 May 2023 12:08:43 +0200, Stefan Wahren wrote:
> Currently the dtbs_check for imx6ul generates warnings like this:
> 
> ['fsl,imx6ul-gpt', 'fsl,imx6sx-gpt'] is too long
> 
> According to the timer-imx-gpt driver all imx6 use the same imx6dl data,
> but according to the existing DTS files the imx6ul GPT IP is derived from
> imx6sx. So better follow the DTS files here and make the imx6ul GPT
> compatible to the imx6sl one to fix the warning.
> 
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/timer/fsl,imxgpt.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied, thanks!


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

end of thread, other threads:[~2023-06-07 21:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-30 10:08 [PATCH V4 0/2] dt-bindings: imx: Fix dtbs_check warnings Stefan Wahren
2023-05-30 10:08 ` [PATCH V4 1/2] dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible Stefan Wahren
2023-06-07 20:59   ` Rob Herring
2023-05-30 10:08 ` [PATCH V4 2/2] dt-bindings: imxgpt: add imx6ul compatible Stefan Wahren
2023-06-07 20:59   ` 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).