[PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller

STALE536d

8 messages, 3 authors, 2025-04-22 · open the first message on its own page

[PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-03-07 17:08:32

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 [off-list ref]

[PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-03-07 17:08:35

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

[PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-03-07 17:08:38

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

Re: [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property

From: "Rob Herring (Arm)" <robh@kernel.org>
Date: 2025-03-11 18:00:27

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>

Re: [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-03-11 20:07:48

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 [off-list ref]

Re: [PATCH 1/2] dt-bindings: pinctrl: airoha: Add missing gpio-ranges property

From: Linus Walleij <hidden>
Date: 2025-03-14 10:38:59

On Fri, Mar 7, 2025 at 6:08 PM Lorenzo Bianconi [off-list ref] 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

Re: [PATCH 0/2] Add gpio-ranges property for EN7581 gpio controller

From: Linus Walleij <hidden>
Date: 2025-03-14 10:40:57

On Tue, Mar 11, 2025 at 9:07 PM Lorenzo Bianconi [off-list ref] 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

Re: [PATCH 2/2] arm64: dts: airoha: en7581: Add gpio-ranges property for gpio controller

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2025-04-22 15:48:14

On Mar 07, Lorenzo Bianconi wrote:
quoted hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help