Skip to content

switch DT creation to using of_attach_node (v2)

Andres Salomon linux-devicetree lkml sparclinux 1 version Applied

Status from this message: Merged, thanks. I'll look at the rest after the merge window.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4of: rework of_attach_node, removing CONFIG_OF_DYNAMICdrivers/of/Kconfig drivers/of/base.c include/linux/of.h+34 -221 reply
2/4of/promtree: switch to building the DT using of_attach_nodedrivers/of/pdt.c+6 -240 replies
3/4of/flattree: minor cleanupsdrivers/of/fdt.c+4 -21 reply
4/4of/flattree: use of_attach_node to build treedrivers/of/fdt.c include/linux/of.h+14 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] switch DT creation to using of_attach_node (v2)

This is attempt #2 to make OF core use of_attach_node for both promtree and flattree building. This reworks of_attach_node quite a bit to conform with our expectations of how the DT should look in memory.

It's different in many ways from the original patches, so it's worth reviewing each in their entirety.

Andres Salomon (4):
of: rework of_attach_node, removing CONFIG_OF_DYNAMIC of/promtree: switch to building the DT using of_attach_node of/flattree: minor cleanups
of/flattree: use of_attach_node to build tree

----

 b/drivers/of/Kconfig |    4 ----
 b/drivers/of/base.c  |   47 ++++++++++++++++++++++++++++++++---------------
 b/drivers/of/fdt.c   |    6 ++++--
 b/drivers/of/pdt.c   |   30 ++++++------------------------
 b/include/linux/of.h |    5 ++---
 drivers/of/fdt.c     |   35 ++++++++++++++---------------------
 include/linux/of.h   |    1 -
 7 files changed, 58 insertions(+), 70 deletions(-)