Skip to contentSkip to conversation

arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3

PATCH In review Frank Wunderlich 4 participants 5 messages Feb 5, 2023 – May 29, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mt7986: set Wifi Leds low-active for BPI-R3

From: Frank Wunderlich <[email protected]>

Leds for Wifi are low-active, so add property to devicetree.

---
 arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +4 -0
index 33bd6febc160..2b028141f1f7 100644
@@ -446,5 +446,9 @@ &wifi {
 	pinctrl-names = "default", "dbdc";
 	pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
 	pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
+
+	led {
+		led-active-low;
+	};
 };
 
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 14 lines · Frank Wunderlich

From: Frank Wunderlich <[email protected]>

Leds for Wifi are low-active, so add property to devicetree.

---
  arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++
  1 file changed, 4 insertions(+)
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +0 -0
index 33bd6febc160..2b028141f1f7 100644

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts &wifi { · line 452

Quoted 7 lines
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +4 -0
@@ -446,5 +446,9 @@ &wifi {
  	pinctrl-names = "default", "dbdc";
  	pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
  	pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
+
+	led {
+		led-active-low;
+	};

The binding is missing this property also the driver implements it. Could you please update the bindind description properly? Thanks
Matthias

maintainer Reviewed-by
#2 lore raw

Il 06/02/23 21:20, Matthias Brugger ha scritto:

Quoted 12 lines · Frank Wunderlich
Quoted 9 lines

From: Frank Wunderlich <[email protected]>

Leds for Wifi are low-active, so add property to devicetree.

---
  arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++

  1 file changed, 4 insertions(+)
Quoted 16 lines

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts &wifi { · line 452

Quoted 12 lines
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +4 -0
index 33bd6febc160..2b028141f1f7 100644
@@ -446,5 +446,9 @@ &wifi {
       pinctrl-names = "default", "dbdc";
       pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
       pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
+
+    led {
+        led-active-low;
+    };

The binding is missing this property also the driver implements it. Could you please update the bindind description properly? Thanks
Matthias

After and only after [1] is picked,

[1]: https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

#3 lore raw
Quoted 35 lines

Gesendet: Dienstag, 07. Februar 2023 um 17:17 Uhr
Von: "AngeloGioacchino Del Regno" <[email protected]> Il 06/02/23 21:20, Matthias Brugger ha scritto:

Quoted 22 lines · Frank Wunderlich
Quoted 19 lines

From: Frank Wunderlich <[email protected]>

Leds for Wifi are low-active, so add property to devicetree.

---
  arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++

  1 file changed, 4 insertions(+)
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +1 -0
index 33bd6febc160..2b028141f1f7 100644
@@ -446,5 +446,9 @@ &wifi {
       pinctrl-names = "default", "dbdc";
       pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
       pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
+
Quoted 8 lines

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts &wifi { · line 452

Quoted 3 lines
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +3 -0
+    led {
+        led-active-low;
+    };

The binding is missing this property also the driver implements it. Could you please update the bindind description properly?
Thanks
Matthias

Quoted 6 lines

After and only after [1] is picked,

[1]:
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Hi Matthias,

Can you take this patch into your tree? binding is already merged

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml#n114

regards Frank

maintainer
#4 lore raw
Quoted 39 lines · Frank Wunderlich
Quoted 39 lines

Gesendet: Dienstag, 07. Februar 2023 um 17:17 Uhr
Von: "AngeloGioacchino Del Regno" <[email protected]> Il 06/02/23 21:20, Matthias Brugger ha scritto:

Quoted 22 lines · Frank Wunderlich
Quoted 19 lines

From: Frank Wunderlich <[email protected]>

Leds for Wifi are low-active, so add property to devicetree.

---
   arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts | 4 ++++
   1 file changed, 4 insertions(+)
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +1 -0
index 33bd6febc160..2b028141f1f7 100644
@@ -446,5 +446,9 @@ &wifi {
       pinctrl-names = "default", "dbdc";
       pinctrl-0 = <&wf_2g_5g_pins>, <&wf_led_pins>;
       pinctrl-1 = <&wf_dbdc_pins>, <&wf_led_pins>;
+
Quoted 8 lines

arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts &wifi { · line 452

Quoted 3 lines
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts +3 -0
+    led {
+        led-active-low;
+    };

The binding is missing this property also the driver implements it. Could you please update the bindind description properly?
Thanks
Matthias

After and only after [1] is picked,

Quoted 9 lines
Quoted 2 lines

[1]:
https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/

Hi Matthias,

Can you take this patch into your tree? binding is already merged

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml#n114

Applied now :)

Regards,
Matthias