<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/dm/Makefile, branch v2015.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/dm/Makefile?h=v2015.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/dm/Makefile?h=v2015.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-12-11T20:18:43Z</updated>
<entry>
<title>dm: i2c: Add tests for I2C</title>
<updated>2014-12-11T20:18:43Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-12-10T15:55:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ecc2ed55ee09814d16e81a9d1030a95f98eaf940'/>
<id>urn:sha1:ecc2ed55ee09814d16e81a9d1030a95f98eaf940</id>
<content type='text'>
Add some basic tests to check that the system works as expected.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&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: Provide a function to scan child FDT nodes</title>
<updated>2014-07-23T13:08:36Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:55:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1ca7e2062b4e8c3b211753dcb19c063b5b9b73ca'/>
<id>urn:sha1:1ca7e2062b4e8c3b211753dcb19c063b5b9b73ca</id>
<content type='text'>
At present only root nodes in the device tree are scanned for devices.
But some devices can have children. For example a SPI bus may have
several children for each of its chip selects.

Add a function which scans subnodes and binds devices for each one. This
can be used for the root node scan also, so change it.

A device can call this function in its bind() or probe() methods to bind
its children.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Allow driver model tests only for sandbox</title>
<updated>2014-06-20T17:55:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-06-12T05:29:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b6a49a7ae71755396a2fa1e6dbde1ae3064d256f'/>
<id>urn:sha1:b6a49a7ae71755396a2fa1e6dbde1ae3064d256f</id>
<content type='text'>
The GPIO tests require the sandbox GPIO driver, so cannot be run on other
platforms. Similarly for the 'dm test' command.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Add a 'dm' command for testing</title>
<updated>2014-03-04T17:15:29Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-02-26T22:59:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0681195977ce04347f7de8ba88d9ebba10cae6dc'/>
<id>urn:sha1:0681195977ce04347f7de8ba88d9ebba10cae6dc</id>
<content type='text'>
This command is not required for driver model operation, but can be useful
for testing. It provides simple dumps of internal data structures.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Pavel Herrmann &lt;morpheus.ibis@gmail.com&gt;
Signed-off-by: Viktor Křivák &lt;viktor.krivak@gmail.com&gt;
Signed-off-by: Tomas Hlavacek &lt;tmshlvck@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: Add basic tests</title>
<updated>2014-03-04T17:15:29Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-02-26T22:59:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2e7d35d2a60339cfa54e26a07326bc75e1060bb3'/>
<id>urn:sha1:2e7d35d2a60339cfa54e26a07326bc75e1060bb3</id>
<content type='text'>
Add some tests of driver model functionality. Coverage includes:

- basic init
- binding of drivers to devices using platform_data
- automatic probing of devices when referenced
- availability of platform data to devices
- lifecycle from bind to probe to remove to unbind
- renumbering within a uclass when devices are probed/removed
- calling driver-defined operations
- deactivation of drivers when removed
- memory leak across creation and destruction of drivers/uclasses
- uclass init/destroy methods
- automatic probe/remove of children/parents when needed

This function is enabled for sandbox, using CONFIG_DM_TEST.

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