STRUCT RPMH_VREG_INIT_DATA(9)
β¨ 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 beBOB,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:
- the kernel file
./drivers/regulator/qcom-rpmh-regulator.c enum rpmh_regulator_type(9)enum regulator_hw_type(9)struct rpmh_vreg_hw_data(9)struct rpmh_vreg(9)rpmh_regulator_send_request(9)rpmh_regulator_vrm_get_optimum_mode(9)rpmh_regulator_init_vreg(9)
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
- 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