Skip to contentSkip to conversation

ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED

PATCH In review Eric Anholt 3 participants 4 messages Nov 11, 2016 – Nov 15, 2016

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

PATCH 1/1 ARM64: dts: bcm2837-rpi-3-b: remove incorrect pwr LED

From: Andrea Merello <[email protected]>

We are incorrectly defining the pwr LED, attaching it to a gpio line that is wired to the Wi-Fi SDIO module (which fails due to this).

The actual power LED is connected to the GPIO expander, which we don't expose currently.

Thanks-to: Eric Anholt <[email protected]> [for clarifying we can't control the LED]

---
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 7 -------
 1 file changed, 7 deletions(-)
arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts +0 -7
index 7625e57a64b5..c309633a1e87 100644
@@ -16,13 +16,6 @@
 		act {
 			gpios = <&gpio 47 0>;
 		};
-
-		pwr {
-			label = "PWR";
-			gpios = <&gpio 35 0>;
-			default-state = "keep";
-			linux,default-trigger = "default-on";
-		};
 	};
 };
 
Signature · 1 line
2.10.2
#1 lore raw

Hi Eric,

[add Gerd to CC]

Quoted 7 lines

Eric Anholt <[email protected]> hat am 11. November 2016 um 18:38 geschrieben:

From: Andrea Merello <[email protected]>

We are incorrectly defining the pwr LED, attaching it to a gpio line that is wired to the Wi-Fi SDIO module (which fails due to this).

i agree with the intention of this patch, but is the upstream kernel really affected? I can't see any compatible for the Wifi interface.

Quoted 8 lines

The actual power LED is connected to the GPIO expander, which we don't expose currently.

Thanks-to: Eric Anholt <[email protected]> [for clarifying we can't control the LED]

Fixes 9d56c22a7861 ("ARM: bcm2835: Add devicetree for the Raspberry Pi 3.")

Stefan

#2 lore raw
Quoted 7 lines · Stefan Wahren

Hi Eric,

[add Gerd to CC]

Quoted 3 lines

Eric Anholt <[email protected]> hat am 11. November 2016 um 18:38 geschrieben:

Quoted 7 lines
Quoted 4 lines

From: Andrea Merello <[email protected]>

We are incorrectly defining the pwr LED, attaching it to a gpio line that is wired to the Wi-Fi SDIO module (which fails due to this).

i agree with the intention of this patch, but is the upstream kernel really affected? I can't see any compatible for the Wifi interface.

The wifi isn't in the DT yet because the driver isn't merged. Some
progress was made on that a while ago, but people asked for more
cleanups so it's still living out of tree.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161114/aeaf51d8/attachment.sig>

#3 lore raw
Quoted 14 lines · Eric Anholt
Quoted 12 lines · Stefan Wahren

Hi Eric,

[add Gerd to CC]

Quoted 7 lines

Eric Anholt <[email protected]> hat am 11. November 2016 um 18:38 geschrieben:

From: Andrea Merello <[email protected]>

We are incorrectly defining the pwr LED, attaching it to a gpio line that is wired to the Wi-Fi SDIO module (which fails due to this).

Quoted 6 lines
Quoted 2 lines

i agree with the intention of this patch, but is the upstream kernel really affected? I can't see any compatible for the Wifi interface.

The wifi isn't in the DT yet because the driver isn't merged. Some progress was made on that a while ago, but people asked for more cleanups so it's still living out of tree.

some low-hanging fruits (codestyle mostly) are done, but more work is needed (fix messy timeout handling, make dma work). Didn't happed yet due to -ENOTIME. My current state is here:

https://www.kraxel.org/cgit/linux/log/?h=bcm2837-wifi

In case anyone wants pick it up feel free to do so (but please tell me so we avoid duplicating work).

cheers,
Gerd