<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/target/linux/generic/files/drivers, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>generic: revert workarounds for AR8337 switch</title>
<updated>2018-08-23T20:40:59+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2018-08-15T06:20:33+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=6b13238a132c6c6e7a12b708e2655002e94c12a8'/>
<id>6b13238a132c6c6e7a12b708e2655002e94c12a8</id>
<content type='text'>
The intention of 967b6be118e3 ("ar8327: Add workarounds for AR8337
switch") was to remove the register fixups for AR8337. But instead they
were removed for AR8327.

The RGMII RX delay is forced even if the port is used as phy instead of
mac, which results in no package flow at least for one board.

Fixes: FS#1664

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The intention of 967b6be118e3 ("ar8327: Add workarounds for AR8337
switch") was to remove the register fixups for AR8337. But instead they
were removed for AR8327.

The RGMII RX delay is forced even if the port is used as phy instead of
mac, which results in no package flow at least for one board.

Fixes: FS#1664

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: rtl8366-smi: add Realtek switch management via mii-bus</title>
<updated>2018-06-25T18:52:18+00:00</updated>
<author>
<name>Franz Flasch</name>
<email>franz.flasch@gmx.at</email>
</author>
<published>2018-05-17T09:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d4ac26ec4920036fe15414e47a0f1a3df6e8b9fb'/>
<id>d4ac26ec4920036fe15414e47a0f1a3df6e8b9fb</id>
<content type='text'>
Current version of rtl8366-smi module only supports Realtek switch
managment via two gpio lines. This adds Realtek switch
management via mii_bus. Tested on a Tp-link Archer C2 v1 (Mediatek
SoC mt7620a based)

dts-file configuration should look like this:

rtl8367rb {
	compatible = "realtek,rtl8367b";
	realtek,extif1 = &lt;1 0 1 1 1 1 1 1 2&gt;;
	mii-bus = &lt;&amp;mdio0&gt;;
};

&amp;ethernet {
	status = "okay";
	mtd-mac-address = &lt;&amp;rom 0xf100&gt;;
	pinctrl-names = "default";
	pinctrl-0 = &lt;&amp;rgmii1_pins &amp;rgmii2_pins &amp;mdio_pins&gt;;

	port@5 {
		status = "okay";
		mediatek,fixed-link = &lt;1000 1 1 1&gt;;
		phy-mode = "rgmii";
	};

	mdio0: mdio-bus {
		status = "okay";
	};
};

Signed-off-by: Serge Vasilugin &lt;vasilugin@yandex.ru&gt;
Signed-off-by: Franz Flasch &lt;franz.flasch@gmx.at&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current version of rtl8366-smi module only supports Realtek switch
managment via two gpio lines. This adds Realtek switch
management via mii_bus. Tested on a Tp-link Archer C2 v1 (Mediatek
SoC mt7620a based)

dts-file configuration should look like this:

rtl8367rb {
	compatible = "realtek,rtl8367b";
	realtek,extif1 = &lt;1 0 1 1 1 1 1 1 2&gt;;
	mii-bus = &lt;&amp;mdio0&gt;;
};

&amp;ethernet {
	status = "okay";
	mtd-mac-address = &lt;&amp;rom 0xf100&gt;;
	pinctrl-names = "default";
	pinctrl-0 = &lt;&amp;rgmii1_pins &amp;rgmii2_pins &amp;mdio_pins&gt;;

	port@5 {
		status = "okay";
		mediatek,fixed-link = &lt;1000 1 1 1&gt;;
		phy-mode = "rgmii";
	};

	mdio0: mdio-bus {
		status = "okay";
	};
};

Signed-off-by: Serge Vasilugin &lt;vasilugin@yandex.ru&gt;
Signed-off-by: Franz Flasch &lt;franz.flasch@gmx.at&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: rtl8367b: drop redundant compatible</title>
<updated>2018-06-25T18:52:18+00:00</updated>
<author>
<name>Mathias Kresin</name>
<email>dev@kresin.me</email>
</author>
<published>2018-06-20T20:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f9e7f193344fcee585b454e3884297f721187f4a'/>
<id>f9e7f193344fcee585b454e3884297f721187f4a</id>
<content type='text'>
Remove the compatible without vendor prefix. It is formal wrong and not
used in the tree.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the compatible without vendor prefix. It is formal wrong and not
used in the tree.

Signed-off-by: Mathias Kresin &lt;dev@kresin.me&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: add reset control support to rtl8366 driver</title>
<updated>2018-05-24T13:43:39+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2018-05-23T22:23:16+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f7aa08595db07f4c56484b3cef961553b8c09b02'/>
<id>f7aa08595db07f4c56484b3cef961553b8c09b02</id>
<content type='text'>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: rtl8366_smi: guard of_mdiobus_register() call</title>
<updated>2018-05-11T13:07:56+00:00</updated>
<author>
<name>Jo-Philipp Wich</name>
<email>jo@mein.io</email>
</author>
<published>2018-05-11T13:07:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d8c7cd9cb15a51cbbf5dba9aab63da3addee9d87'/>
<id>d8c7cd9cb15a51cbbf5dba9aab63da3addee9d87</id>
<content type='text'>
Make the call to of_mdiobus_register() dependant on CONFIG_OF to avoid
pulling in an unwanted dependency on of_mdio.ko.

Fixes: 3dc523f232 kernel: add OF support to rtl8355 driver
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the call to of_mdiobus_register() dependant on CONFIG_OF to avoid
pulling in an unwanted dependency on of_mdio.ko.

Fixes: 3dc523f232 kernel: add OF support to rtl8355 driver
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: add OF support to rtl8355 driver</title>
<updated>2018-05-07T06:06:51+00:00</updated>
<author>
<name>John Crispin</name>
<email>john@phrozen.org</email>
</author>
<published>2018-05-06T08:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=3dc523f232ff01d31d59345f5fa6de508d5059ef'/>
<id>3dc523f232ff01d31d59345f5fa6de508d5059ef</id>
<content type='text'>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ar8216: reduce latency even further for ar8327 chips</title>
<updated>2018-04-08T07:27:14+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2018-04-08T07:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=cb7ac151cd13ca510588b80c24645f2add1b3737'/>
<id>cb7ac151cd13ca510588b80c24645f2add1b3737</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ar8216: reduce latency by inserting scheduling points into code hogging the CPU</title>
<updated>2018-04-08T07:14:23+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@nbd.name</email>
</author>
<published>2018-04-07T11:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=17a955d4d7ea36ee41e025d61e600ee143f58b97'/>
<id>17a955d4d7ea36ee41e025d61e600ee143f58b97</id>
<content type='text'>
Should reduce network related latency caused by accessing MIB counters

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should reduce network related latency caused by accessing MIB counters

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: b53: fix compilation on BCM47XX</title>
<updated>2018-03-21T09:54:14+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-03-21T09:54:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=bfc6514e948cd357191c115ac4dac4fc11937ac4'/>
<id>bfc6514e948cd357191c115ac4dac4fc11937ac4</id>
<content type='text'>
This fixes:
drivers/net/phy/b53/b53_priv.h:325:2: error: enumeration value '&lt;board&gt;' not handled in switch [-Werror=switch]
errors.

Fixes: 0de2213eeade7 ("kernel: b53: look for NVRAM's "robo_reset" entry on every platform")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes:
drivers/net/phy/b53/b53_priv.h:325:2: error: enumeration value '&lt;board&gt;' not handled in switch [-Werror=switch]
errors.

Fixes: 0de2213eeade7 ("kernel: b53: look for NVRAM's "robo_reset" entry on every platform")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: b53: look for NVRAM's "robo_reset" entry on every platform</title>
<updated>2018-03-21T05:56:43+00:00</updated>
<author>
<name>Rafał Miłecki</name>
<email>rafal@milecki.pl</email>
</author>
<published>2018-03-13T11:09:20+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0de2213eeade7173e49cd36ef95ada750a4cc173'/>
<id>0de2213eeade7173e49cd36ef95ada750a4cc173</id>
<content type='text'>
Since kernel 4.1 bcm47xx_nvram_gpio_pin() is now defined in a global
header and can be safely called even on non-Broadcom platforms.

This change makes b53 look for "robo_reset" on ARCH_BCM_5301X and
slightly simplifies the code.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since kernel 4.1 bcm47xx_nvram_gpio_pin() is now defined in a global
header and can be safely called even on non-Broadcom platforms.

This change makes b53 look for "robo_reset" on ARCH_BCM_5301X and
slightly simplifies the code.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
</pre>
</div>
</content>
</entry>
</feed>
