summaryrefslogtreecommitdiffstats
path: root/drivers/of/selftest.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* of: Add of_property_match_string() to find index into a string listGrant Likely2012-01-281-0/+29
| | | | | | | | | Add a helper function for finding the index of a string in a string list property. This helper is useful for bindings that use a separate *-name property for attaching names to tuples in another property such as 'reg' or 'gpios'. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* of: Add device tree selftestsGrant Likely2011-12-121-0/+139
Add some runtime test cases for the library of device tree parsing functions. v2: - Add testcase for phandle with 0 args - Don't run testcases if testcase data isn't present in device tree Signed-off-by: Grant Likely <grant.likely@secretlab.ca>