<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/dm/Makefile, branch v2015.10</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.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/dm/Makefile?h=v2015.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-07-21T23:39:33Z</updated>
<entry>
<title>test: Add a test for regmap</title>
<updated>2015-07-21T23:39:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86075bab27b44bfa3748daa5fec137ec534dab99'/>
<id>urn:sha1:86075bab27b44bfa3748daa5fec137ec534dab99</id>
<content type='text'>
We use syscon to test that the regmap functions work as expected.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add a test for the system controller uclass</title>
<updated>2015-07-21T23:39:33Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04035fd36c9c793ab7b6e7c4513fe6a053daf5dd'/>
<id>urn:sha1:04035fd36c9c793ab7b6e7c4513fe6a053daf5dd</id>
<content type='text'>
Add a test to confirm that we can access system controllers and find their
driver data.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add a test for the LED uclass</title>
<updated>2015-07-21T23:39:32Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3c43fba3d240a5d7b6042bfb834c274a8921ebd8'/>
<id>urn:sha1:3c43fba3d240a5d7b6042bfb834c274a8921ebd8</id>
<content type='text'>
Add a test to confirm that we can adjust LEDs using the led_gpio driver.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add a test for the mmc uclass</title>
<updated>2015-07-21T23:39:32Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8e6cc46178f9eecada860f7a8f14672e6a94c2de'/>
<id>urn:sha1:8e6cc46178f9eecada860f7a8f14672e6a94c2de</id>
<content type='text'>
Add a test to confirm that we can probe this device. Since there is no
MMC stack support in sandbox at present, this is as far as the test goes.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add a test for the ram uclass</title>
<updated>2015-07-21T23:39:32Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=64ce0cad9e04aab19eb4c3f61333b203548281a7'/>
<id>urn:sha1:64ce0cad9e04aab19eb4c3f61333b203548281a7</id>
<content type='text'>
Add a test to confirm that we can probe this device and get information on
the available RAM.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add a test for the reset uclass</title>
<updated>2015-07-21T23:39:31Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=201c29a2d6fe5d50bc731e51fd758b3ae1e028d6'/>
<id>urn:sha1:201c29a2d6fe5d50bc731e51fd758b3ae1e028d6</id>
<content type='text'>
Add tests that confirm that the drivers work as expected, and we can walk
through the available reset types trying to reset the board.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: test: Add tests for the clk uclass</title>
<updated>2015-07-21T23:39:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-07-06T18:54:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6a1c7cef14a41ade84bccdded1fd87b908b6958c'/>
<id>urn:sha1:6a1c7cef14a41ade84bccdded1fd87b908b6958c</id>
<content type='text'>
Add tests of each API call using a sandbox clock device.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: dm: Move the dm tests over to the ut command</title>
<updated>2015-05-21T13:16:17Z</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2015-05-20T19:27:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=40441e0bd34425994c6feb7a3e78fa84b23d7244'/>
<id>urn:sha1:40441e0bd34425994c6feb7a3e78fa84b23d7244</id>
<content type='text'>
Unify the command for running unit tests further by moving the "dm test"
command over to "ut dm".

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Generalize the unit test framework</title>
<updated>2015-05-21T13:16:16Z</updated>
<author>
<name>Joe Hershberger</name>
<email>joe.hershberger@ni.com</email>
</author>
<published>2015-05-20T19:27:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e721b882e9daf3ad3599eef5a9ccf3847b694228'/>
<id>urn:sha1:e721b882e9daf3ad3599eef5a9ccf3847b694228</id>
<content type='text'>
Separate the ability to define tests and assert status of test functions
from the dm tests so they can be used more consistently throughout all
tests.

Signed-off-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: dm: add sandbox PMIC framework tests</title>
<updated>2015-05-15T01:58:34Z</updated>
<author>
<name>Przemyslaw Marczak</name>
<email>p.marczak@samsung.com</email>
</author>
<published>2015-05-13T11:38:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8f339e0e8bb15ba6e4079d0a239ddc211a02935'/>
<id>urn:sha1:e8f339e0e8bb15ba6e4079d0a239ddc211a02935</id>
<content type='text'>
This change adds new file to sandbox driver model test environment.
The file is: test/dm/power.c, and it includes tests for PMIC framework,
which includes PMIC uclass and REGULATOR uclass.

All tests are based od Sandbox PMIC emulated device. Some test constants for
this device are defined in the header: include/power/sandbox_pmic.h

PMIC tests includes:
- pmic get - tests, that pmic_get() returns the requested device
- pmic I/O - tests I/O by writing and reading some values to PMIC's registers
             and then compares, that the write/read values are equal.

The regulator tests includes:
- Regulator get by devname/platname
- Voltage set/get
- Current set/get
- Enable set/get
- Mode set/get
- Autoset
- List autoset

For the regulator 'get' test, the returned device pointers are compared,
and their names are also compared to the requested one.
Every other test, first sets the given attribute and next try to get it.
The test pass, when the set/get values are equal.

Signed-off-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested on sandbox:
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
