of_graph_get_remote_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– of_graph_get_remote_node(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is literally about of_graph_get_remote_node(9), and she is here to help you find the remote parent device_node for a given port/endpoint. no cap, it’s giving device-tree graph main character energy πŸŒˆπŸ’…


🌸 NAME 🌸

of_graph_get_remote_node β€” get remote parent device_node for given port/endpoint πŸŽ€

✨ SYNOPSIS ✨

struct device_node * of_graph_get_remote_node (const struct device_node *node , u32 port , u32 endpoint );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” pointer to parent device_node containing graph port/endpoint πŸ’–
  • port β€” identifier (value of reg property) of the parent port node πŸ‘‘
  • endpoint β€” identifier (value of reg property) of the endpoint node ⭐

πŸ”₯ RETURN πŸ”₯

Remote device node associated with remote endpoint node linked to node. Use of_node_put on it when done.

bestie please actually do the of_node_put when you’re done β€” the page says it, and we respect the page 😭🫢

🌈 SEE ALSO 🌈

Kernel file: ./drivers/of/property.c

the whole linked-up squad, fr fr:


xoxo, your kernel bestie πŸ’– β€” this footer moment comes from ./drivers/of, source/version vibes from October 2026, and it’s all for of_graph_get_remote_node(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from