<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/devicetree/bindings/net/dsa, branch linux-4.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-04-06T21:31:37Z</updated>
<entry>
<title>net: dsa: fix filling routing table from OF description</title>
<updated>2015-04-06T21:31:37Z</updated>
<author>
<name>Pavel Nakonechny</name>
</author>
<published>2015-04-04T21:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=303038135afbd0520d1e241c02592be6e4ea7204'/>
<id>urn:sha1:303038135afbd0520d1e241c02592be6e4ea7204</id>
<content type='text'>
According to description in 'include/net/dsa.h', in cascade switches
configurations where there are more than one interconnected devices,
'rtable' array in 'dsa_chip_data' structure is used to indicate which
port on this switch should be used to send packets to that are destined
for corresponding switch.

However, dsa_of_setup_routing_table() fills 'rtable' with port numbers
of the _target_ switch, but not current one.

This commit removes redundant devicetree parsing and adds needed port
number as a function argument. So dsa_of_setup_routing_table() now just
looks for target switch number by parsing parent of 'link' device node.

To remove possible misunderstandings with the way of determining target
switch number, a corresponding comment was added to the source code and
to the DSA device tree bindings documentation file.

This was tested on a custom board with two Marvell 88E6095 switches with
following corresponding routing tables: { -1, 10 } and { 8, -1 }.

Signed-off-by: Pavel Nakonechny &lt;pavel.nakonechny@skitlab.ru&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Reviewed-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dsa: Add new optional devicetree property to describe EEPROM size</title>
<updated>2014-10-30T18:54:11Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2014-10-29T17:45:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06745729c48e3677a64db63481184cc7aef1ea69'/>
<id>urn:sha1:06745729c48e3677a64db63481184cc7aef1ea69</id>
<content type='text'>
The dsa core now supports reading from and writing to a switch EEPROM
if connected. Describe optional devicetree property indicating that
an EEPROM is present and its size.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Documentation: devicetree: update dsa binding with optional properties</title>
<updated>2014-08-28T05:59:41Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2014-08-28T00:04:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=51f265936fe138c05c7efc3a4fb78663c092f33e'/>
<id>urn:sha1:51f265936fe138c05c7efc3a4fb78663c092f33e</id>
<content type='text'>
Add documentation for a bunch of new optional properties described in
ethernet.txt and fixed-link.txt, this includes: 'phy-handle', 'phy-mode'
and the 'fixed-link' subnode.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dsa: fix device tree binding documentation typo on #address-cells</title>
<updated>2013-03-25T16:23:41Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2013-03-25T05:03:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c64f1f70cf3e7860bae12d62a31c137a6a4f4a7'/>
<id>urn:sha1:4c64f1f70cf3e7860bae12d62a31c137a6a4f4a7</id>
<content type='text'>
The device tree binding documentation for dsa explicitely states that a
DSA node should have its #address-cells property set to 2, yet the
example still used 1, fix that typo.

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dsa: add device tree bindings to register DSA switches</title>
<updated>2013-03-24T21:16:30Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2013-03-22T10:50:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5e95329b701c4edf6c4d72487ec0369fa148c0bd'/>
<id>urn:sha1:5e95329b701c4edf6c4d72487ec0369fa148c0bd</id>
<content type='text'>
This patch adds support for registering DSA switches using Device Tree
bindings. Note that we support programming the switch routing table even
though no in-tree user seems to require it. I tested this on Armada 370
with a Marvell 88E6172 (not supported by mainline yet).

Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
