of: add iterator for overlays
Device tree overlays (the dto files) may contain multiple fragments for
different target nodes. Each fragment contains a __overlay__ node that
is applied to target node specified in the fragment.

Add a helper to call a function for each fragment in a device tree
overlay to avoid having device tree overlay internal information in
other modules.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent da2c36c commit ca7b8f85f0d9455b631461288535a3cef7e58fdf
@Michael Tretter Michael Tretter authored on 13 Sep 2019
Sascha Hauer committed on 16 Sep 2019
Showing 2 changed files
View
drivers/of/overlay.c
View
include/of.h