sa8775p-ride: Describe ethernet phy IRQs
cover sa8775p-ride: Describe ethernet phy IRQs
Now that the hardware can detect the IRQs, let's describe them instead of polling the phys
Andrew Halaney (2):
arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq
arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy1 irq
arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.41.0
PATCH 1/2 arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq
There's an irq hooked up, so let's describe it.
Prior to commit 9757300d2750
("pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.
Now that the IRQ is properly routed we can describe it.
--- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sa8775p-ride.dts +1 -0
@@ -285,6 +285,7 @@ sgmii_phy0: phy@8 { compatible = "ethernet-phy-id0141.0dd4"; reg = <0x8>; device_type = "ethernet-phy"; + interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; reset-assert-us = <11000>; reset-deassert-us = <70000>;
Signature · 1 line
2.41.0
Re: [PATCH 1/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq
Quoted 8 lines · Andrew Halaney
There's an irq hooked up, so let's describe it.
Prior to commit
9757300d2750
("pinctrl: qcom: Addintr_target_widthfield to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.
Quoted 4 lines
Now that the IRQ is properly routed we can describe it.
Signed-off-by Andrew Halaney <[email protected]>---
Konrad
Re: [PATCH 1/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq
In reply to Andrew HalaneyQuoted 29 lines · Andrew Halaney
There's an irq hooked up, so let's describe it.
Prior to commit
9757300d2750
("pinctrl: qcom: Addintr_target_widthfield to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.Now that the IRQ is properly routed we can describe it.
Signed-off-by Andrew Halaney <[email protected]>--- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/qcom/sa8775p-ride.dts +1
-1@@ -285,6 +285,7 @@ sgmii_phy0: phy@8 { compatible = "ethernet-phy-id0141.0dd4"; reg = <0x8>; device_type = "ethernet-phy"; + interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; reset-assert-us = <11000>; reset-deassert-us = <70000>; --
Quoted 2 lines
2.41.0
Nice!
PATCH 2/2 arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy1 irq
In reply to Andrew HalaneyThere's an irq hooked up, so let's describe it.
Prior to commit 9757300d2750
("pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.
Now that the IRQ is properly routed we can describe it.
--- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sa8775p-ride.dts +1 -0
@@ -295,6 +295,7 @@ sgmii_phy1: phy@a { compatible = "ethernet-phy-id0141.0dd4"; reg = <0xa>; device_type = "ethernet-phy"; + interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>; reset-assert-us = <11000>; reset-deassert-us = <70000>;
Signature · 1 line
2.41.0
Re: [PATCH 2/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy1 irq
Quoted 8 lines · Andrew Halaney
There's an irq hooked up, so let's describe it.
Prior to commit
9757300d2750
("pinctrl: qcom: Addintr_target_widthfield to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.
Quoted 4 lines
Now that the IRQ is properly routed we can describe it.
Signed-off-by Andrew Halaney <[email protected]>---
Konrad
Re: [PATCH 2/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy1 irq
In reply to Andrew HalaneyQuoted 29 lines · Andrew Halaney
There's an irq hooked up, so let's describe it.
Prior to commit
9757300d2750
("pinctrl: qcom: Addintr_target_widthfield to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging
showing that the GPIO was in fact asserted, resulting in the interface
staying down.Now that the IRQ is properly routed we can describe it.
Signed-off-by Andrew Halaney <[email protected]>--- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/qcom/sa8775p-ride.dts +1
-1@@ -295,6 +295,7 @@ sgmii_phy1: phy@a { compatible = "ethernet-phy-id0141.0dd4"; reg = <0xa>; device_type = "ethernet-phy"; + interrupts-extended = <&tlmm 26 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&pmm8654au_2_gpios 9 GPIO_ACTIVE_LOW>; reset-assert-us = <11000>; reset-deassert-us = <70000>; --
Quoted 2 lines
2.41.0
Quoted 8 lines · Andrew Halaney
Now that the hardware can detect the IRQs, let's describe them instead of polling the phys
Andrew Halaney (2):
arm64: dts: qcom: sa8775p-ride: Describesgmii_phy0irq
arm64: dts: qcom: sa8775p-ride: Describesgmii_phy1irq[...]
Applied, thanks!
[1/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq
commit: 1ff6569b0ffe7a2e311104cb3cd841983e484ac9
[2/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy1 irq
commit: 454557d0032d088b4f467f0c541f98edb01fe431Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>