PIN_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… PIN_GROUP(9) β€” bestie's edition

okay so real talk: this is a page from the Kernel API Manual, and it's genuinely just a tiny one β€” a single macro that declares a pin group. Short and sweet, like a good group chat message. Let's get into it 🫢


✨ NAME ✨

PIN_GROUP β€” literally just: declare a pin group. That's the whole job. Iconic minimalism πŸ’…


🌸 SYNOPSIS 🌸

PIN_GROUP (n , p , m );

yep, that's it. three little letters walk into a macro. no cap πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

so here's what each of the three actually is, keep up bestie:

  • n β€” the name of the group. it's giving "name tag at a party" β€” this is what the group gets called ✨
  • p β€” an array of pins that this group consists of. like, the whole roster of pins that make up the squad πŸ‘‘
  • m β€” the mode that the pins get put into when this group is active. and here's the fun part: this can be either a single integer or an array of integers, and in the array case the mode is per pin. so one mode for everybody, or a lil individual mode for each pin, your call 🌈
ngl the per-pin mode thing is lowkey the main character detail here β€” don't sleep on it πŸ‘€

πŸ’– SEE ALSO πŸ’–

the whole extended friend group, all referenced from ./drivers/pinctrl/intel/pinctrl-intel.h:

  • struct intel_pingroup(9)
  • struct intel_function(9)
  • struct intel_padgroup(9)
  • enum (anonymous)(9)
  • struct intel_community(9)
  • struct intel_pinctrl_soc_data(9)
  • struct intel_pinctrl_context(9)
  • struct intel_pinctrl(9)

like. that's the whole family reunion right there. go say hi 🧚


and that's the page!! mwah πŸ’‹ this lil number lives over in ./drivers/pinctrl/intel and it's dated October 2026 β€” so yeah, mark your calendar bestie, the pin group is eternal ⭐πŸ”₯

πŸ“¦ where this page comes from