This series addresses an issue, which prevents one to add child devices to a platform bus from an overlay if such a bus was in turn also created from an overlay. The root cause is missing OF_POPULATED_BUS flag for such buses and the difference, in the way, how static and dynamic platform devices are populated. Second patch adds a couple of test cases which demonstrate the problem. Changelog: v2: - Rebased to v4.14-rc1 Alexander Sverdlin (2): of/platform: dynamic: Use of_platform_bus_create() to create devices of/unittest: Test platform bus added from overlay drivers/of/platform.c | 11 ++-- drivers/of/unittest-data/tests-overlay.dtsi | 83 +++++++++++++++++++++++++++++ drivers/of/unittest.c | 60 +++++++++++++++++++++ 3 files changed, 149 insertions(+), 5 deletions(-) -- 2.4.6 -- 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