devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: uDPU: SFP cages support 3W modules
@ 2019-11-19 22:53 Russell King
  2019-12-09 14:38 ` Gregory CLEMENT
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King @ 2019-11-19 22:53 UTC (permalink / raw)
  To: Gregory Clement, Vladimir Vid
  Cc: Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Rob Herring,
	Mark Rutland, linux-arm-kernel, devicetree

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(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: uDPU: SFP cages support 3W modules
  2019-11-19 22:53 [PATCH] arm64: dts: uDPU: SFP cages support 3W modules Russell King
@ 2019-12-09 14:38 ` Gregory CLEMENT
  0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2019-12-09 14:38 UTC (permalink / raw)
  To: Russell King, Vladimir Vid
  Cc: Jason Cooper, Andrew Lunn, Sebastian Hesselbarth, Rob Herring,
	Mark Rutland, linux-arm-kernel, devicetree

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
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-09 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-19 22:53 [PATCH] arm64: dts: uDPU: SFP cages support 3W modules Russell King
2019-12-09 14:38 ` Gregory CLEMENT

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).