diff options
| author | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2014-07-04 12:58:49 -0400 |
|---|---|---|
| committer | Grant Likely <grant.likely@linaro.org> | 2014-07-23 19:29:15 -0400 |
| commit | 201c910bd6898d81d4ac6685d0f421b7e10f3c5d (patch) | |
| tree | aec8c406908e71c7ad89750c6e9f4f8d0c094747 /drivers/of/testcase-data | |
| parent | 259092a35c7e11f1d4616b0f5b3ba7b851fe4fa6 (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>
Diffstat (limited to 'drivers/of/testcase-data')
| -rw-r--r-- | drivers/of/testcase-data/testcases.dtsi | 10 |
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 @@ | |||
| 1 | / { | ||
| 2 | testcase-data { | ||
| 3 | changeset { | ||
| 4 | prop-update = "hello"; | ||
| 5 | prop-remove = "world"; | ||
| 6 | node-remove { | ||
| 7 | }; | ||
| 8 | }; | ||
| 9 | }; | ||
| 10 | }; | ||
| 1 | #include "tests-phandle.dtsi" | 11 | #include "tests-phandle.dtsi" |
| 2 | #include "tests-interrupts.dtsi" | 12 | #include "tests-interrupts.dtsi" |
| 3 | #include "tests-match.dtsi" | 13 | #include "tests-match.dtsi" |
