
3 Nov
2020
3 Nov
'20
4:12 p.m.
On Mon, 2 Nov 2020 at 08:10, Biju Das biju.das.jz@bp.renesas.com wrote:
Add of_match_node() helper function to iterate over the device tree and tell if a device_node has a matching of_match structure.
Signed-off-by: Biju Das biju.das.jz@bp.renesas.com Reviewed-by: Lad Prabhakar prabhakar.mahadev-lad.rj@bp.renesas.com
v1->v2:
- No Change.
Ref: https://patchwork.ozlabs.org/project/uboot/patch/20201030140303.11773-1-biju...
drivers/core/device.c | 21 +++++++++++++++++++++ include/dm/device.h | 13 +++++++++++++ 2 files changed, 34 insertions(+)
Please do add a test for this, perhaps in test/dm/core.c
Regards, Simon