STRUCT GEMINI_PIN_GROUP(9)
πΈ NAME πΈ
struct gemini_pin_group β describes a Gemini pin group. that's the whole vibe, bestie: it's the struct that describes a Gemini pin group, and it's lowkey the blueprint for the pin-group situation. π
okay so welcome to struct gemini_pin_group(9) from the Kernel API Manual β we're about to get into the pin-group lore, and it's giving very structured, very pinctrl. β¨
β¨ SYNOPSIS β¨
no cap, the struct literally looks like this:
struct gemini_pin_group {
const char *name;
const unsigned int *pins;
const unsigned int num_pins;
u32 mask;
u32 value;
u32 driving_mask;
};
π Members π
nameβ the name of this specific pin group. it's the iconic identifier behavior, fr fr. πpinsβ an array of discrete physical pins used in this group, taken from the driver-local pin enumeration space. yep, that's the pin neighborhood. π¦num_pinsβ the number of pins in this group array, i.e. the number of elements in.pinsso we can iterate over that array. it's the count bestie, so the loop can slay. π₯maskβ bits to clear to enable this when doing pin muxing. clear these bits, periodt. β¨valueβ bits to set to enable this when doing pin muxing. set these bits, no cap. πdriving_maskβ bitmask for the IO Pad driving register for this group, if it supports altering the driving strength of its lines. only when that support is there, iykyk. π«Ά
π SEE ALSO π
- Kernel file
./drivers/pinctrl/pinctrl-gemini.cβ and the structsstruct gemini_pin_conf(9),struct gemini_pmx(9), andstruct gemini_pmx_func(9)are right there for you to check. go read them, bestie. π
xoxo, your pinctrl bestie π
β source/version: ./drivers/pinctrl; date: October 2026. π«Ά
π¦ 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