<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/net/designware.h, branch v2017.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/net/designware.h?h=v2017.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/net/designware.h?h=v2017.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2016-07-06T15:45:00Z</updated>
<entry>
<title>net: designware: Make driver independent from DM_GPIO again</title>
<updated>2016-07-06T15:45:00Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2016-06-27T10:17:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=66d027e22c55534135a43da794d31fcc98509913'/>
<id>urn:sha1:66d027e22c55534135a43da794d31fcc98509913</id>
<content type='text'>
Commit 90b7fc924adf "net: designware: support phy reset device-tree
bindings" made DW GMAC driver dependent on DM_GPIO by unconditional
usage of purely DM_GPIO stuff like:
 * dm_gpio_XXX()
 * gpio_request_by_name()

But since that driver as of today might be easily used without
DM_GPIO (that's the case for Synopsys AXS10x boards) we're
shielding all DM_GPIO things by ifdefs.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Beniamino Galvani &lt;b.galvani@gmail.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>Merge git://git.denx.de/u-boot-rockchip</title>
<updated>2016-05-27T19:48:53Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2016-05-27T19:48:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=378f9134eba4665ea94a63653393d25418665fda'/>
<id>urn:sha1:378f9134eba4665ea94a63653393d25418665fda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>net: designware: fix descriptor layout and warnings on 64-bit archs</title>
<updated>2016-05-27T19:39:46Z</updated>
<author>
<name>Beniamino Galvani</name>
<email>b.galvani@gmail.com</email>
</author>
<published>2016-05-08T06:30:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e1a3e30deb089cba3f1c01a48443cf8a86b5398'/>
<id>urn:sha1:0e1a3e30deb089cba3f1c01a48443cf8a86b5398</id>
<content type='text'>
All members of the DMA descriptor must be 32-bit, even on 64-bit
architectures: change the type to u32 to ensure this. Also, fix
other warnings.

Signed-off-by: Beniamino Galvani &lt;b.galvani@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Use phys_addr_t not unsigned long long to test that we're within
DMA'able memory]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>net: designware: support phy reset device-tree bindings</title>
<updated>2016-05-27T15:00:48Z</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2016-02-28T21:24:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7'/>
<id>urn:sha1:90b7fc924adfe7f1745dcf6a1dabb9e77aa762a7</id>
<content type='text'>
Add support for the snps,reset-gpio, snps,reset-active-low (optional) and
snps,reset-delays-us device-tree bindings. The combination of these
three define how the PHY should be reset to ensure it's in a sane state.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>net/designware: add support of max-speed device tree property</title>
<updated>2016-01-28T18:32:44Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2016-01-13T13:59:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6968ec921634b69f700f3e4ccdc35527160ac77a'/>
<id>urn:sha1:6968ec921634b69f700f3e4ccdc35527160ac77a</id>
<content type='text'>
This property allows to specify fastest connection mode supported by
the MAC (as opposed to features of the phy).

There are situations when phy may handle faster modes than the
MAC (or even it's particular implementation or even due to CPU being too
slow).

This property is a standard one in Linux kernel these days and some
boards do already use it in their device tree descriptions.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
cc: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>dm: net: Adjust designware driver to support driver model</title>
<updated>2015-04-18T17:11:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-04-05T22:07:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=75577ba45a42420d91ccfd9b9ce4ea1298f507ef'/>
<id>urn:sha1:75577ba45a42420d91ccfd9b9ce4ea1298f507ef</id>
<content type='text'>
Add driver model support to the designware driver. This reuses most of the
existing code except for some duplication in the probe() method.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net: configure DWMAC DMA by default AXI burst length</title>
<updated>2015-03-05T16:17:53Z</updated>
<author>
<name>Sonic Zhang</name>
<email>sonic.zhang@analog.com</email>
</author>
<published>2015-01-29T05:37:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ddaf13bd28d9d9450831e84e30d617d2f49f1bd'/>
<id>urn:sha1:2ddaf13bd28d9d9450831e84e30d617d2f49f1bd</id>
<content type='text'>
Board can define its own AXI burst length to improve DWMAC DMA performance.

v2-changes:
- Avoid write burst len register when the Macro is not defined.

v3-changes:
- Add axi_bus register member to struct eth_dma_regs.

Signed-off-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>net/designware: Make DMA burst length configurable and reduce by default</title>
<updated>2014-05-25T15:23:58Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-05-08T21:26:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49692c5f517d8e44ed9db0de778728fe7d2a300c'/>
<id>urn:sha1:49692c5f517d8e44ed9db0de778728fe7d2a300c</id>
<content type='text'>
The correct value for this setting can vary across SoCs and boards, so make it
configurable.

Also reduce the default value to 8, which is the same default as used in the
Linux driver.

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
</content>
</entry>
<entry>
<title>net/designware: reorder struct dw_eth_dev to pack more efficiently.</title>
<updated>2014-05-25T15:23:48Z</updated>
<author>
<name>Ian Campbell</name>
<email>ijc@hellion.org.uk</email>
</author>
<published>2014-05-14T18:30:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1857075a7f00ff0a62b13170a78c70ff94e30f96'/>
<id>urn:sha1:1857075a7f00ff0a62b13170a78c70ff94e30f96</id>
<content type='text'>
On Thu, 2014-05-08 at 22:26 +0100, Ian Campbell wrote:
&gt; The {r,t}xbuffs fields also need to be aligned. Previously this was done
&gt; implicitly because they immediately followed the descriptor tables. Make this
&gt; explicit and also move to the head of the struct.

Looks like I managed to not actually commit the move of the field to the
head of the struct! v3.1 follows....

Ian.

8&lt;------------

&gt;From 2937ba01841887317f6792709ed57cb86b5fc0cd Mon Sep 17 00:00:00 2001
From: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Date: Thu, 1 May 2014 19:45:15 +0100
Subject: [PATCH] net/designware: reorder struct dw_eth_dev to pack more
 efficiently.

The {tx,rx}_mac_descrtable fields are aligned to ARCH_DMA_MINALIGN, which could
be 256 or even larger. That means there is a potentially huge hole in the
struct before those fields, so move them to the front where they are better
packed.

Moving them to the front also helps ensure that so long as dw_eth_dev is
properly aligned (which it is since "net/designware: ensure device private data
is DMA aligned.") the {tx,rx}_mac_descrtable will be too, or at least avoids
having to worry too much about compiler specifics.

The {r,t}xbuffs fields also need to be aligned. Previously this was done
implicitly because they immediately followed the descriptor tables. Make this
explicit and also move to the head of the struct.

Signed-off-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Tested-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
Reviewed-by: Siarhei Siamashka &lt;siarhei.siamashka@gmail.com&gt;
</content>
</entry>
<entry>
<title>net/designware: align DMA buffer descriptors to D$ line</title>
<updated>2014-03-28T19:06:30Z</updated>
<author>
<name>Alexey Brodkin</name>
<email>Alexey.Brodkin@synopsys.com</email>
</author>
<published>2014-03-21T12:16:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a7b26dbb49139535992c6d4c282bcf258b3f7fa3'/>
<id>urn:sha1:a7b26dbb49139535992c6d4c282bcf258b3f7fa3</id>
<content type='text'>
It's important to have ability to flush/invalidate each DMA buffer descriptor
individually to prevent incoherency of adjacent BDs.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;

Cc: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Vipin Kumar &lt;vipin.kumar@st.com&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Shiraz Hashim &lt;shiraz.hashim@st.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Cc: Amit Virdi &lt;amit.virdi@st.com&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
</content>
</entry>
</feed>
