* [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290
@ 2022-09-15 6:41 Horatiu Vultur
2022-09-30 11:33 ` Nicolas Ferre
2022-10-26 7:39 ` Claudiu.Beznea
0 siblings, 2 replies; 3+ messages in thread
From: Horatiu Vultur @ 2022-09-15 6:41 UTC (permalink / raw)
To: devicetree, linux-kernel
Cc: robh+dt, krzysztof.kozlowski+dt, claudiu.beznea, nicolas.ferre,
UNGLinuxDriver, Horatiu Vultur
Add interrupt support for the PHYs found on pcb8290. They are all
sharing the same interrupt line towards lan966x.
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
---
arch/arm/boot/dts/lan966x-pcb8290.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/lan966x-pcb8290.dts b/arch/arm/boot/dts/lan966x-pcb8290.dts
index af92bb12bc6cd..2ed53da914acb 100644
--- a/arch/arm/boot/dts/lan966x-pcb8290.dts
+++ b/arch/arm/boot/dts/lan966x-pcb8290.dts
@@ -68,41 +68,57 @@ &mdio0 {
ext_phy0: ethernet-phy@7 {
reg = <7>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy1: ethernet-phy@8 {
reg = <8>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy2: ethernet-phy@9 {
reg = <9>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy3: ethernet-phy@10 {
reg = <10>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy4: ethernet-phy@15 {
reg = <15>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy5: ethernet-phy@16 {
reg = <16>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy6: ethernet-phy@17 {
reg = <17>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
ext_phy7: ethernet-phy@18 {
reg = <18>;
+ interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
+ interrupt-parent = <&gpio>;
coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
};
};
--
2.33.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290
2022-09-15 6:41 [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290 Horatiu Vultur
@ 2022-09-30 11:33 ` Nicolas Ferre
2022-10-26 7:39 ` Claudiu.Beznea
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Ferre @ 2022-09-30 11:33 UTC (permalink / raw)
To: Horatiu Vultur, devicetree, claudiu.beznea, linux-kernel
Cc: robh+dt, krzysztof.kozlowski+dt, UNGLinuxDriver
On 15/09/2022 at 08:41, Horatiu Vultur wrote:
> Add interrupt support for the PHYs found on pcb8290. They are all
> sharing the same interrupt line towards lan966x.
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Looks good to me:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> ---
> arch/arm/boot/dts/lan966x-pcb8290.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/lan966x-pcb8290.dts b/arch/arm/boot/dts/lan966x-pcb8290.dts
> index af92bb12bc6cd..2ed53da914acb 100644
> --- a/arch/arm/boot/dts/lan966x-pcb8290.dts
> +++ b/arch/arm/boot/dts/lan966x-pcb8290.dts
> @@ -68,41 +68,57 @@ &mdio0 {
>
> ext_phy0: ethernet-phy@7 {
> reg = <7>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy1: ethernet-phy@8 {
> reg = <8>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy2: ethernet-phy@9 {
> reg = <9>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy3: ethernet-phy@10 {
> reg = <10>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy4: ethernet-phy@15 {
> reg = <15>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy5: ethernet-phy@16 {
> reg = <16>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy6: ethernet-phy@17 {
> reg = <17>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
>
> ext_phy7: ethernet-phy@18 {
> reg = <18>;
> + interrupts = <24 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-parent = <&gpio>;
> coma-mode-gpios = <&gpio 60 GPIO_OPEN_DRAIN>;
> };
> };
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290
2022-09-15 6:41 [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290 Horatiu Vultur
2022-09-30 11:33 ` Nicolas Ferre
@ 2022-10-26 7:39 ` Claudiu.Beznea
1 sibling, 0 replies; 3+ messages in thread
From: Claudiu.Beznea @ 2022-10-26 7:39 UTC (permalink / raw)
To: Horatiu.Vultur, devicetree, linux-kernel
Cc: robh+dt, krzysztof.kozlowski+dt, Nicolas.Ferre, UNGLinuxDriver
On 15.09.2022 09:41, Horatiu Vultur wrote:
> Add interrupt support for the PHYs found on pcb8290. They are all
> sharing the same interrupt line towards lan966x.
>
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Applied to at91-dt, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-26 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 6:41 [PATCH] ARM: dts: lan966x: Add interrupt support for PHYs on pcb8290 Horatiu Vultur
2022-09-30 11:33 ` Nicolas Ferre
2022-10-26 7:39 ` Claudiu.Beznea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).