<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/blackfin/kernel/bfin_gpio.c, branch docs-5.3</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.3</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-5.3'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2018-03-16T09:55:47+00:00</updated>
<entry>
<title>arch: remove blackfin port</title>
<updated>2018-03-16T09:55:47+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2018-03-07T21:23:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4ba66a9760722ccbb691b8f7116cad2f791cca7b'/>
<id>urn:sha1:4ba66a9760722ccbb691b8f7116cad2f791cca7b</id>
<content type='text'>
The Analog Devices Blackfin port was added in 2007 and was rather
active for a while, but all work on it has come to a standstill
over time, as Analog have changed their product line-up.

Aaron Wu confirmed that the architecture port is no longer relevant,
and multiple people suggested removing blackfin independently because
of some of its oddities like a non-working SMP port, and the amount of
duplication between the chip variants, which cause extra work when
doing cross-architecture changes.

Link: https://docs.blackfin.uclinux.org/
Acked-by: Aaron Wu &lt;Aaron.Wu@analog.com&gt;
Acked-by: Bryan Wu &lt;cooloney@gmail.com&gt;
Cc: Steven Miao &lt;realmz6@gmail.com&gt;
Cc: Mike Frysinger &lt;vapier@chromium.org&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
<entry>
<title>blackfin: Fix local &lt;asm/gpio.h&gt; includes</title>
<updated>2017-10-19T08:12:49+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2017-10-17T09:46:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=350bdb84fda89270703907fb4c4fb482e1edbc31'/>
<id>urn:sha1:350bdb84fda89270703907fb4c4fb482e1edbc31</id>
<content type='text'>
When making the pin control submenu globally visible, all kinds
of oddities appear, in blackfin a few files were #including
&lt;linux/gpio.h&gt; and relying on that to pull in &lt;asm/gpio.h&gt;.

This was not working when pin control but not GPIOLIB was
selected resulting in a breakage in allmodconfig. The code these
files were using was still there and defined in &lt;asm/gpio.h&gt;
just not pulle in from just including &lt;linux/gpio.h&gt;

Simply add the required includes explicitly in the blackfin
kernel core and everything compiles fine.

Delete the use of the incorrect &lt;linux/gpio.h&gt; where possible.

Add stubs to &lt;asm/gpio.h&gt; for the functions called from PM:
these should probably also depend on !PINCTRL but since the
global CONFIG_PM symbol is used to compile PM support,
we need some more intrusive thing here, to be tested by
Blackfin maintainers.

Cc: Steven Miao &lt;realmz6@gmail.com&gt;
Cc: Huanhuan Feng &lt;huanhuan.feng@analog.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>blackfin: gpio: switch to gpiochip_add_data()</title>
<updated>2016-02-19T08:51:42+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2015-12-08T12:54:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=03be35d16e2a627f80736a7b41c3b23e41174e83'/>
<id>urn:sha1:03be35d16e2a627f80736a7b41c3b23e41174e83</id>
<content type='text'>
We're planning to remove the gpiochip_add() function to swith
to gpiochip_add_data() with NULL for data argument.

Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Cc: Steven Miao &lt;realmz6@gmail.com&gt;
Cc: adi-buildroot-devel@lists.sourceforge.net
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>blackfin: gpio: Be sure to clamp return value</title>
<updated>2016-01-25T17:02:09+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2015-12-21T15:50:18+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=48295fe932b3306c25ba6157db82f8f9938f2637'/>
<id>urn:sha1:48295fe932b3306c25ba6157db82f8f9938f2637</id>
<content type='text'>
As we want gpio_chip .get() calls to be able to return negative
error codes and propagate to drivers, we need to go over all
drivers and make sure their return values are clamped to [0,1].
We do this by using the ret = !!(val) design pattern.

