<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/gpio, branch v2012.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>imx: Return gpio_set_value in gpio_direction_output</title>
<updated>2012-04-16T12:53:59+00:00</updated>
<author>
<name>Vikram Narayanan</name>
<email>vikram186@gmail.com</email>
</author>
<published>2012-04-10T04:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d71c9c9fc09babfdbcbf672ada763c97772839fc'/>
<id>d71c9c9fc09babfdbcbf672ada763c97772839fc</id>
<content type='text'>
Return gpio_set_value in gpio_direction_output.
Earlier it returned 0 and ignored gpio_set_value's return value.

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Return gpio_set_value in gpio_direction_output.
Earlier it returned 0 and ignored gpio_set_value's return value.

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio &gt;&gt; 5)</title>
<updated>2012-04-16T12:53:59+00:00</updated>
<author>
<name>Vikram Narayanan</name>
<email>vikram186@gmail.com</email>
</author>
<published>2012-04-10T04:26:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=be282554627edbffea7d313242466b5f95dfda5a'/>
<id>be282554627edbffea7d313242466b5f95dfda5a</id>
<content type='text'>
Use the defined GPIO_TO_PORT macro. Remove gpio &gt;&gt; 5 references.

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the defined GPIO_TO_PORT macro. Remove gpio &gt;&gt; 5 references.

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>imx: Add GPIO_TO_PORT macro in the mxc_gpio driver</title>
<updated>2012-04-16T12:53:59+00:00</updated>
<author>
<name>Vikram Narayanan</name>
<email>vikram186@gmail.com</email>
</author>
<published>2012-04-10T04:26:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8d28c211f3435e77f3d83d7398f46faa1c891156'/>
<id>8d28c211f3435e77f3d83d7398f46faa1c891156</id>
<content type='text'>
Add GPIO_TO_PORT macro in the mxc_gpio.c driver

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add GPIO_TO_PORT macro in the mxc_gpio.c driver

Signed-off-by: Vikram Narayanan &lt;vikram186@gmail.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Renamed mx28_register to mx28_register_32 to prepare for mx28_register_8</title>
<updated>2012-03-26T21:09:24+00:00</updated>
<author>
<name>Robert Delien</name>
<email>robert@delien.nl</email>
</author>
<published>2012-02-26T12:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b228e14e9653fe4ead0f39a7a879d1a50e61321a'/>
<id>b228e14e9653fe4ead0f39a7a879d1a50e61321a</id>
<content type='text'>
This patch renames mx28_register to mx28_register_32 in order to
prepare for the introduction of an 8-bit register, mx28_register_8.

Signed-off-by: Robert Delien &lt;robert@delien.nl&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Tested-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch renames mx28_register to mx28_register_32 in order to
prepare for the introduction of an 8-bit register, mx28_register_8.

Signed-off-by: Robert Delien &lt;robert@delien.nl&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Tested-by: Marek Vasut &lt;marex@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox: gpio: add basic driver for simulating GPIOs</title>
<updated>2012-03-12T15:03:42+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-02-15T23:51:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8d30fcd9a15da1fbe803af6d584ef0c4997e47e0'/>
<id>8d30fcd9a15da1fbe803af6d584ef0c4997e47e0</id>
<content type='text'>
This provides a way of simulating GPIOs by setting values which are seen
by the normal gpio_get/set_value() calls.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This provides a way of simulating GPIOs by setting values which are seen
by the normal gpio_get/set_value() calls.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mpc83xx: Add a GPIO driver for the MPC83XX family</title>
<updated>2012-01-10T02:10:33+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2011-11-11T21:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b5657938853ea3f478d86408e6534cb3a89ec11'/>
<id>4b5657938853ea3f478d86408e6534cb3a89ec11</id>
<content type='text'>
Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gpio: Replace ARM gpio.h with the common API in include/asm-generic</title>
<updated>2012-01-10T02:10:32+00:00</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2011-11-11T21:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=365d607033b8fcb0a8c27aabcb4bb05fb3b64465'/>
<id>365d607033b8fcb0a8c27aabcb4bb05fb3b64465</id>
<content type='text'>
ARM boards should use the generic GPIO API
This means changing gpio to unsigned type
Remove the unused gpio_toggle() function which is not part of the API
Comment that free should not modify pin state

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;

fixed merge conflict in da8xx_gpio.c, tegra2_gpio.c, and
extended to the new mxs_gpio.c.

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ARM boards should use the generic GPIO API
This means changing gpio to unsigned type
Remove the unused gpio_toggle() function which is not part of the API
Comment that free should not modify pin state

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Cc: Joe Hershberger &lt;joe.hershberger@gmail.com&gt;

fixed merge conflict in da8xx_gpio.c, tegra2_gpio.c, and
extended to the new mxs_gpio.c.

Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>i.mx: mxc_gpio: add the i.mx6q support</title>
<updated>2011-12-09T16:30:10+00:00</updated>
<author>
<name>Jason Liu</name>
<email>jason.hui@linaro.org</email>
</author>
<published>2011-11-25T00:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c8bfe24fec5aaf87d095efbf8d07f485a486913f'/>
<id>c8bfe24fec5aaf87d095efbf8d07f485a486913f</id>
<content type='text'>
Signed-off-by: Jason Liu &lt;jason.hui@linaro.org&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jason Liu &lt;jason.hui@linaro.org&gt;
Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra2: Use new GPIO APIs in gpio_config_uart()</title>
<updated>2011-12-09T16:30:08+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2011-10-06T12:52:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5fac236a9703827666df452f093d2849625afd4d'/>
<id>5fac236a9703827666df452f093d2849625afd4d</id>
<content type='text'>
... rather than open-coding the register accesses.

However, gpio_request() typically stores the "label" parameter in a global
data structure. This causes problems when called from gpio_config_uart(),
since the code is running before relocation. To solve this, pass a NULL
string to gpio_request(), and modify gpio_request() not to touch the string
if it's NULL.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... rather than open-coding the register accesses.

However, gpio_request() typically stores the "label" parameter in a global
data structure. This causes problems when called from gpio_config_uart(),
since the code is running before relocation. To solve this, pass a NULL
string to gpio_request(), and modify gpio_request() not to touch the string
if it's NULL.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/gpio/da8xx_gpio.c: Fix build warning</title>
<updated>2011-12-09T09:54:38+00:00</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2011-12-07T11:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3da597dbde3c5853d9cc8af1ba384c0fb79e8140'/>
<id>3da597dbde3c5853d9cc8af1ba384c0fb79e8140</id>
<content type='text'>
Fix:
da8xx_gpio.c: In function 'gpio_toggle_value':
da8xx_gpio.c:208:23: warning: variable 'bank' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix:
da8xx_gpio.c: In function 'gpio_toggle_value':
da8xx_gpio.c:208:23: warning: variable 'bank' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
