p_rate = clk_get_rate(plat->clk_ptp_ref);
> - dev_info(>dev, "No reset control found\n");
> + dev_dbg(>dev, "PTP rate %d\n", plat->clk_ptp_rate);
> }
>
> plat->stmmac_rst = devm_reset_control_get(>dev,
>
Acked-By: Joao Pinto <jpi...@synopsys.com>
Às 10:33 AM de 1/31/2017, Giuseppe CAVALLARO escreveu:
> On 1/31/2017 11:23 AM, Joao Pinto wrote:
>>
>> Hi Peppe,
>>
>> Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu:
>>> Hello Corentin
>>>
>>> On 1/31/2017 10:11 AM, Corentin La
Hi Peppe,
Às 10:00 AM de 1/31/2017, Giuseppe CAVALLARO escreveu:
> Hello Corentin
>
> On 1/31/2017 10:11 AM, Corentin Labbe wrote:
>> Hello
>>
>> I am currently working on dwmac-sun8i glue driver for Allwinner H3/A83T/A64.
>> This serie is the result of all minor problem found in the stmmac
Hi to all,
I finished implementing the multi-queue / multi-channel in stmmac and I am now
making some tests.
The mechanism is working properly, but the performance could be better
(~440Mb/s) :). For measuring I am using iperf:
synopsys@pt02ipk1:~$ iperf -c 192.168.0.3 --port 5001 -t 20 -i 5
Hi David,
Às 9:49 PM de 1/22/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Fri, 20 Jan 2017 16:00:26 +
>
>> This patch fixes the LS mask when setting EEE timer.
>> LS field is 10 bits long and not 11 as currently.
>>
This patch adds clarification about the HW Controller that the dwmac4 driver
package is targeting.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 4 ++--
drivers/net/ethernet/stmicro/stmmac/dwmac4_descs.c | 4 ++--
drivers/net/et
Hi David,
Às 6:02 PM de 2/17/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Thu, 16 Feb 2017 11:19:39 +
>
>> This patch adds the following features:
>>
>> a) RX and TX scheduling algorithm configuration (can be configure
in the controller
c) Since the number of RX queues and TX queues can be different, functions
were broken into RX and TX related to enable separated treatment when
possible
d) stmmac_main had to be adapted to enable the multiple buffering mechanism
Signed-off-by: Joao Pinto <jpi...@synopsys.
we get the core related operations ready for multiple
queue/channel.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
Documentation/devicetree/bindings/net/stmmac.txt | 11 ++
drivers/net/ethernet/stmicro/stmmac/common.h | 29 ++-
.../net/ethernet/stmicro/stmmac/dwmac1000_
buffers.
Some of the functions had to be broken in RX and TX related, in order to
enable separated treatment, since the number of RX queues can be different
from the number of TX queues for example.
Each patch and the final patch-set were tested using a 4.21 EQOS IP Core.
Joao Pinto (3):
net
related operations ready for multiple
queue/channel.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/stmicro/stmmac/common.h | 60 ++-
.../net/ethernet/stmicro/stmmac/dwmac1000_dma.c| 16 +-
drivers/net/ethernet/stmicro/stmmac/dwmac100_dma.c | 19 +-
d
buffers.
Some of the functions had to be broken in RX and TX related, in order to
enable separated treatment, since the number of RX queues can be different
from the number of TX queues for example.
Each patch and the final patch-set were tested using a 4.21 EQOS IP Core.
Joao Pinto (3):
net
related operations ready for multiple
queue/channel.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1->v2:
- No changes, just keep up patch-set version.
drivers/net/ethernet/stmicro/stmmac/common.h | 60 ++-
.../net/ethernet/stmicro/stmmac/dwmac1000_dma.c
we get the core related operations ready for multiple
queue/channel.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1->v2:
- Kbuild test robot detected an unused variable (fixed)
Documentation/devicetree/bindings/net/stmmac.txt | 11 ++
drivers/net/ethernet/stmic
in the controller
c) Since the number of RX queues and TX queues can be different, functions
were broken into RX and TX related to enable separated treatment when
possible
d) stmmac_main had to be adapted to enable the multiple buffering mechanism
Signed-off-by: Joao Pinto <jpi...@synopsys.
and it becomes clear to the kernel user the purpose and scope of each driver.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/Kconfig | 2 +-
drivers/net/ethernet/Makefile| 2 +-
drivers/net/ethernet/{s
Hello,
Às 6:58 PM de 1/16/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Mon, 16 Jan 2017 13:26:31 +
>
>> The goal of this patch is to create an oficial Designware Ethernet place
>> to deploy new drivers based on this fam
://www.synopsys.com/dw/ipdir.php?ds=dwc_ether_qos
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/stmicro/Kconfig| 3 ++-
drivers/net/ethernet/stmicro/stmmac/Kconfig | 15 +++
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/net/et
Hi Rayagond,
Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu:
> On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto <joao.pi...@synopsys.com> wrote:
>> This patch adds Energy Efficiency Ethernet to GMAC4.
>>
>> Signed-off-by: Joao Pinto <jpi...@synopsys.com>
>&g
Sorry, please ignore, wrong patch file.
Joao Pinto
Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu:
> On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto <joao.pi...@synopsys.com> wrote:
>> This patch adds Energy Efficiency Ethernet to GMAC4.
>>
>> Signed-off-by: Joao
/ipdir.php?ds=dwc_ether_qos
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/stmicro/stmmac/Makefile | 4 +-
drivers/net/ethernet/stmicro/stmmac/common.h | 16 +--
.../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c| 4 +-
.../ethernet/stmicro/stmmac/{dw
This patch fixes the LS mask when setting EEE timer.
LS field is 10 bits long and not 11 as currently.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
Reported-By: Rayagond Kokatanur <rayag...@vayavyalabs.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 +-
1 fil
My e-mail client went bogus, please ignore 2 past e-mails.
Very sorry.
Best Regards,
Joao Pinto
Às 3:57 PM de 1/20/2017, Joao Pinto escreveu:
> This patch adds more info to stmicro' Kconfig files in order to be clearer
> that the driver can be used by ethernet cards based on 10/100/100
atform_device *pdev,
> const char **mac)
> plat->clk_ptp_ref = NULL;
> dev_warn(>dev, "PTP uses main clock\n");
> } else {
> - clk_prepare_enable(plat->clk_ptp_ref);
> plat->clk_ptp_rate = clk_get_rate(plat->clk_ptp_ref);
> dev_dbg(>dev, "PTP rate %d\n", plat->clk_ptp_rate);
> }
>
Reviewed-By: Joao Pinto <jpi...@synopsys.com>
Hi Peppe and Lars,
On 23-11-2016 10:59, Giuseppe CAVALLARO wrote:
> Hello Joao, Lars.
>
> On 11/22/2016 3:16 PM, Joao Pinto wrote:
>>> Ok, it makes sense.
>>> > Just for curiosity the target setup is the following:
>>> > https://www.youtube.com/watc
On 23-11-2016 11:41, Lars Persson wrote:
>
>> 23 nov. 2016 kl. 12:11 skrev Joao Pinto <joao.pi...@synopsys.com>:
>>
>> Hi Peppe and Lars,
>>
>>> On 23-11-2016 10:59, Giuseppe CAVALLARO wrote:
>>> Hello Joao, Lars.
>>>
>>>
Hi Lars and Peppe,
On 21-11-2016 16:11, Joao Pinto wrote:
> On 21-11-2016 15:43, Lars Persson wrote:
>>
>>
>>> 21 nov. 2016 kl. 16:06 skrev Joao Pinto <joao.pi...@synopsys.com>:
>>>
>>>> On 21-11-2016 14:25, Giuseppe CAVALLARO wro
that we have available internally
Thanks,
Joao
>
> Regards,
>
> Ozgur Karatas
>
> 2016-11-18 15:28 GMT+03:00 Joao Pinto <joao.pi...@synopsys.com>:
>
>>
>> Dear all,
>>
>> My name is Joao Pinto and I work at Synopsys.
>> I am a kernel develop
Hi Florian,
On 18-11-2016 14:53, Florian Fainelli wrote:
> On November 18, 2016 4:28:30 AM PST, Joao Pinto <joao.pi...@synopsys.com>
> wrote:
>>
>> Dear all,
>>
>> My name is Joao Pinto and I work at Synopsys.
>> I am a kernel developer with specia
On 18-11-2016 16:35, Florian Fainelli wrote:
>
>
> On 11/18/2016 08:31 AM, Joao Pinto wrote:
>> Hi Florian,
>>
>> On 18-11-2016 14:53, Florian Fainelli wrote:
>>> On November 18, 2016 4:28:30 AM PST, Joao Pinto <joao.pi...@synopsys.com>
>>>
Dear all,
My name is Joao Pinto and I work at Synopsys.
I am a kernel developer with special focus in mainline collaboration, both Linux
and Buildroot. I was recently named one of the maintainers of the PCIe
Designware core driver and I was the author of the Designware UFS driver stack.
I am
[The previous e-mail had an error, please consider this one. Thank you.]
Dear all,
My name is Joao Pinto and I work at Synopsys.
I am a kernel developer with special focus in mainline collaboration, both Linux
and Buildroot. I was recently named one of the maintainers of the PCIe
Designware core
Hello,
On 21-11-2016 05:29, Rayagond Kokatanur wrote:
> On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent <ra...@rab.in> wrote:
>> On Fri, Nov 18, 2016 at 02:20:27PM +0000, Joao Pinto wrote:
>>> For now we are interesting in improving the synopsys QoS driver under
>
Hello Peppe,
On 21-11-2016 12:52, Giuseppe CAVALLARO wrote:
> Hello Joao
>
> On 11/21/2016 1:32 PM, Joao Pinto wrote:
>> Hello,
>>
>> On 21-11-2016 05:29, Rayagond Kokatanur wrote:
>>> On Sat, Nov 19, 2016 at 7:26 PM, Rabin Vincent <ra...@rab.in> wrot
On 21-11-2016 14:25, Giuseppe CAVALLARO wrote:
> On 11/21/2016 2:28 PM, Lars Persson wrote:
>>
>>
>>> 21 nov. 2016 kl. 13:53 skrev Giuseppe CAVALLARO <peppe.cavall...@st.com>:
>>>
>>> Hello Joao
>>>
>>>> On 11/21/2016 1:32 PM, J
On 21-11-2016 14:36, Giuseppe CAVALLARO wrote:
> Hello Joao
>
> On 11/21/2016 2:48 PM, Joao Pinto wrote:
>> Synopsys QoS IP is a separated hardware component, so it should be reusable
>> by
>> all implementations using it and so have its own "core driver&quo
On 21-11-2016 15:03, Giuseppe CAVALLARO wrote:
> On 11/21/2016 4:00 PM, Joao Pinto wrote:
>> On 21-11-2016 14:36, Giuseppe CAVALLARO wrote:
>>> Hello Joao
>>>
>>> On 11/21/2016 2:48 PM, Joao Pinto wrote:
>>>> Synopsys QoS IP is a separated ha
On 21-11-2016 15:43, Lars Persson wrote:
>
>
>> 21 nov. 2016 kl. 16:06 skrev Joao Pinto <joao.pi...@synopsys.com>:
>>
>>> On 21-11-2016 14:25, Giuseppe CAVALLARO wrote:
>>>> On 11/21/2016 2:28 PM, Lars Persson wrote:
>>>>
>>>>
Dear David Miller,
These past 2 weeks we have been discussing the right way to go in terms of
Synopsys QoS support in the kernel.
The approach that raised more supporters was:
a) Test /stmicro/stmmac driver in a reference hardware prototyping platform (QoS
IPK) [Status: In Progress | 90%
Hi David,
Of course, I started a general discussion about the subject and those were the
conclusions, but I would like to know if you as the subsystem maintainer also
support the approach or have any suggestion.
Thanks,
Joao
Às 3:33 PM de 12/9/2016, David Miller escreveu:
> From: Joao Pi
Às 3:41 PM de 12/9/2016, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Fri, 9 Dec 2016 15:36:38 +
>
>> Of course, I started a general discussion about the subject and
>> those were the conclusions, but I would like to know if you as
Hi,
Às 12:57 PM de 12/14/2016, Pavel Machek escreveu:
> Hi!
>
>> So if there is a long time before handling interrupts,
>> I guess that it makes sense that one stream could
>> get an advantage in the net scheduler.
>>
>> If I find the time, and if no one beats me to it, I will try to replace
>>
Hi Niklas,
Às 4:25 PM de 12/12/2016, Niklas Cassel escreveu:
>
>
> On 12/12/2016 11:19 AM, Joao Pinto wrote:
>> Hi,
>>
>> Às 1:44 AM de 12/10/2016, Florian Fainelli escreveu:
>>> Le 12/09/16 à 16:16, Andy Shevchenko a écrit :
>>>> On Sat, Dec
Às 12:50 PM de 12/13/2016, Lars Persson escreveu:
>
>> 13 dec. 2016 kl. 13:31 skrev Niklas Cassel <niklas.cas...@axis.com>:
>>
>>
>>
>>> On 12/13/2016 12:49 PM, Joao Pinto wrote:
>>> Hi Niklas,
>>>
>>> Às 4:25 PM de 12/12/2016,
Hi,
Às 1:44 AM de 12/10/2016, Florian Fainelli escreveu:
> Le 12/09/16 à 16:16, Andy Shevchenko a écrit :
>> On Sat, Dec 10, 2016 at 12:52 AM, Florian Fainelli
>> wrote:
>>
>>> It's kind of sad that customers of that IP (stmmac, amd-xgbe, sxgbe)
>>
>>> did
>>> actually
Às 2:39 PM de 1/11/2017, Alexandre Torgue escreveu:
>
>
> On 01/11/2017 03:29 PM, Joao Pinto wrote:
>>
>> Alex,
>>
>> Às 2:25 PM de 1/11/2017, Alexandre Torgue escreveu:
>>> Jao,
>>>
>>> On 01/11/2017 12:54 PM, Joao Pinto wrote:
>
Hello David,
Às 2:52 PM de 1/11/2017, David Miller escreveu:
> From: Alexandre Torgue
> Date: Wed, 11 Jan 2017 12:39:09 +0100
>
>> Let's see what David think about that but if there no risk of backward
>> compatibility with DT, I agree with the series.
>
> I really am
Alex,
Às 2:25 PM de 1/11/2017, Alexandre Torgue escreveu:
> Jao,
>
> On 01/11/2017 12:54 PM, Joao Pinto wrote:
>>
>> Hi Alex,
>>
>> Às 11:39 AM de 1/11/2017, Alexandre Torgue escreveu:
>>> Hi Jao,
>>>
>>> On 01/10/2017 03:52 PM
Às 3:20 PM de 1/11/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Wed, 11 Jan 2017 15:06:55 +
>
>> The goal of this work is to improve code organization and future merge of
>> other
>> Synopsys Ethernet IP
Às 3:20 PM de 1/11/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Wed, 11 Jan 2017 15:06:55 +
>
>> The goal of this work is to improve code organization and future merge of
>> other
>> Synopsys Ethernet IP
Hi Alex, good morning!
Às 10:11 AM de 1/12/2017, Alexandre Torgue escreveu:
>>
>> Lets not name it synopsys, for me it is totally fine, but naming it
>> stmicro/stmmac is not the right way because it seems like it is a driver just
>> for stmicro products, which is not, is for products that use
Hi Florian,
Às 9:14 PM de 1/11/2017, Florian Fainelli escreveu:
> On 01/10/2017 06:52 AM, Joao Pinto wrote:
>> This patch renames stmicro/stmmac to synopsys/ since it is a standard
>> ethernet software package regarding synopsys ethernet controllers, supporting
>> the
This driver is no longer necessary since it was merged into stmmac.
Acked-by: Lars Persson <lar...@axis.com>
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
MAINTAINERS |7 -
arch/arm/configs/multi_v7_defconfig |3 +-
drivers/
Às 3:45 PM de 1/12/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Thu, 12 Jan 2017 15:39:47 +
>
>> In my understanding the advantage is to prepare the future.
>
> If the driver is named foo or bar, yet in both cases lo
Às 3:28 PM de 1/12/2017, David Miller escreveu:
>
> There is no driver named "synopsys", therefore "synopsys: " is not an
> appropriate subsystem prefix.
>
> Subsystem prefixes have to refer to real names in the source tree in
> one form or another.
>
> I know you guys really want to rename the
Às 3:26 PM de 1/12/2017, David Miller escreveu:
>
> I don't understand at all why it is so important to change the name of
> these files nor the directory they live in.
GMAC4 is a nickname for the Designware Ethernet QoS, which began in version 4.x
for historical reasons. Soon, we will have
Às 3:48 PM de 1/12/2017, David Miller escreveu:
> From: Joao Pinto <joao.pi...@synopsys.com>
> Date: Thu, 12 Jan 2017 15:46:31 +
>
>> Hope we can meet in a LinuxCon soon and have a talk, for you to know
>> me and this way you will see that I am a guy that is only f
Hi Florian,
Às 7:42 PM de 1/12/2017, Florian Fainelli escreveu:
> On 01/12/2017 01:43 AM, Joao Pinto wrote:
>>
>> First of all, I am suggesting an alternative way of organizing the code, and
>> that's it, I have no second intentions about anything :).
>>
>> Ple
Hi Alex,
Às 11:39 AM de 1/11/2017, Alexandre Torgue escreveu:
> Hi Jao,
>
> On 01/10/2017 03:52 PM, Joao Pinto wrote:
>> This patch set removes the synopsys/dwc_eth_qos since it was merged recently
>> to stmmac (dwmac-dwc-qos-eth glue driver).
>>
>> It also r
This driver is no longer necessary since it was merged into stmmac.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2 (Lars Persson):
- Remove dwc_eth_qos from the Maintainers file
- Add ported dwc_eth_qos config IDs to multi_v7_defconfig
MA
Ethernet IPs.
In the future we should make an effort to migrate to this new synopsys/
driver package all the Ethernet Synopsys IP drivers scattered in net/ethernet.
Joao Pinto (2):
synopsys: remove dwc_eth_qos driver
stmmac: rename it to synopsys
.../bindings/net/{stmmac.txt => synopsys.
This patch renames stmicro/stmmac to synopsys/ since it is a standard
ethernet software package regarding synopsys ethernet controllers, supporting
the majority of Synopsys Ethernet IPs. The config IDs remain the same, for
retro-compatibility, only the description was changed.
Signed-off-by: Joao
Hi Jie,
Às 4:00 AM de 1/11/2017, Jie Deng escreveu:
> Hi Joao,
>
>
> On 2017/1/10 22:52, Joao Pinto wrote:
>> This patch renames stmicro/stmmac to synopsys/ since it is a standard
>> ethernet software package regarding synopsys ethernet controllers, supporting
>
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v3 -> v4:
- stmmac_res is now being initial
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v3 -> v4:
- Nothing changed, just to keep up patch se
that current
and old users can continue to use it as before. We can see this driver as
being deprecated, since all new development will be done in stmmac.
Please check each patch for implementation details.
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v4:
- Nothing changed, just t
that current
and old users can continue to use it as before. We can see this driver as
being deprecated, since all new development will be done in stmmac.
Please check each patch for implementation details.
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v4 -> v5:
- memset was not done properly
c
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v3 -> v5:
- Nothing changed, just to keep up patch se
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v5:
- Nothing changed, just t
Às 1:27 PM de 1/6/2017, Alexandre Torgue escreveu:
> Hi Joao,
>
> On 01/05/2017 06:49 PM, Joao Pinto wrote:
>> Hi Alex,
>>
>> Às 5:19 PM de 1/5/2017, Alexandre Torgue escreveu:
>>> Hi Joao,
>>>
>>> On 01/04/2017 05:22 PM, Joao Pinto wrote:
&
that current
and old users can continue to use it as before. We can see this driver as
being deprecated, since all new development will be done in stmmac.
Please check each patch for implementation details.
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2:
- Nothing changed, just t
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2:
- Nothing changed, just to keep up patch se
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
Reviewed-by: Lars Persson <lar...@axis.com>
---
chan
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2:
- WOL was not declared in the new gl
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2:
- nothing changed. Just to keep up with
that current
and old users can continue to use it as before. We can see this driver as
being deprecated, since all new development will be done in stmmac.
Please check each patch for implementation details.
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v2:
- nothing changed. Just t
Às 11:24 AM de 1/4/2017, Niklas Cassel escreveu:
>
>
> On 01/04/2017 12:08 PM, Joao Pinto wrote:
>> Hi Niklas,
>>
>> Às 10:59 AM de 1/4/2017, Niklas Cassel escreveu:
>>> Hello Joao
>>>
>>> I just tested this series using the dwc_eth_qos D
Às 6:44 PM de 1/5/2017, Nathan Sullivan escreveu:
> On Thu, Jan 05, 2017 at 06:33:53PM +0000, Joao Pinto wrote:
>> Hi,
>>
>> Às 6:28 PM de 1/5/2017, Niklas Cassel escreveu:
>>> On 01/04/2017 05:38 PM, Nathan Sullivan wrote:
>>>> On Tue, Dec 20, 20
Hi Alex,
Às 5:19 PM de 1/5/2017, Alexandre Torgue escreveu:
> Hi Joao,
>
> On 01/04/2017 05:22 PM, Joao Pinto wrote:
>> This patch adds a new glue driver called dwmac-dwc-qos-eth which
>> was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
&g
bus, that means the NIC descriptor skip field would need to be set to
>> 14 to align the 16-byte descriptors...
>>
>> I guess it makes sense for a generic MIPS kernel to align everything for 128
>> byte
>> cache lines, and for me to fix the dwc_eth_qos driver to h
hernet/stmicro/stmmac/dwmac-socfpga.c:344:28: error: 'struct
stmmac_priv' has no member named 'stmmac_rst'
dwmac->stmmac_rst = stpriv->stmmac_rst;
I am going to fix socfpga and submit v3 :). Hopefully everything' got ok!
Thanks
>
> On 01/04/2017 12:48 PM, Joao Pinto wrote:
The eQOS IP Core (best known in stmmac as gmac4) has a register that must be
set if using a Clause 45 PHY. If this register is not set, the PHY won't work.
This patch will have no impact in setups using Clause 22 PHYs.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/et
Às 1:37 AM de 1/5/2017, Kweh, Hock Leong escreveu:
>> -Original Message-
>> From: Joao Pinto [mailto:joao.pi...@synopsys.com]
>> Sent: Wednesday, January 04, 2017 10:36 PM
>> To: da...@davemloft.net
>> Cc: Kweh, Hock Leong <hock.leong.k...@intel.com>; n
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v2 -> v3:
- Nothing changed, just to keep up
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v2 -> v3:
- dwmac-socfpga glue driver was also using s
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
changes v1 -> v3:
- Nothing changed, just t
that current
and old users can continue to use it as before. We can see this driver as
being deprecated, since all new development will be done in stmmac.
Please check each patch for implementation details.
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move
:22 PM, Joao Pinto wrote:
>> This patch adds a new glue driver called dwmac-dwc-qos-eth which
>> was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
>> tweak was also added to stmmac_platform.
>>
>> Signed-off-by: Joao Pinto <jpi...@synopsys.
important are the clock names, and so they need
to be parsed in the glue logic and initialized there, and that is the main
reason why the clocks were passed to the platform structure.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
Tested-by: Niklas Cassel <niklas.cas...@axis.com>
Reviewed-by:
This patch adds a new glue driver called dwmac-dwc-qos-eth which
was based in the dwc_eth_qos as is. To assure retro-compatibility a slight
tweak was also added to stmmac_platform.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
Tested-by: Niklas Cassel <niklas.cas...@axis.com>
Revie
This patch adds a new parameter to the stmmac DT: snps,en-tx-lpi-clockgating.
It was ported from synopsys/dwc_eth_qos.c and it is useful if lpi tx clock
gating is needed by stmmac users also.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
Tested-by: Niklas Cassel <niklas.cas...
n <lar...@axis.com>
Acked-by: Alexandre TORGUE <alexandre.tor...@st.com>
Joao Pinto (3):
stmmac: adding DT parameter for LPI tx clock gating
stmmac: move stmmac_clk, pclk, clk_ptp_ref and stmmac_rst to platform
structure
stmmac: adding new glue driver dwmac-dwc-qos-eth
.../binding
This patch adds Energy Efficiency Ethernet to GMAC4.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 12 +
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 59 +++
2 files changed, 71 insertions(+)
diff
going to generate v2 so
it would be great to have your tested.by tag to push it faster :) Thanks!
>
>
>
> I have one comment about clocks interleaved as well
>
>
>
> On 01/04/2017 10:44 AM, Joao Pinto wrote:
>> This patch adds a new glue driver called dwmac-dwc-qos-eth
Hi Wilson,
Às 12:49 AM de 1/7/2017, Kweh, Hock Leong escreveu:
> From: "Kweh, Hock Leong"
>
> There is no checking valid value of maxmtu when getting it from device tree.
> This resolution added the checking condition to ensure the assignment is
> made within a valid
This driver is no longer necessary since it was merged into stmmac.
Signed-off-by: Joao Pinto <jpi...@synopsys.com>
---
drivers/net/ethernet/Kconfig|1 -
drivers/net/ethernet/Makefile |1 -
drivers/net/ethernet/synopsys/Kconfig | 27 -
drive
1 - 100 of 341 matches
Mail list logo