All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-10-24  7:43 ` Frank Wunderlich
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Wunderlich @ 2022-10-24  7:43 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Frank Wunderlich, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

From: Frank Wunderlich <frank-w@public-files.de>

Allow multiple items for pcie, pwm and spi function.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 .../bindings/pinctrl/mediatek,mt7986-pinctrl.yaml    | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
index d5ab5e08badc..0a7d130ef112 100644
--- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
@@ -201,7 +201,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  items:
+                    enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  maxItems: 3
           - if:
               properties:
                 function:
@@ -209,7 +211,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pwm0, pwm1_0, pwm1_1]
+                  items:
+                    enum: [pwm0, pwm1_0, pwm1_1]
+                  maxItems: 2
           - if:
               properties:
                 function:
@@ -217,7 +221,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  items:
+                    enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  maxItems: 2
           - if:
               properties:
                 function:
-- 
2.34.1


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

* [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-10-24  7:43 ` Frank Wunderlich
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Wunderlich @ 2022-10-24  7:43 UTC (permalink / raw)
  To: linux-mediatek
  Cc: devicetree, Linus Walleij, Sean Wang, linux-kernel, linux-gpio,
	Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	linux-arm-kernel

From: Frank Wunderlich <frank-w@public-files.de>

Allow multiple items for pcie, pwm and spi function.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 .../bindings/pinctrl/mediatek,mt7986-pinctrl.yaml    | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
index d5ab5e08badc..0a7d130ef112 100644
--- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
@@ -201,7 +201,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  items:
+                    enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  maxItems: 3
           - if:
               properties:
                 function:
@@ -209,7 +211,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pwm0, pwm1_0, pwm1_1]
+                  items:
+                    enum: [pwm0, pwm1_0, pwm1_1]
+                  maxItems: 2
           - if:
               properties:
                 function:
@@ -217,7 +221,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  items:
+                    enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  maxItems: 2
           - if:
               properties:
                 function:
-- 
2.34.1



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

* [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-10-24  7:43 ` Frank Wunderlich
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Wunderlich @ 2022-10-24  7:43 UTC (permalink / raw)
  To: linux-mediatek
  Cc: Frank Wunderlich, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

From: Frank Wunderlich <frank-w@public-files.de>

Allow multiple items for pcie, pwm and spi function.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 .../bindings/pinctrl/mediatek,mt7986-pinctrl.yaml    | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
index d5ab5e08badc..0a7d130ef112 100644
--- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml
@@ -201,7 +201,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  items:
+                    enum: [pcie_clk, pcie_wake, pcie_pereset]
+                  maxItems: 3
           - if:
               properties:
                 function:
@@ -209,7 +211,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [pwm0, pwm1_0, pwm1_1]
+                  items:
+                    enum: [pwm0, pwm1_0, pwm1_1]
+                  maxItems: 2
           - if:
               properties:
                 function:
@@ -217,7 +221,9 @@ patternProperties:
             then:
               properties:
                 groups:
-                  enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  items:
+                    enum: [spi0, spi0_wp_hold, spi1_0, spi1_1, spi1_2, spi1_3]
+                  maxItems: 2
           - if:
               properties:
                 function:
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
  2022-10-24  7:43 ` Frank Wunderlich
  (?)
@ 2022-10-25 14:56   ` Krzysztof Kozlowski
  -1 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-25 14:56 UTC (permalink / raw)
  To: Frank Wunderlich, linux-mediatek
  Cc: Frank Wunderlich, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

On 24/10/2022 03:43, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
> 
> Allow multiple items for pcie, pwm and spi function.
> 
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>


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

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-10-25 14:56   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-25 14:56 UTC (permalink / raw)
  To: Frank Wunderlich, linux-mediatek
  Cc: devicetree, Linus Walleij, Sean Wang, linux-kernel, linux-gpio,
	Rob Herring, Krzysztof Kozlowski, Matthias Brugger,
	linux-arm-kernel

On 24/10/2022 03:43, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
> 
> Allow multiple items for pcie, pwm and spi function.
> 
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>


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

Best regards,
Krzysztof



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

* Re: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-10-25 14:56   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 8+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-25 14:56 UTC (permalink / raw)
  To: Frank Wunderlich, linux-mediatek
  Cc: Frank Wunderlich, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

On 24/10/2022 03:43, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
> 
> Allow multiple items for pcie, pwm and spi function.
> 
> Signed-off-by: Frank Wunderlich <frank-w@public-files.de>


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

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Aw: Re: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
  2022-10-25 14:56   ` Krzysztof Kozlowski
@ 2022-11-06  8:08     ` Frank Wunderlich
  -1 siblings, 0 replies; 8+ messages in thread
From: Frank Wunderlich @ 2022-11-06  8:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Frank Wunderlich, linux-mediatek, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

included this Patch into the pinctl series to have binding checks clean

https://patchwork.kernel.org/project/linux-mediatek/list/?series=692462

regards Frank

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

* Aw: Re: [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC
@ 2022-11-06  8:08     ` Frank Wunderlich
  0 siblings, 0 replies; 8+ messages in thread
From: Frank Wunderlich @ 2022-11-06  8:08 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Frank Wunderlich, linux-mediatek, Linus Walleij, Rob Herring,
	Krzysztof Kozlowski, Matthias Brugger, Sean Wang, linux-gpio,
	devicetree, linux-arm-kernel, linux-kernel

included this Patch into the pinctl series to have binding checks clean

https://patchwork.kernel.org/project/linux-mediatek/list/?series=692462

regards Frank

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-11-06  8:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-24  7:43 [PATCH] dt-bindings: pinctrl: update pcie/pwm/spi bindings for MT7986 SoC Frank Wunderlich
2022-10-24  7:43 ` Frank Wunderlich
2022-10-24  7:43 ` Frank Wunderlich
2022-10-25 14:56 ` Krzysztof Kozlowski
2022-10-25 14:56   ` Krzysztof Kozlowski
2022-10-25 14:56   ` Krzysztof Kozlowski
2022-11-06  8:08   ` Aw: " Frank Wunderlich
2022-11-06  8:08     ` Frank Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.