<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/of/testcase-data, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/of/testcase-data?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/of/testcase-data?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-05-23T02:35:30Z</updated>
<entry>
<title>of: Add a testcase for of_find_node_by_path()</title>
<updated>2014-05-23T02:35:30Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@linaro.org</email>
</author>
<published>2014-03-14T13:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ae91ff72e9132abe47f726424d9420fce004ca04'/>
<id>urn:sha1:ae91ff72e9132abe47f726424d9420fce004ca04</id>
<content type='text'>
Add a testcase for the find_node_by_path() function to make sure it
handles all the valid scenarios.

Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
</content>
</entry>
<entry>
<title>of/selftest: add testcase for nodes with same name and address</title>
<updated>2014-05-13T19:11:11Z</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2014-05-13T15:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fb2caa50fbacd21719a90dd66b617ce3cb4fd6d7'/>
<id>urn:sha1:fb2caa50fbacd21719a90dd66b617ce3cb4fd6d7</id>
<content type='text'>
Add a test case for nodes which have the same name and same
non-translatable unit address.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Reviewed-by: Grant Likely &lt;grant.likely@linaro.org&gt;
Reviewed-by: Frank Rowand &lt;frank.rowand@sonymobile.com&gt;
</content>
</entry>
<entry>
<title>of: selftest: add deferred probe interrupt test</title>
<updated>2014-04-24T15:58:55Z</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2014-04-23T22:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a'/>
<id>urn:sha1:82c0f5897a8708dbf7abe08e49efd9a4a8d8cd3a</id>
<content type='text'>
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
[grant.likely: fixed failure when root node specifies the interrupt parent]
Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
</content>
</entry>
<entry>
<title>of: Make device nodes kobjects so they show up in sysfs</title>
<updated>2014-03-11T20:48:26Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@linaro.org</email>
</author>
<published>2014-02-20T18:02:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=75b57ecf9d1d1e17d099ab13b8f48e6e038676be'/>
<id>urn:sha1:75b57ecf9d1d1e17d099ab13b8f48e6e038676be</id>
<content type='text'>
Device tree nodes are already treated as objects, and we already want to
expose them to userspace which is done using the /proc filesystem today.
Right now the kernel has to do a lot of work to keep the /proc view in
sync with the in-kernel representation. If device_nodes are switched to
be kobjects then the device tree code can be a whole lot simpler. It
also turns out that switching to using /sysfs from /proc results in
smaller code and data size, and the userspace ABI won't change if
/proc/device-tree symlinks to /sys/firmware/devicetree/base.

v7: Add missing sysfs_bin_attr_init()
v6: Add __of_add_property() early init fixes from Pantelis
v5: Rename firmware/ofw to firmware/devicetree
    Fix updating property values in sysfs
v4: Fixed build error on Powerpc
    Fixed handling of dynamic nodes on powerpc
v3: Fixed handling of duplicate attribute and child node names
v2: switch to using sysfs bin_attributes which solve the problem of
    reporting incorrect property size.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Tested-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Nathan Fontenot &lt;nfont@linux.vnet.ibm.com&gt;
Cc: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
</content>
</entry>
<entry>
<title>of: Add self test for of_match_node()</title>
<updated>2014-02-20T11:52:09Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@linaro.org</email>
</author>
<published>2014-02-18T21:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1f42e5dd5065963979bb53daadf5d4f1e71f0c5f'/>
<id>urn:sha1:1f42e5dd5065963979bb53daadf5d4f1e71f0c5f</id>
<content type='text'>
Adds a selftest function for the of_match_node function. of_match_node
is supposed to handle precedence for the compatible property as well as
the name and device_type values. This patch adds some test case data and
a function that makes sure each test node matches against the correct
entry of an of_device_id table.

This code was written to verify the new of_match_node() implementation
that is an earlier part of this series.

Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
Cc: Kevin Hao &lt;haokexin@gmail.com&gt;
</content>
</entry>
<entry>
<title>of: Move testcase FDT data into drivers/of</title>
<updated>2014-02-20T11:52:08Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@linaro.org</email>
</author>
<published>2014-02-18T21:46:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b5190516b282bee6f10569c3387d16f83447d280'/>
<id>urn:sha1:b5190516b282bee6f10569c3387d16f83447d280</id>
<content type='text'>
The testcase data is usable by any platform. This patch moves it into
the drivers/of directory so it can be included by any architecture.

Using the test cases requires manually adding #include &lt;testcases.dtsi&gt;
to the end of the boards .dtsi file and enabling CONFIG_OF_SELFTEST. Not
pretty though. A useful project would be to make the testcase code
easier to execute.

Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
</content>
</entry>
</feed>
