Skip to contentSkip to conversation

ARM: shmobile: marzen-reference: use irqpin for lan

PATCH New Simon Horman 2 participants 3 messages Apr 10, 2013

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

PATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan

This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.

Previously the lan controller did not work. Now it does.

Cc Guennadi Liakhovetski <[email protected]>

---

This depends on "[PATCH/RFC 0/2] ARM: shmobile: DT irqpin for r8a7779 and marzen-reference".

v2
* Use interrupt 2 instead of 1.
Apparently we should start counting from 1 rather than 0.

---
 arch/arm/boot/dts/r8a7779-marzen-reference.dts |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/r8a7779-marzen-reference.dts +2 -2
index 72be4c8..b37c24f 100644
@@ -38,8 +38,8 @@
 		compatible = "smsc,lan9220", "smsc,lan9115";
 		reg = <0x18000000 0x100>;
 		phy-mode = "mii";
-		interrupt-parent = <&gic>;
-		interrupts = <0 28 0x4>;
+		interrupt-parent = <&irqpin0>;
+		interrupts = <2 0>;
 		reg-io-width = <4>;
 		vddvario-supply = <&fixedregulator3v3>;
 		vdd33a-supply = <&fixedregulator3v3>;
Signature · 1 line
1.7.10.4
Applied
#1 lore raw

PATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan

Quoted 7 lines · Simon Horman

This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.

Previously the lan controller did not work. Now it does.

Cc Guennadi Liakhovetski <[email protected]>

Queued up in the marzen-boards branch.

#2 lore raw

PATCH v2 1/1 ARM: shmobile: marzen-reference: use irqpin for lan

Quoted 10 lines · Simon Horman
Quoted 7 lines · Simon Horman

This corrects the configuration of the SMSC lan controller to use the newly added irqpin as its IRQ source.

Previously the lan controller did not work. Now it does.

Cc Guennadi Liakhovetski <[email protected]>

Queued up in the marzen-boards branch.

Scratch that, I miss-tested things (again!) and this does not appear to work.