of_graph_ge..._port_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ of_graph_get_remote_port_parent(9) β€” Kernel API Manual πŸ’œ

ok so bestie, welcome to the glow-up era of the kernel API docs ✨ this one lives in the Kernel API Manual (section 9, iykyk) and it's all about that device-tree graph life 🌳


πŸŽ€ NAME πŸŽ€

of_graph_get_remote_port_parent β€” literally goes and gets the remote port's parent node πŸ‘‘


✨ SYNOPSIS ✨

struct device_node * of_graph_get_remote_port_parent (const struct
device_node *node );

that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • node β€” pointer to a local endpoint device_node πŸ“ like, this is your starting point, your main character, the node you already have

🌸 RETURN 🌸

it hands you back the remote device node that's associated with the remote endpoint node linked to node πŸ”₯

⚠️ okay this part is important bestie: use of_node_put on it when done πŸ’… like, don't just walk away with your new node reference, that's not the vibe

🌈 SEE ALSO 🌈

the whole friend group πŸ’– and yeah, it lives in the Kernel file ./drivers/of/property.c:


🫢 that's the whole page bestie, go forth and traverse those graph links responsibly πŸ’…βœ¨

⭐ cute lil sign-off: this masterpiece came from ./drivers/of and it's dated October 2026 πŸŽ€ see u in the next manpage, mwah πŸ’–

πŸ“¦ where this page comes from