of_get_child_regulator(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay so welcome to the of_get_child_regulator(9) page from the Kernel API Manual, bestie! πŸ’–

of_get_child_regulator β€” get a child regulator device node based on supply name. Periodt. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

struct device_node * of_get_child_regulator (struct device_node *parent
       , const char *prop_name );

🌸 ARGUMENTS 🌸

  • parent β€” Parent device node. The main character node, basically. πŸ‘‘
  • prop_name β€” Combination regulator supply name and "-supply". Yes, both of those things together, no cap. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

It literally traverses all child nodes, then extracts the child regulator device node that corresponds to the supply name. That's the whole vibe. ✨


πŸ’œ RETURN πŸ’œ

Returns a pointer to the struct device_node corresponding to the regulator if found, or NULL if not found. So either you get your node bestie, or you get NULL β€” no in-between. 😭


πŸ”₯ SEE ALSO πŸ”₯


This lil page lives in ./drivers/regulator, dated October 2026, and it's the of_get_child_regulator(9) manual page. Bye bestie, slay your regulator lookups! πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from