<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cpu/ppc4xx/gpio.c, branch v2009.03</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/cpu/ppc4xx/gpio.c?h=v2009.03</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/cpu/ppc4xx/gpio.c?h=v2009.03'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2008-10-18T19:54:03Z</updated>
<entry>
<title>rename CFG_ macros to CONFIG_SYS</title>
<updated>2008-10-18T19:54:03Z</updated>
<author>
<name>Jean-Christophe PLAGNIOL-VILLARD</name>
<email>plagnioj@jcrosoft.com</email>
</author>
<published>2008-10-16T13:01:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d0f6bcf337c5261c08fabe12982178c2c489d76'/>
<id>urn:sha1:6d0f6bcf337c5261c08fabe12982178c2c489d76</id>
<content type='text'>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD &lt;plagnioj@jcrosoft.com&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Fix problem in gpio_config()</title>
<updated>2008-06-23T09:15:09Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2008-06-23T09:15:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aac7a5095b968d6c9a3e6422f31b4ad203cac9c8'/>
<id>urn:sha1:aac7a5095b968d6c9a3e6422f31b4ad203cac9c8</id>
<content type='text'>
As pointed out by Guennadi Liakhovetski (thanks), pin2 is already shifted
left by one. So the additional shift is bogus.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Add functionality to GPIO support</title>
<updated>2008-01-04T10:38:45Z</updated>
<author>
<name>Lawrence R. Johnson</name>
<email>lrj@acm.org</email>
</author>
<published>2008-01-03T23:54:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5ab884b254ca2e707ab50545cd705f30108cf491'/>
<id>urn:sha1:5ab884b254ca2e707ab50545cd705f30108cf491</id>
<content type='text'>
This patch makes two additions to GPIO support:

First, it adds function gpio_read_in_bit() to read the a bit from the
GPIO Input Register (GPIOx_IR) in the same way that function
gpio_read_out_bit() reads a bit from the GPIO Output Register
(GPIOx_OR).

Second, it modifies function gpio_set_chip_configuration() to provide
an additional option for configuring the GPIO from the
"CFG_4xx_GPIO_TABLE".

According to the 440EPx User's Manual, when an alternate output is used,
the three-state control is configured in one of two ways, depending on
the particular output.  The first option is to select the corresponding
alternate three-state control in the GPIOx_TRSH/L registers.  The second
option is to select the GPIO Three-State Control Register (GPIOx_TCR) in
the GPIOx_TRSH/L registers, and set the corresponding bit in the
GPIOx_TCR register to enable the output.  For example, the Manual
specifies configuring the GPIO00 Alternate 1 Signal (PreAddr07) to use
the alternate three-state control (first option), and specifies
configuring the GPIO32 Alternate 1 Signal (USB2OM0) with the output
enabled in the GPIOx_TCR register (second option).

Currently, gpio_set_chip_configuration() configures all alternate signal
outputs to use the first option.  This patch allow the second option to
be selected by setting the "out_val" element in the table entry to
"GPIO_OUT_1".  The first option is used when the "out_val" element is
set to "GPIO_OUT_0".  Because "out_val" is not currently used when an
alternate signal is selected, and because all current GPIO tables set
"out_val" to "GPIO_OUT_0" for all alternate signals, this patch should
not change any existing configurations.

Signed-off-by: Larry Johnson &lt;lrj@acm.org&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Correct GPIO offset in gpio_config()</title>
<updated>2007-12-11T12:38:19Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2007-12-11T12:38:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3b9abdc448a1c2c6a4c2aa292724b4d1a05166a9'/>
<id>urn:sha1:3b9abdc448a1c2c6a4c2aa292724b4d1a05166a9</id>
<content type='text'>
Thanks to Gary Jennejohn for pointing this out.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Enable 440 GPIO init table CFG_440_GPIO_TABLE for 405 platforms</title>
<updated>2007-11-15T13:23:55Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2007-11-15T13:23:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aee747f19b460a0e9da20ff21e90fdaac1cec359'/>
<id>urn:sha1:aee747f19b460a0e9da20ff21e90fdaac1cec359</id>
<content type='text'>
- Rename CFG_440_GPIO_TABLE to CFG_4xx_GPIO_TABLE
- Cleanup of the 4xx GPIO functions
- Move some GPIO defines from the cpu headers ppc405.h/ppc440.h into gpio.h

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Add support for AMCC 405EP Taihu board</title>
<updated>2007-07-26T15:49:11Z</updated>
<author>
<name>John Otken</name>
<email>john@softadvances.com</email>
</author>
<published>2007-07-26T15:49:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d4024bb72dd81695ec099b2199eda0d27c623e62'/>
<id>urn:sha1:d4024bb72dd81695ec099b2199eda0d27c623e62</id>
<content type='text'>
Signed-off-by: John Otken &lt;john@softadvances.com&gt;
</content>
</entry>
<entry>
<title>ppc4xx: Fix bug with default GPIO output value</title>
<updated>2007-07-20T13:03:44Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2007-07-20T13:03:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a71d96eac8130b53a91f93cd10c70fca0db18d52'/>
<id>urn:sha1:a71d96eac8130b53a91f93cd10c70fca0db18d52</id>
<content type='text'>
As spotted by Matthias Fuchs, the default output values for all GPIO1
outputs were not setup correctly. This patch fixes this issue.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>[ppc4xx] Extend 44x GPIO setup with default output state</title>
<updated>2007-06-15T05:39:43Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2007-06-15T05:39:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=85f737376d5ff3d5f0d45a8b657686326d175307'/>
<id>urn:sha1:85f737376d5ff3d5f0d45a8b657686326d175307</id>
<content type='text'>
The board config array CFG_440_GPIO_TABLE for the ppc440 GPIO setup
is extended with the default GPIO output state (level).

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix gpio setting when using CFG_440_GPIO_TABLE</title>
<updated>2007-06-08T07:55:24Z</updated>
<author>
<name>Benoît Monin</name>
<email>bmonin@adeneo.eu</email>
</author>
<published>2007-06-08T07:55:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fba3fb0449b8a54542aed1e729de76e7f5a2ff1b'/>
<id>urn:sha1:fba3fb0449b8a54542aed1e729de76e7f5a2ff1b</id>
<content type='text'>
Set the correct value in GPIOx_TCR when configuring the gpio
with CFG_440_GPIO_TABLE.

Signed-off-by: Benoit Monin &lt;bmonin@adeneo.eu&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Clean up 40EZ/Acadia support</title>
<updated>2007-03-24T14:45:34Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2007-03-24T14:45:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3cb86f3e40d2a80356177434a99f75bc8baa9caf'/>
<id>urn:sha1:3cb86f3e40d2a80356177434a99f75bc8baa9caf</id>
<content type='text'>
This patch cleans up all the open issue of the preliminary
Acadia support.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
</feed>
