path: root/drivers/of/testcase-data/testcases.dtsi
diff options
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>2014-07-04 19:58:49 +0300
committerMark Brown <broonie@kernel.org>2015-02-20 23:41:12 +0900
commit33ef56d1b95d9b628f9ed78c34d40b746668855e (patch)
tree3315e525a45650f9a9bd8eca44a31711f7ea9ceb /drivers/of/testcase-data/testcases.dtsi
parenta39492cbb90cebc0c1cb55d95e913848f6d68109 (diff)
of: Transactional DT support.
Introducing DT transactional support. A DT transaction is a method which allows one to apply changes in the live tree, in such a way that either the full set of changes take effect, or the state of the tree can be rolled-back to the state it was before it was attempted. An applied transaction can be rolled-back at any time. Documentation is in Documentation/devicetree/changesets.txt Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> [glikely: Removed device notifiers and reworked to be more consistent] Signed-off-by: Grant Likely <grant.likely@linaro.org> (cherry picked from commit 201c910bd6898d81d4ac6685d0f421b7e10f3c5d) Signed-off-by: Mark Brown <broonie@kernel.org> Conflicts: include/linux/of.h
Diffstat (limited to 'drivers/of/testcase-data/testcases.dtsi')
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/of/testcase-data/testcases.dtsi b/drivers/of/testcase-data/testcases.dtsi
index 6d8d980ac858..669bb07df142 100644
--- a/drivers/of/testcase-data/testcases.dtsi
+++ b/drivers/of/testcase-data/testcases.dtsi
@@ -1,3 +1,13 @@
+/ {
+ testcase-data {
+ changeset {
+ prop-update = "hello";
+ prop-remove = "world";
+ node-remove {
+ };
+ };
+ };
#include "tests-phandle.dtsi"
#include "tests-interrupts.dtsi"
#include "tests-match.dtsi"