[PATCH v2 0/2] Ensure that platform buses from overlays are functional

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux