of: property: Add in-ports/out-ports support to of_graph_get_port_parent()
authorSaravana Kannan <saravanak@google.com>
Wed, 7 Feb 2024 01:18:02 +0000 (17:18 -0800)
committerRob Herring <robh@kernel.org>
Fri, 9 Feb 2024 10:32:09 +0000 (10:32 +0000)
commit8f1e0d791b5281f3a38620bc7c57763dc551be15
tree4ad433e0aaab278bcc0a01c922f1555378d8afd0
parent782bfd03c3ae2c0e6e01b661b8e18f1de50357be
of: property: Add in-ports/out-ports support to of_graph_get_port_parent()

Similar to the existing "ports" node name, coresight device tree bindings
have added "in-ports" and "out-ports" as standard node names for a
collection of ports.

Add support for these name to of_graph_get_port_parent() so that
remote-endpoint parsing can find the correct parent node for these
coresight ports too.

Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20240207011803.2637531-4-saravanak@google.com
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/property.c