Message ID | 27f5b086099cd8b7573b3ea9aa77f95fb1b3398f.1558325301.git.baruch@tkos.co.il (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/2] arm64: dts: marvell: mcbin: set SFP power limit | expand |
Baruch Siach <baruch@tkos.co.il> writes: > The Clearfog GT-8K board is capable of supplying power up to 2W to SFP > modules. Make that explicit in the device-tree. Without this property > current kernel does not allow SFP modules that require more than 1W. > > Signed-off-by: Baruch Siach <baruch@tkos.co.il> Applied on mvebu/dt64 Thanks, Gregory > --- > v2: Fix power measure scale (RMK) > --- > arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > index 9143aa13ceb1..f275d9420d5b 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts > @@ -63,6 +63,7 @@ > tx-disable-gpio = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>; > pinctrl-names = "default"; > pinctrl-0 = <&cp0_sfp_present_pins &cp1_sfp_tx_disable_pins>; > + maximum-power-milliwatt = <2000>; > }; > > leds { > -- > 2.20.1 >
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts index 9143aa13ceb1..f275d9420d5b 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts @@ -63,6 +63,7 @@ tx-disable-gpio = <&cp1_gpio1 29 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&cp0_sfp_present_pins &cp1_sfp_tx_disable_pins>; + maximum-power-milliwatt = <2000>; }; leds {
The Clearfog GT-8K board is capable of supplying power up to 2W to SFP modules. Make that explicit in the device-tree. Without this property current kernel does not allow SFP modules that require more than 1W. Signed-off-by: Baruch Siach <baruch@tkos.co.il> --- v2: Fix power measure scale (RMK) --- arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 1 + 1 file changed, 1 insertion(+)