STRUCT RPMH_VREG_INIT_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct rpmh_vreg_init_data(9) ✨

okay bestie, welcome to the Kernel API Manual page for struct rpmh_vreg_init_data β€” it's giving initialization data for an RPMh regulator, and we are gonna go through every single field πŸ’–


✨ NAME ✨

struct rpmh_vreg_init_data β€” initialization data for an RPMh regulator. that's the whole vibe, bestie πŸŽ€


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the struct, literally with love:

       struct rpmh_vreg_init_data {
           const char                      *name;
           enum regulator_hw_type          vreg_hw_type;
           int index;
           const char                      *supply_name;
           const struct rpmh_vreg_hw_data  *hw_data;
        };

πŸ’… Members πŸ’…

  • name β€” the name for the regulator, and it also corresponds to the device tree subnode name of the regulator. iconic naming moment ✨
  • vreg_hw_type β€” the regulator HW type enum. this must be BOB, SMPS, LDO, VS, based on the regulator HW type. no cap πŸ’…
  • index β€” this is the index number of the regulator present on the PMIC. noted 🫢
  • supply_name β€” parent supply regulator name. cute and important 🌸
  • hw_data β€” configuration data for this PMIC regulator type. the config queen πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

bestie, go peek at these:


mwah πŸ’‹ source/version: ./drivers/regulator; date: October 2026; page: struct rpmh_vreg_init_data(9). byeee, go slay your RPMh regulator init data 🫢✨

πŸ“¦ where this page comes from