linux-snps-arc.lists.infradead.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: linux-snps-arc

Add two missing bindings.

Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Vineet Gupta <vgupta at synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
Cc: Alexey Brodkin <abrodkin at 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: linux-snps-arc

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 at synopsys.com>
Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Vineet Gupta <vgupta at synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
Cc: Alexey Brodkin <abrodkin at 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: linux-snps-arc

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

Signed-off-by: Jose Abreu <joabreu at synopsys.com>
Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Rob Herring <robh+dt at kernel.org>
Cc: Mark Rutland <mark.rutland at arm.com>
Cc: Vineet Gupta <vgupta at synopsys.com>
Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
Cc: Alexey Brodkin <abrodkin at 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

* [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

Hi Jose,

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


On Mon, 2019-05-20@15:43 +0200, Jose Abreu wrote:
> Add the binding for RX/TX fifo size of GMAC node.
> 
> Signed-off-by: Jose Abreu <joabreu at synopsys.com>
> Cc: Joao Pinto <jpinto at synopsys.com>
> Cc: Rob Herring <robh+dt at kernel.org>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Vineet Gupta <vgupta at synopsys.com>
> Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> Cc: Alexey Brodkin <abrodkin at 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

* [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: linux-snps-arc

Hi Jose, all,

> -----Original Message-----
> From: Jose Abreu <joabreu at synopsys.com>
> Sent: Monday, May 20, 2019 4:43 PM
> To: devicetree at vger.kernel.org; linux-snps-arc at lists.infradead.org; linux-kernel at vger.kernel.org
> Cc: Jose Abreu <joabreu at synopsys.com>; Joao Pinto <jpinto at synopsys.com>; Rob Herring
> <robh+dt at kernel.org>; Mark Rutland <mark.rutland at arm.com>; Vineet Gupta <vgupta at synopsys.com>; Eugeniy
> Paltsev <Eugeniy.Paltsev at synopsys.com>; Alexey Brodkin <abrodkin at 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 at 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).