[PATCH v2 0/5] Refactor and enhance device tree platform registrations

Grant Likely grant.likely at secretlab.ca
Wed Mar 16 19:33:28 EST 2011


Technically only the last two patches are v2 patches, the first three are
cleanups written when they were refactored, and this is a first
posting for them.

The most interesting part of this series is the addition of
of_platform_prepare() which is useful to allow DT and non-DT board
support to share the same initialization code for on-chip platform
devices.

---

Grant Likely (5):
      dt: Refactor of_platform_bus_probe()
      dt: protect against NULL matches passed to of_match_node()
      dt: eliminate OF_NO_DEEP_PROBE and test for NULL match table
      dt: add of_platform_populate() for creating device from the device tree
      dt: add of_platform_prepare() to match nodes with static platform_devices


 arch/arm/mach-versatile/core.c               |    1 
 arch/powerpc/platforms/52xx/mpc52xx_common.c |   10 -
 drivers/of/address.c                         |   14 +
 drivers/of/base.c                            |    3 
 drivers/of/platform.c                        |  347 ++++++++++++++++++++++----
 include/linux/of_address.h                   |    1 
 include/linux/of_platform.h                  |    8 -
 7 files changed, 326 insertions(+), 58 deletions(-)

-- 
Signature


More information about the devicetree-discuss mailing list