This patchset implements two new target methods. A target index method which allows selecting different targets according to an argument using an extended API and a target root method that fences the target only to a specific given root. Documentation and unit-tests are included. Changes since v1: * Addressed reviewer comments. * Converted target_indirect to target_index Pantelis Antoniou (6): of: overlay: Implement target index support of: unittest: Add indirect overlay target test doc: dt: Document the indirect overlay method. of: overlay: Introduce target root capability. of: unittest: Unit-tests for target root overlays. doc: dt: Document the target root overlay method Documentation/devicetree/overlay-notes.txt | 22 ++- drivers/of/overlay.c | 158 +++++++++++++--- drivers/of/unittest-data/testcases.dts | 10 + drivers/of/unittest-data/tests-overlay.dtsi | 63 +++++++ drivers/of/unittest.c | 273 ++++++++++++++++++++++++++++ include/linux/of.h | 16 ++ 6 files changed, 517 insertions(+), 25 deletions(-) -- 1.7.12 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html