All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Russell King <rmk+kernel@armlinux.org.uk>,
	Vladimir Vid <vladimir.vid@sartura.hr>
Cc: Mark Rutland <mark.rutland@arm.com>, Andrew Lunn <andrew@lunn.ch>,
	Jason Cooper <jason@lakedaemon.net>,
	devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: Re: [PATCH] arm64: dts: uDPU: SFP cages support 3W modules
Date: Mon, 09 Dec 2019 15:38:41 +0100	[thread overview]
Message-ID: <87immph8cu.fsf@FE-laptop> (raw)
In-Reply-To: <E1iXCMq-00040q-Bm@rmk-PC.armlinux.org.uk>

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: Russell King <rmk+kernel@armlinux.org.uk>,
	Vladimir Vid <vladimir.vid@sartura.hr>
Cc: Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: uDPU: SFP cages support 3W modules
Date: Mon, 09 Dec 2019 15:38:41 +0100	[thread overview]
Message-ID: <87immph8cu.fsf@FE-laptop> (raw)
In-Reply-To: <E1iXCMq-00040q-Bm@rmk-PC.armlinux.org.uk>

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

  reply	other threads:[~2019-12-09 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19 22:53 [PATCH] arm64: dts: uDPU: SFP cages support 3W modules Russell King
2019-11-19 22:53 ` Russell King
2019-12-09 14:38 ` Gregory CLEMENT [this message]
2019-12-09 14:38   ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87immph8cu.fsf@FE-laptop \
    --to=gregory.clement@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=devicetree@vger.kernel.org \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=robh+dt@kernel.org \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=vladimir.vid@sartura.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.