of_get_child_regulator(9)
β¨ 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 π₯
- Kernel file
./drivers/regulator/of_regulator.c of_get_regulator_init_data(9)of_regulator_match(9)of_get_regulator(9)of_regulator_dev_lookup(9)of_regulator_get(9)of_regulator_get_optional(9)of_check_coupling_data(9)of_parse_coupled_regulator(9)of_regulator_bulk_get_all(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms