fwnode_graph_parse_endpoint(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fwnode_graph_parse_endpoint

okay bestie, welcome to the Kernel API Manual ✨ this one is short and sweet, but it's lowkey important if you're doing device-tree / fwnode graph stuff, so let's get into it 🫢


✨ NAME ✨

fwnode_graph_parse_endpoint β€” parse common endpoint node properties πŸŽ€


🌸 SYNOPSIS 🌸

int fwnode_graph_parse_endpoint (const struct fwnode_handle *fwnode ,
struct fwnode_endpoint *endpoint );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • fwnode β€” pointer to the endpoint fwnode_handle πŸ‘‘ this is the node you're about to read from
  • endpoint β€” pointer to the fwnode endpoint data structure πŸ’– this is where the parsed goodies land

πŸ’œ DESCRIPTION πŸ’œ

So basically: you hand it an fwnode that represents a graph endpoint node, and it parses that node and stores all the info into endpoint. That's the whole vibe check 😌

⚠️ real talk though β€” the caller must hold a reference to fwnode. Not optional, not a suggestion. Hold your reference, bestie, or things get cursed πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/base/property.c ⭐


that's the whole page, iconic, no notes πŸ’…βœ¨

and a lil sign-off πŸŽ€ this one lives in ./drivers/base, dated October 2026, and it's your girl fwnode_graph_parse_endpoint(9) β€” go hold that reference, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from