Refactor and enhance device tree platform registrations
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest5 patches 1 replyIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt: Refactor of_platform_bus_probe()drivers/ | +18 | 0 replies | |
| 2/5 | dt: protect against NULL matches passed to of_match_node()drivers/ | +3 | 0 replies | |
| 3/5 | dt: eliminate OF_NO_DEEP_PROBE and test for NULL match tabledrivers/ include/ | +5 | 0 replies | |
| 4/5 | dt: add of_platform_populate() for creating device from the device treearch/ drivers/ include/ | +57 | 1 reply | |
| 5/5 | dt: add of_platform_prepare() to match nodes with static platform_devicesarch/ drivers/ drivers/ +2 more | +247 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] Refactor and enhance device tree platform registrations
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 · 1 line
Signature