STRUCT DEV_PM_OPP_CONFIG(9)
β¨ struct dev_pm_opp_config(9) β¨
okay so bestie, welcome to the Kernel API Manual π β this is the little page for struct dev_pm_opp_config, which the header calls "Device OPP configuration values". yes it's a struct, yes it's important, no you can't skip it π«Ά
πΈ NAME πΈ
struct dev_pm_opp_config β Device OPP configuration values π
π SYNOPSIS π
this is the whole vibe, fr fr, copied exactly:
struct dev_pm_opp_config {
const char * const *clk_names;
config_clks_t config_clks;
const char *prop_name;
config_regulators_t config_regulators;
const unsigned int *supported_hw;
unsigned int supported_hw_count;
const char * const *regulator_names;
struct device *required_dev;
unsigned int required_dev_index;
};
π¦ Members π¦
okay now the main character energy β every single member, one by one π
clk_namesβ clk names, and it's aNULLterminated array. yes, terminated. don't forget theNULLor it will simply keep going πconfig_clksβ a custom set clk helper. your own little helper, iconic β¨prop_nameβ the name you postfix to properties. postfix, not prefix. read it again bestie πconfig_regulatorsβ a custom set regulator helper. the regulator counterpart, slay πsupported_hwβ array of hierarchy of versions to match. hierarchy! versions! matching! πsupported_hw_countβ number of elements in the array. aka how many of the above you actually have π₯regulator_namesβ array of pointers to the names of the regulator,NULLterminated. again with theNULLtermination, it's giving pattern πΈrequired_devβ the required OPP device. πrequired_dev_indexβ the index of the required OPP for therequired_dev. like, which one π
π Description π
so what is this thing? this structure contains platform specific OPP configurations for the device. that's it, that's the whole description, no cap π«Ά
ngl it's a small struct but it's literally the whole configuration vibe for your device's OPP setup, so treat it with respect π§
β SEE ALSO β
go look at these, iykyk:
- Kernel file
./include/linux/pm_opp.h struct dev_pm_opp_supply(9)struct dev_pm_opp_data(9)struct dev_pm_opp_key(9)
aaaand that's the page!! π this little beauty lives in ./include/linux and this version is dated October 2026, all official-like in the Kernel API Manual β mwah, bye bestie ππ
β¨
π¦ 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