dm: core: Support copying properties with ofnode
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:33 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:43 +0000 (22:43 -0400)
commitdb1ef1e12b993275e09f116ebc3d23d675c7e28c
tree2a1798758c85d3010640cf6bacb1ad7caaa29133
parent0b58eaa89c4d7a4aea1f7f63ff4aca2c2f1d90c4
dm: core: Support copying properties with ofnode

Add a function to copy properties from one node to another.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c