devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller
@ 2025-03-07 17:08 Lorenzo Bianconi
  2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Lorenzo Bianconi @ 2025-03-07 17:08 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Lorenzo Bianconi

Introduce missing gpio-ranges property for Airoha EN7581 evaluation
board

---
Lorenzo Bianconi (2):
      dt-bindings: pinctrl: airoha: Add missing gpio-ranges property
      arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller

 Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml | 3 +++
 arch/arm64/boot/dts/airoha/en7581-evb.dts                            | 4 ++++
 2 files changed, 7 insertions(+)
---
base-commit: a8a297e8bb3dd304cac77f7c435a4983d885a657
change-id: 20250307-en7581-gpio-range-fceb30c7e2c9

Best regards,
-- 
Lorenzo Bianconi <lorenzo@kernel.org>


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

* [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property
  2025-03-07 17:08 [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller Lorenzo Bianconi
@ 2025-03-07 17:08 ` Lorenzo Bianconi
  2025-03-11 18:00   ` Rob Herring (Arm)
  2025-03-14 10:38   ` Linus Walleij
  2025-03-07 17:08 ` [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller Lorenzo Bianconi
  2025-03-11 20:07 ` [PATCH 0/2] Add gpio-ranges property for EN7581 " Lorenzo Bianconi
  2 siblings, 2 replies; 8+ messages in thread
From: Lorenzo Bianconi @ 2025-03-07 17:08 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Lorenzo Bianconi

Introduce leftover gpio-ranges property for Airoha EN7581 pinctrl binding

Fixes: d0c15cb96b74 ("dt-bindings: pinctrl: airoha: Add EN7581 pinctrl")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
index b2601d698dcd41c3ef32af547ea41be0d6904ae6..21fd4f1ba78b05e5347b4ffe578656c8a4dc5636 100644
--- a/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml
@@ -24,6 +24,9 @@ properties:
   '#gpio-cells':
     const: 2
 
+  gpio-ranges:
+    maxItems: 1
+
   interrupt-controller: true
 
   '#interrupt-cells':

-- 
2.48.1


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

* [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller
  2025-03-07 17:08 [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller Lorenzo Bianconi
  2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
@ 2025-03-07 17:08 ` Lorenzo Bianconi
  2025-04-22 15:48   ` Lorenzo Bianconi
  2025-03-11 20:07 ` [PATCH 0/2] Add gpio-ranges property for EN7581 " Lorenzo Bianconi
  2 siblings, 1 reply; 8+ messages in thread
From: Lorenzo Bianconi @ 2025-03-07 17:08 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-mediatek, linux-gpio, devicetree, linux-arm-kernel,
	Lorenzo Bianconi

Introduce missing gpio-ranges property for Airoha EN7581 gpio controller

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 arch/arm64/boot/dts/airoha/en7581-evb.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boot/dts/airoha/en7581-evb.dts
index d53b72d18242e3cee8b37c7b1b719d662fd6db8d..a8f8a9f0b807a2ee4fd11f8418b8e810a6945d73 100644
--- a/arch/arm64/boot/dts/airoha/en7581-evb.dts
+++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts
@@ -65,6 +65,10 @@ reserved_bmt@7e00000 {
 	};
 };
 
+&en7581_pinctrl {
+	gpio-ranges = <&en7581_pinctrl 0 13 47>;
+};
+
 &i2c0 {
 	status = "okay";
 };

-- 
2.48.1


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

* Re: [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property
  2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
@ 2025-03-11 18:00   ` Rob Herring (Arm)
  2025-03-14 10:38   ` Linus Walleij
  1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring (Arm) @ 2025-03-11 18:00 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: AngeloGioacchino Del Regno, devicetree, Linus Walleij,
	linux-arm-kernel, linux-gpio, Conor Dooley, linux-mediatek,
	Matthias Brugger, Krzysztof Kozlowski


On Fri, 07 Mar 2025 18:08:19 +0100, Lorenzo Bianconi wrote:
> Introduce leftover gpio-ranges property for Airoha EN7581 pinctrl binding
> 
> Fixes: d0c15cb96b74 ("dt-bindings: pinctrl: airoha: Add EN7581 pinctrl")
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller
  2025-03-07 17:08 [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller Lorenzo Bianconi
  2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
  2025-03-07 17:08 ` [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller Lorenzo Bianconi
@ 2025-03-11 20:07 ` Lorenzo Bianconi
  2025-03-14 10:40   ` Linus Walleij
  2 siblings, 1 reply; 8+ messages in thread
From: Lorenzo Bianconi @ 2025-03-11 20:07 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-mediatek, linux-gpio, devicetree, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 830 bytes --]

> Introduce missing gpio-ranges property for Airoha EN7581 evaluation
> board
> 

Hi Linus and Angelo,

is it fine if this series goes via linux-mediatek tree?
en7581_pinctrl node is only defined there for the moment.

Regards,
Lorenzo

> ---
> Lorenzo Bianconi (2):
>       dt-bindings: pinctrl: airoha: Add missing gpio-ranges property
>       arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller
> 
>  Documentation/devicetree/bindings/pinctrl/airoha,en7581-pinctrl.yaml | 3 +++
>  arch/arm64/boot/dts/airoha/en7581-evb.dts                            | 4 ++++
>  2 files changed, 7 insertions(+)
> ---
> base-commit: a8a297e8bb3dd304cac77f7c435a4983d885a657
> change-id: 20250307-en7581-gpio-range-fceb30c7e2c9
> 
> Best regards,
> -- 
> Lorenzo Bianconi <lorenzo@kernel.org>
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property
  2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
  2025-03-11 18:00   ` Rob Herring (Arm)
@ 2025-03-14 10:38   ` Linus Walleij
  1 sibling, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2025-03-14 10:38 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-gpio,
	devicetree, linux-arm-kernel

On Fri, Mar 7, 2025 at 6:08 PM Lorenzo Bianconi <lorenzo@kernel.org> wrote:

> Introduce leftover gpio-ranges property for Airoha EN7581 pinctrl binding
>
> Fixes: d0c15cb96b74 ("dt-bindings: pinctrl: airoha: Add EN7581 pinctrl")
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>

This patch 1/2 applied to the pinctrl tree.

Please funnel 2/2 through the SoC tree.

Yours,
Linus Walleij

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

* Re: [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller
  2025-03-11 20:07 ` [PATCH 0/2] Add gpio-ranges property for EN7581 " Lorenzo Bianconi
@ 2025-03-14 10:40   ` Linus Walleij
  0 siblings, 0 replies; 8+ messages in thread
From: Linus Walleij @ 2025-03-14 10:40 UTC (permalink / raw)
  To: Lorenzo Bianconi
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
	AngeloGioacchino Del Regno, linux-mediatek, linux-gpio,
	devicetree, linux-arm-kernel

On Tue, Mar 11, 2025 at 9:07 PM Lorenzo Bianconi <lorenzo@kernel.org> wrote:

> is it fine if this series goes via linux-mediatek tree?
> en7581_pinctrl node is only defined there for the moment.

I applied 1/2 to the pinctrl tree.

Take 2/2 through the mediatek tree.

It will all land nicely upstream and works in linux-next.

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller
  2025-03-07 17:08 ` [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller Lorenzo Bianconi
@ 2025-04-22 15:48   ` Lorenzo Bianconi
  0 siblings, 0 replies; 8+ messages in thread
From: Lorenzo Bianconi @ 2025-04-22 15:48 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger, AngeloGioacchino Del Regno
  Cc: linux-mediatek, linux-gpio, devicetree, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

On Mar 07, Lorenzo Bianconi wrote:
> Introduce missing gpio-ranges property for Airoha EN7581 gpio controller
> 
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> ---
>  arch/arm64/boot/dts/airoha/en7581-evb.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boot/dts/airoha/en7581-evb.dts
> index d53b72d18242e3cee8b37c7b1b719d662fd6db8d..a8f8a9f0b807a2ee4fd11f8418b8e810a6945d73 100644
> --- a/arch/arm64/boot/dts/airoha/en7581-evb.dts
> +++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts
> @@ -65,6 +65,10 @@ reserved_bmt@7e00000 {
>  	};
>  };
>  
> +&en7581_pinctrl {
> +	gpio-ranges = <&en7581_pinctrl 0 13 47>;
> +};
> +
>  &i2c0 {
>  	status = "okay";
>  };

Hi Angelo and Matthias,

Do you have any update about this patch? I have some queued patches dependent
on this one. Thanks in advance.

Regards,
Lorenzo

> 
> -- 
> 2.48.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2025-04-22 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07 17:08 [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller Lorenzo Bianconi
2025-03-07 17:08 ` [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property Lorenzo Bianconi
2025-03-11 18:00   ` Rob Herring (Arm)
2025-03-14 10:38   ` Linus Walleij
2025-03-07 17:08 ` [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller Lorenzo Bianconi
2025-04-22 15:48   ` Lorenzo Bianconi
2025-03-11 20:07 ` [PATCH 0/2] Add gpio-ranges property for EN7581 " Lorenzo Bianconi
2025-03-14 10:40   ` Linus Walleij

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).