STRUCT SPMI_REGULATOR_INIT_DATA(9)
π struct spmi_regulator_init_data π
Hiii bestie!! This is the struct spmi_regulator_init_data(9) page from the Kernel API Manual, and we are about to make this spmi-regulator initialization data make sense. No cap, it's giving very "tiny struct, important job" energy. β¨
πΈ NAME πΈ
struct spmi_regulator_init_data β spmi-regulator initialization data
β¨ SYNOPSIS β¨
struct spmi_regulator_init_data {
unsigned pin_ctrl_enable;
unsigned pin_ctrl_hpm;
enum spmi_vs_soft_start_str vs_soft_start_strength;
};
π Members π
pin_ctrl_enableβ okay so this is a bit mask that says which hardware pins, if any, should be used to enable the regulator. Its value should be an ORing ofSPMI_REGULATOR_PIN_CTRL_ENABLE_*constants. If the bit specified bySPMI_REGULATOR_PIN_CTRL_ENABLE_HW_DEFAULTis set, then the pin control enable hardware registers will not be modified. π«Άpin_ctrl_hpmβ this bit mask says which hardware pins, if any, should be used to force the regulator into high power mode. Its value should be an ORing ofSPMI_REGULATOR_PIN_CTRL_HPM_*constants. If the bit specified bySPMI_REGULATOR_PIN_CTRL_HPM_HW_DEFAULTis set, then the pin control mode hardware registers will not be modified. β‘vs_soft_start_strengthβ this parameter sets the soft start strength for voltage switch type regulators. Its value should be one ofSPMI_VS_SOFT_START_STR_*. If its value isSPMI_VS_SOFT_START_STR_HW_DEFAULT, then the soft start strength will be left at its default hardware value. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/regulator/qcom_spmi-regulator.c struct spmi_voltage_range(9)
Source/version: ./drivers/regulator Β· October 2026 β that was struct spmi...or_init_data(9), signing off 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