diff mbox series

arm64: dts: uDPU: SFP cages support 3W modules

Message ID E1iXCMq-00040q-Bm@rmk-PC.armlinux.org.uk (mailing list archive)
State Mainlined
Commit cd592187f9de3c6305d6c1c66f7fac084cb5b846
Headers show
Series arm64: dts: uDPU: SFP cages support 3W modules | expand

Commit Message

Russell King (Oracle) Nov. 19, 2019, 10:53 p.m. UTC
The SFP cages are designed to support up to 3W modules, such as G.hn,
G.fast and MoCA modules. Although there is no way for such modules to
declare to software that they consume 3W, we document in DT that this
is the designed power level for these cages.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
---
 arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Gregory CLEMENT Dec. 9, 2019, 2:38 p.m. UTC | #1
Russell King <rmk+kernel@armlinux.org.uk> writes:

> The SFP cages are designed to support up to 3W modules, such as G.hn,
> G.fast and MoCA modules. Although there is no way for such modules to
> declare to software that they consume 3W, we document in DT that this
> is the designed power level for these cages.
>
> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> index 2ac1d9ae1e25..7eb6c1796cef 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
> @@ -69,6 +69,7 @@
>  		mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
>  		tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
>  		tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
> +		maximum-power-milliwatt = <3000>;
>  	};
>  
>  	sfp_eth1: sfp-eth1 {
> @@ -78,6 +79,7 @@
>  		mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>;
>  		tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>;
>  		tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>;
> +		maximum-power-milliwatt = <3000>;
>  	};
>  };
>  
> -- 
> 2.20.1
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
index 2ac1d9ae1e25..7eb6c1796cef 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
@@ -69,6 +69,7 @@ 
 		mod-def0-gpio = <&gpiosb 3 GPIO_ACTIVE_LOW>;
 		tx-disable-gpio = <&gpiosb 4 GPIO_ACTIVE_HIGH>;
 		tx-fault-gpio = <&gpiosb 5 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <3000>;
 	};
 
 	sfp_eth1: sfp-eth1 {
@@ -78,6 +79,7 @@ 
 		mod-def0-gpio = <&gpiosb 8 GPIO_ACTIVE_LOW>;
 		tx-disable-gpio = <&gpiosb 9 GPIO_ACTIVE_HIGH>;
 		tx-fault-gpio = <&gpiosb 10 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <3000>;
 	};
 };