Cc: Steven Miao &lt;realmz6@gmail.com&gt;
Cc: adi-buildroot-devel@lists.sourceforge.net
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>blackfin: adi gpio driver and pinctrl driver support</title>
<updated>2013-11-15T09:33:42+00:00</updated>
<author>
<name>Sonic Zhang</name>
<email>sonic.zhang@analog.com</email>
</author>
<published>2013-05-30T10:37:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=54e4ff4d402450af5cec599f1cd9ab34997b3149'/>
<id>urn:sha1:54e4ff4d402450af5cec599f1cd9ab34997b3149</id>
<content type='text'>
Remove gpio driver for new gpio controller on BF54x and BF60x.
Build the bfin_gpio driver only when other BF5xx processors are selected.
Replace the prefix of some gpio and peripheral functions with adi.
add portmux platform data in machine portmux.h

Signed-off-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Steven Miao &lt;realmz6@gmail.com&gt;
</content>
</entry>
<entry>
<title>Blackfin: bfin_gpio: Use proper mask for comparing pfunc</title>
<updated>2013-11-15T09:33:41+00:00</updated>
<author>
<name>Sonic Zhang</name>
<email>sonic.zhang@analog.com</email>
</author>
<published>2013-07-01T03:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f70de486b2dd21b60705e57afecdc5f6a79be4e7'/>
<id>urn:sha1:f70de486b2dd21b60705e57afecdc5f6a79be4e7</id>
<content type='text'>
For BF537_FAMILY, when offset != 1, the mask is 1.
Thus add proper mask for comparing pfunc with function.

Also has small refactor for better readability.
In portmux_setup(), it looks odd having "pmux &amp;= ~(3 &lt;&lt; 1);"
while in current code we do pmux |= (function &lt;&lt; offset);.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
</content>
</entry>
<entry>
<title>Blackfin: bfin_gpio: proc: fix return value</title>
<updated>2012-10-08T06:36:29+00:00</updated>
<author>
<name>Steven Miao</name>
<email>realmz6@gmail.com</email>
</author>
<published>2012-08-16T05:41:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ce8609146d09df213ed1e842ece7ad477e0ab7a6'/>
<id>urn:sha1:ce8609146d09df213ed1e842ece7ad477e0ab7a6</id>
<content type='text'>
Signed-off-by: Steven Miao &lt;realmz6@gmail.com&gt;
Signed-off-by: Bob Liu &lt;lliubbo@gmail.com&gt;
</content>
</entry>
<entry>
<title>bfin_gpio: fix bf548-ezkit kernel fail to boot</title>
<updated>2012-05-21T06:54:41+00:00</updated>
<author>
<name>Steven Miao</name>
<email>realmz6@gmail.com</email>
</author>
<published>2012-05-08T05:58:46+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ec98e6b836aff86fe764e28934e56a2f522a07dc'/>
<id>urn:sha1:ec98e6b836aff86fe764e28934e56a2f522a07dc</id>
<content type='text'>
Fix bf548-ezkit kernel fail to boot when request peripheral pins.

Signed-off-by: Steven Miao &lt;realmz6@gmail.com&gt;
Signed-off-by: Bob Liu &lt;lliubbo@gmail.com&gt;
</content>
</entry>
<entry>
<title>blackfin: add bf60x to current framework</title>
<updated>2012-05-21T06:54:12+00:00</updated>
<author>
<name>Bob Liu</name>
<email>lliubbo@gmail.com</email>
</author>
<published>2012-05-16T09:37:24+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b5affb0147cee0ea05d909396f8e389092729236'/>
<id>urn:sha1:b5affb0147cee0ea05d909396f8e389092729236</id>
<content type='text'>
This patch added bf60x to current blackfin kernel framework.

Signed-off-by: Bob Liu &lt;lliubbo@gmail.com&gt;
</content>
</entry>
<entry>
<title>Blackfin: bf54x: fix GPIO resume code</title>
<updated>2011-07-23T05:18:32+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-27T21:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=fdfb0becea3be2edf4200c4ea8cf8b6fe9daa89a'/>
<id>urn:sha1:fdfb0becea3be2edf4200c4ea8cf8b6fe9daa89a</id>
<content type='text'>
Back in commit c03c2a87347b849ec927d, we fixed logic in the non-bf54x
GPIO resume code to set the data levels properly before the direction
to avoid spurious line glitches.  But we missed the bf54x code paths.
So add the same fix there.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
</feed>
