linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements
@ 2019-05-20 13:43 Jose Abreu
  2019-05-20 13:43 ` [PATCH 1/2] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node Jose Abreu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jose Abreu @ 2019-05-20 13:43 UTC (permalink / raw)
  To: devicetree, linux-snps-arc, linux-kernel
  Cc: Jose Abreu, Joao Pinto, Rob Herring, Mark Rutland, Vineet Gupta,
	Eugeniy Paltsev, Alexey Brodkin

Add two missing bindings.

Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>

Jose Abreu (2):
  ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC
    node
  ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node

 arch/arc/boot/dts/hsdk.dts | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4


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

* [PATCH 1/2] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
  2019-05-20 13:43 [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Jose Abreu
@ 2019-05-20 13:43 ` Jose Abreu
  2019-05-20 13:43 ` [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in " Jose Abreu
  2019-05-21  7:52 ` [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Alexey Brodkin
  2 siblings, 0 replies; 5+ messages in thread
From: Jose Abreu @ 2019-05-20 13:43 UTC (permalink / raw)
  To: devicetree, linux-snps-arc, linux-kernel
  Cc: Jose Abreu, Joao Pinto, Rob Herring, Mark Rutland, Vineet Gupta,
	Eugeniy Paltsev, Alexey Brodkin

GMAC controller on HSDK boards supports 256 Hash Table size so we need to
add the multicast filter bins property. This allows for the Hash filter
to work properly using stmmac driver.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
---
 arch/arc/boot/dts/hsdk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index 69bc1c9e8e50..b0f059377ab0 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -187,6 +187,7 @@
 			interrupt-names = "macirq";
 			phy-mode = "rgmii";
 			snps,pbl = <32>;
+			snps,multicast-filter-bins = <256>;
 			clocks = <&gmacclk>;
 			clock-names = "stmmaceth";
 			phy-handle = <&phy0>;
-- 
2.7.4


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

* [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
  2019-05-20 13:43 [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Jose Abreu
  2019-05-20 13:43 ` [PATCH 1/2] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node Jose Abreu
@ 2019-05-20 13:43 ` Jose Abreu
  2019-05-20 17:43   ` Eugeniy Paltsev
  2019-05-21  7:52 ` [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Alexey Brodkin
  2 siblings, 1 reply; 5+ messages in thread
From: Jose Abreu @ 2019-05-20 13:43 UTC (permalink / raw)
  To: devicetree, linux-snps-arc, linux-kernel
  Cc: Jose Abreu, Joao Pinto, Rob Herring, Mark Rutland, Vineet Gupta,
	Eugeniy Paltsev, Alexey Brodkin

Add the binding for RX/TX fifo size of GMAC node.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
---
 arch/arc/boot/dts/hsdk.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
index b0f059377ab0..3bcd1edc4dcc 100644
--- a/arch/arc/boot/dts/hsdk.dts
+++ b/arch/arc/boot/dts/hsdk.dts
@@ -196,6 +196,9 @@
 			mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
 			dma-coherent;
 
+			tx-fifo-depth = <4096>;
+			rx-fifo-depth = <4096>;
+
 			mdio {
 				#address-cells = <1>;
 				#size-cells = <0>;
-- 
2.7.4


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

* Re: [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
  2019-05-20 13:43 ` [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in " Jose Abreu
@ 2019-05-20 17:43   ` Eugeniy Paltsev
  0 siblings, 0 replies; 5+ messages in thread
From: Eugeniy Paltsev @ 2019-05-20 17:43 UTC (permalink / raw)
  To: linux-snps-arc, linux-kernel, Jose Abreu, devicetree
  Cc: mark.rutland, Eugeniy.Paltsev, Joao Pinto, Vineet Gupta, robh+dt,
	Alexey Brodkin

Hi Jose,

Tested-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>


On Mon, 2019-05-20 at 15:43 +0200, Jose Abreu wrote:
> Add the binding for RX/TX fifo size of GMAC node.
> 
> Signed-off-by: Jose Abreu <joabreu@synopsys.com>
> Cc: Joao Pinto <jpinto@synopsys.com>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Vineet Gupta <vgupta@synopsys.com>
> Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
> Cc: Alexey Brodkin <abrodkin@synopsys.com>
> ---
>  arch/arc/boot/dts/hsdk.dts | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts
> index b0f059377ab0..3bcd1edc4dcc 100644
> --- a/arch/arc/boot/dts/hsdk.dts
> +++ b/arch/arc/boot/dts/hsdk.dts
> @@ -196,6 +196,9 @@
>  			mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
>  			dma-coherent;
>  
> +			tx-fifo-depth = <4096>;
> +			rx-fifo-depth = <4096>;
> +
>  			mdio {
>  				#address-cells = <1>;
>  				#size-cells = <0>;
-- 
 Eugeniy Paltsev

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

* RE: [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements
  2019-05-20 13:43 [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Jose Abreu
  2019-05-20 13:43 ` [PATCH 1/2] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node Jose Abreu
  2019-05-20 13:43 ` [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in " Jose Abreu
@ 2019-05-21  7:52 ` Alexey Brodkin
  2 siblings, 0 replies; 5+ messages in thread
From: Alexey Brodkin @ 2019-05-21  7:52 UTC (permalink / raw)
  To: Vineet Gupta, linux-snps-arc
  Cc: Jose Abreu, Joao Pinto, Rob Herring, Jose Abreu, Mark Rutland,
	devicetree, Eugeniy Paltsev, linux-kernel

Hi Jose, all,

> -----Original Message-----
> From: Jose Abreu <joabreu@synopsys.com>
> Sent: Monday, May 20, 2019 4:43 PM
> To: devicetree@vger.kernel.org; linux-snps-arc@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: Jose Abreu <joabreu@synopsys.com>; Joao Pinto <jpinto@synopsys.com>; Rob Herring
> <robh+dt@kernel.org>; Mark Rutland <mark.rutland@arm.com>; Vineet Gupta <vgupta@synopsys.com>; Eugeniy
> Paltsev <Eugeniy.Paltsev@synopsys.com>; Alexey Brodkin <abrodkin@synopsys.com>
> Subject: [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements
> 
> Add two missing bindings.
> 

For entire series:

Acked-by: Alexey Brodkin <abrodkin@synopsys.com>

@Vineet Gupta could you please pick this on up?

-Alexey

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

end of thread, other threads:[~2019-05-21  7:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20 13:43 [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Jose Abreu
2019-05-20 13:43 ` [PATCH 1/2] ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node Jose Abreu
2019-05-20 13:43 ` [PATCH 2/2] ARC: [plat-hsdk]: Add missing FIFO size entry in " Jose Abreu
2019-05-20 17:43   ` Eugeniy Paltsev
2019-05-21  7:52 ` [PATCH 0/2] ARC: [plat-hsdk]: GMAC DT Bindings Improvements Alexey Brodkin

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