STRUCT MVEBU_PINCTRL_SOC_INFO(9)
π struct mvebu_pinctrl_soc_info(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct mvebu_pinctrl_soc_info, and it's literally the little info-bundle that gets passed into pinctrl-mvebu. it's giving "backstage pass for one specific SoC" energy π
β¨ NAME β¨
struct mvebu_pinctrl_soc_info β the SoC-specific info that gets handed over to pinctrl-mvebu, no cap π«Ά
πΈ SYNOPSIS πΈ
struct mvebu_pinctrl_soc_info {
u8 variant;
const struct mvebu_mpp_ctrl *controls;
struct mvebu_mpp_ctrl_data *control_data;
int ncontrols;
struct mvebu_mpp_mode *modes;
int nmodes;
struct pinctrl_gpio_range *gpioranges;
int ngpioranges;
};
like, that's the whole shape of it. every field matters, bestie, don't skip any π
π¦ Members π¦
variantβ the variant mask ofsoc_info. yes, it's a mask. iconic behavior honestly βcontrolsβ the list of availablemvebu_mpp_ctrls. this is the roster πcontrol_dataβ an optional array, with one entry for each control. optional!! so you can leave it out πncontrolsβ the number of availablemvebu_mpp_ctrls. gotta know how many you got πmodesβ the list of availablemvebu_mpp_modes. the whole mood board π₯nmodesβ the number of availablemvebu_mpp_modes. counting them, fr fr πgpiorangesβ the list ofpinctrl_gpio_ranges. gpio ranges, slay π§ngpiorangesβ the number of availablepinctrl_gpio_ranges. kept it consistent π
π Description π
so this struct is literally the description of all the pinctrl-related information for one specific SoC. one struct, one SoC, main character energy β¨
and here's the tea β: if variant is unequal to 0, it gets matched (AND) with the variant of each setting β which is what lets you tell apart different revisions of the same SoC. it's giving "same girl, different era" π
lowkey important: the match is an AND, and the whole revision-distinguishing thing only kicks in whenvariantisn't0. keep that in mind, bestie π«Ά
π SEE ALSO π
- the kernel file
./drivers/pinctrl/mvebu/pinctrl-mvebu.h struct mvebu_mpp_ctrl_data(9)struct mvebu_mpp_ctrl(9)struct mvebu_mpp_ctrl_setting(9)struct mvebu_mpp_mode(9)
go read those too, iykyk π
and that's the page!! π this one came from ./drivers/pinctrl/mvebu, dated October 2026, and it's filed under struct mveb...trl_soc_info(9) in the Kernel API Manual β ok bye, go forth and pin some muxes, 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