<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/blackfin/kernel/bfin_gpio.c, branch v4.9.132</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=03be35d16e2a627f80736a7b41c3b23e41174e83'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=48295fe932b3306c25ba6157db82f8f9938f2637'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=54e4ff4d402450af5cec599f1cd9ab34997b3149'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f70de486b2dd21b60705e57afecdc5f6a79be4e7'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ce8609146d09df213ed1e842ece7ad477e0ab7a6'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Steven Miao &lt;realmz6@gmail.com&gt;
Signed-off-by: Bob Liu &lt;lliubbo@gmail.com&gt;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ec98e6b836aff86fe764e28934e56a2f522a07dc'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b5affb0147cee0ea05d909396f8e389092729236'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch added bf60x to current blackfin kernel framework.

Signed-off-by: Bob Liu &lt;lliubbo@gmail.com&gt;
</pre>
</div>
</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='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fdfb0becea3be2edf4200c4ea8cf8b6fe9daa89a'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Blackfin: bf538: pull gpio/port logic out of core hibernate paths</title>
<updated>2011-07-23T05:18:30+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2011-06-27T18:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9466a0510a5445d81eaf33affc20e2f7e2e718fb'/>
<id>9466a0510a5445d81eaf33affc20e2f7e2e718fb</id>
<content type='text'>
Re-architect how we save/restore the gpio/port logic that only pertains
to bf538/bf539 parts by pulling it out of the core code paths and pushing
it out to bf538-specific locations.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Re-architect how we save/restore the gpio/port logic that only pertains
to bf538/bf539 parts by pulling it out of the core code paths and pushing
it out to bf538-specific locations.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Blackfin: switch /proc/gpio to seq_file</title>
<updated>2011-05-25T12:24:12+00:00</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2011-05-14T16:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6362ec272c0375c0377164532e24bf9defdb8c79'/>
<id>6362ec272c0375c0377164532e24bf9defdb8c79</id>
<content type='text'>
-&gt;read_proc interface is going away, switch to seq_file.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-&gt;read_proc interface is going away, switch to seq_file.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
