diff mbox series

[mvebu-dt64] arm64: dts: armada-3720-turris-mox: add 3W power capability to SFP cage

Message ID 20201116123303.7234-1-kabel@kernel.org
State Accepted
Commit a2081c09d7410c3e55d902a09602b833dc96c58a
Headers show
Series [mvebu-dt64] arm64: dts: armada-3720-turris-mox: add 3W power capability to SFP cage | expand

Commit Message

Marek Behún Nov. 16, 2020, 12:33 p.m. UTC
Add maximum-power-milliwatt = 3000 to SFP node of Turris MOX.

Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
Cc: Gregory CLEMENT <gregory.clement@bootlin.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
---
 arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Gregory CLEMENT Nov. 30, 2020, 2:42 p.m. UTC | #1
Hi Marek,

> Add maximum-power-milliwatt = 3000 to SFP node of Turris MOX.

>

> Signed-off-by: Marek Behún <kabel@kernel.org>

> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")

> Cc: Gregory CLEMENT <gregory.clement@bootlin.com>

> Cc: Andrew Lunn <andrew@lunn.ch>

> Cc: Rob Herring <robh+dt@kernel.org>

> Cc: devicetree@vger.kernel.org

> Cc: linux-arm-kernel@lists.infradead.org


Applied on mvebu/dt64

Thanks,

Gregory

> ---

>  arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

> index f3a678e0fd99..d032e290675f 100644

> --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

> +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts

> @@ -102,6 +102,7 @@ sfp: sfp {

>  		mod-def0-gpio = <&moxtet_sfp 2 GPIO_ACTIVE_LOW>;

>  		tx-disable-gpio = <&moxtet_sfp 4 GPIO_ACTIVE_HIGH>;

>  		rate-select0-gpio = <&moxtet_sfp 5 GPIO_ACTIVE_HIGH>;

> +		maximum-power-milliwatt = <3000>;

>  

>  		/* enabled by U-Boot if SFP module is present */

>  		status = "disabled";

> -- 

> 2.26.2

>


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

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
index f3a678e0fd99..d032e290675f 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -102,6 +102,7 @@  sfp: sfp {
 		mod-def0-gpio = <&moxtet_sfp 2 GPIO_ACTIVE_LOW>;
 		tx-disable-gpio = <&moxtet_sfp 4 GPIO_ACTIVE_HIGH>;
 		rate-select0-gpio = <&moxtet_sfp 5 GPIO_ACTIVE_HIGH>;
+		maximum-power-milliwatt = <3000>;
 
 		/* enabled by U-Boot if SFP module is present */
 		status = "disabled";