<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/dm, branch v2015.01-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/dm?h=v2015.01-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/dm?h=v2015.01-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-10-24T01:29:53Z</updated>
<entry>
<title>test: dm: Add additional GPIO tests</title>
<updated>2014-10-24T01:29:53Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-04T17:29:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4324174d0308c9c81ce246a8e82d2faaefb6d973'/>
<id>urn:sha1:4324174d0308c9c81ce246a8e82d2faaefb6d973</id>
<content type='text'>
Add tests for gpio_requestf() and for memory leaks.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: dm: Support memory leak checking as a core feature</title>
<updated>2014-10-24T01:29:53Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-04T17:29:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=756ac0bb1526c8c661ad3ff673cd17c7602ab46e'/>
<id>urn:sha1:756ac0bb1526c8c661ad3ff673cd17c7602ab46e</id>
<content type='text'>
Check the state of the malloc() heap before each test is run, so that tests
can verify that all is well at the end. Provide helper functions to mark
the heap and to check that it returns to its initial state.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: gpio: Add gpio_requestf() helper for printf() strings</title>
<updated>2014-10-24T01:29:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-04T17:29:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d44f597b12b8f8099c3c52c3eb09540966cafe79'/>
<id>urn:sha1:d44f597b12b8f8099c3c52c3eb09540966cafe79</id>
<content type='text'>
Add a helper which permits a printf()-style format string for the requester
string.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: dm: Update GPIO tests for new gpio_request() method</title>
<updated>2014-10-24T01:29:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-04T17:29:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b8f11c2cc1dc23cf721073e6440c4e151b89bdd'/>
<id>urn:sha1:4b8f11c2cc1dc23cf721073e6440c4e151b89bdd</id>
<content type='text'>
Now that gpio_request() is handled by the uclass, updates the tests
accordingly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: sf: Add tests for SPI flash</title>
<updated>2014-10-22T16:36:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-14T05:42:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ae0cb7b50ab7836fb2a625a389d7a83698c2150'/>
<id>urn:sha1:0ae0cb7b50ab7836fb2a625a389d7a83698c2150</id>
<content type='text'>
Add a simple test for SPI that uses SPI flash. It operates by creating a
SPI flash file and using the 'sf test' command to test that all
operations work correctly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jagannadha Sutradharudu Teki &lt;jagannadh.teki@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: spi: Add tests</title>
<updated>2014-10-22T16:36:51Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-14T05:42:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ebcab48a031fc96d5d6292564a35cf772d4e539c'/>
<id>urn:sha1:ebcab48a031fc96d5d6292564a35cf772d4e539c</id>
<content type='text'>
These tests use SPI flash (and the sandbox emulation) to operate.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jagannadha Sutradharudu Teki &lt;jagannadh.teki@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: core: Add functions for iterating through device children</title>
<updated>2014-10-22T16:36:45Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-14T05:41:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8981d4f80b010666ad754d20a4f389f94d6726d'/>
<id>urn:sha1:a8981d4f80b010666ad754d20a4f389f94d6726d</id>
<content type='text'>
Buses need to iterate through their children in some situations. Add a few
functions to make this easy.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jagannadha Sutradharudu Teki &lt;jagannadh.teki@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: Add child_pre_probe() and child_post_remove() methods</title>
<updated>2014-07-23T13:08:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:55:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a327dee0f40bcdebaba1a3e47f2b9f1ceb970d2a'/>
<id>urn:sha1:a327dee0f40bcdebaba1a3e47f2b9f1ceb970d2a</id>
<content type='text'>
Some devices (particularly bus devices) must track their children, knowing
when a new child is added so that it can be set up for communication on the
bus.

Add a child_pre_probe() method to provide this feature, and a corresponding
child_post_remove() method.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Introduce per-child data for devices</title>
<updated>2014-07-23T13:08:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:55:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e59f458de6999b8a786da857e653db6777f675ca'/>
<id>urn:sha1:e59f458de6999b8a786da857e653db6777f675ca</id>
<content type='text'>
Some device types can have child devices and want to store information
about them. For example a USB flash stick attached to a USB host
controller would likely use this space. The controller can hold
information about the USB state of each of its children.

The data is stored attached to the child device in the 'parent_priv'
member. It can be auto-allocated by dm when the child is probed. To
do this, add a per_child_auto_alloc_size value to the parent driver.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Add functions to access a device's children</title>
<updated>2014-07-23T13:08:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:55:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=997c87bb0b1981fd33e34cefc26d9138f27326ce'/>
<id>urn:sha1:997c87bb0b1981fd33e34cefc26d9138f27326ce</id>
<content type='text'>
Devices can have childen that can be addressed by a simple index, the
sequence number or a device tree offset. Add functions to access a child
in each of these ways.

The index is typically used as a fallback when the sequence number is not
available. For example we may use a serial UART with sequence number 0 as
the console, but if no UART has sequence number 0, then we can fall back
to just using the first UART (index 0).

The device tree offset function is useful for buses, where they want to
locate one of their children. The device tree can be scanned to find the
offset of each child, and that offset can then find the device.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
