linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default
@ 2022-03-30 11:33 Michael Walle
  2022-03-31 15:37 ` Vladimir Oltean
  2022-04-11  0:51 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Walle @ 2022-03-30 11:33 UTC (permalink / raw)
  To: Shawn Guo, Li Yang, Rob Herring, Krzysztof Kozlowski
  Cc: Vladimir Oltean, linux-arm-kernel, devicetree, linux-kernel,
	Michael Walle

Enable the ocelot-8021q tagger by default which supports ethernet flow
control.

The new default is set in the common board dtsi. The actual switch
node is enabled on a per board variant basis. Because of this we
set the new tagger default for both internal ports and a particular
variant is free to choose among the two port.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
index 7ef47b80e343..68d11a9c67f3 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
@@ -328,6 +328,14 @@ &lpuart1 {
 	status = "okay";
 };
 
+&mscc_felix_port4 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
+&mscc_felix_port5 {
+	dsa-tag-protocol = "ocelot-8021q";
+};
+
 &usb0 {
 	status = "okay";
 };
-- 
2.30.2


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

* Re: [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default
  2022-03-30 11:33 [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default Michael Walle
@ 2022-03-31 15:37 ` Vladimir Oltean
  2022-04-11  0:51 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Oltean @ 2022-03-31 15:37 UTC (permalink / raw)
  To: Michael Walle
  Cc: Shawn Guo, Leo Li, Rob Herring, Krzysztof Kozlowski,
	linux-arm-kernel, devicetree, linux-kernel, netdev

On Wed, Mar 30, 2022 at 01:33:29PM +0200, Michael Walle wrote:
> Enable the ocelot-8021q tagger by default which supports ethernet flow
> control.
> 
> The new default is set in the common board dtsi. The actual switch
> node is enabled on a per board variant basis. Because of this we
> set the new tagger default for both internal ports and a particular
> variant is free to choose among the two port.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>

>  .../arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
> index 7ef47b80e343..68d11a9c67f3 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
> @@ -328,6 +328,14 @@ &lpuart1 {
>  	status = "okay";
>  };
>  
> +&mscc_felix_port4 {
> +	dsa-tag-protocol = "ocelot-8021q";
> +};
> +
> +&mscc_felix_port5 {
> +	dsa-tag-protocol = "ocelot-8021q";
> +};
> +
>  &usb0 {
>  	status = "okay";
>  };
> -- 
> 2.30.2
>

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

* Re: [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default
  2022-03-30 11:33 [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default Michael Walle
  2022-03-31 15:37 ` Vladimir Oltean
@ 2022-04-11  0:51 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2022-04-11  0:51 UTC (permalink / raw)
  To: Michael Walle
  Cc: Li Yang, Rob Herring, Krzysztof Kozlowski, Vladimir Oltean,
	linux-arm-kernel, devicetree, linux-kernel

On Wed, Mar 30, 2022 at 01:33:29PM +0200, Michael Walle wrote:
> Enable the ocelot-8021q tagger by default which supports ethernet flow
> control.
> 
> The new default is set in the common board dtsi. The actual switch
> node is enabled on a per board variant basis. Because of this we
> set the new tagger default for both internal ports and a particular
> variant is free to choose among the two port.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>

Applied, thanks!

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

end of thread, other threads:[~2022-04-11  0:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 11:33 [PATCH] arm64: dts: ls1028a: sl28: use ocelot-8021q tagging by default Michael Walle
2022-03-31 15:37 ` Vladimir Oltean
2022-04-11  0:51 ` Shawn Guo

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