STRUCT ARMADA_37XX_PIN_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct armada_37xx_pin_group(9) ✨

okay bestie, so this is a page straight out of the Kernel API Manual β€” yes, that Kernel API Manual β€” and it's all about one little struct. no cap, it's lowkey iconic. πŸŽ€


🌸 NAME 🌸

struct armada_37xx_pin_group β€” literally the struct that represents a group of pins of a pinmux function. the pins of a pinmux group are composed of one or two groups of contiguous pins. that's it, that's the vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, character for character, don't @ me:

struct armada_37xx_pin_group {
    const char      *name;
    unsigned int    start_pin;
    unsigned int    npins;
    u32 reg_mask;
    u32 val[NB_FUNCS];
    unsigned int    extra_pin;
    unsigned int    extra_npins;
    const char      *funcs[NB_FUNCS];
    unsigned int    *pins;
 };

πŸ‘‘ MEMBERS πŸ‘‘

every single field, explained, because we don't gatekeep here:

  • name β€” the name of the pin group, and yeah it's used to look up the group. it's giving main character energy, honestly. ⭐
  • start_pin β€” index of the first pin of the main range of pins belonging to the group.
  • npins β€” number of pins included in that first range. count 'em, bestie.
  • reg_mask β€” bit mask matching the group in the selection register.
  • val β€” the value to write to the registers for a given function. very demure, very mindful.
  • extra_pin β€” index of the first pin of the optional second range of pins belonging to the group. optional! like a little bonus. πŸ¦‹
  • extra_npins β€” number of pins included in that second optional range.
  • funcs β€” a list of pinmux functions that can be selected for this group. the whole friend group, fr fr.
  • pins β€” list of the pins included in the group. squad assembled. 🫢

πŸ”₯ SEE ALSO πŸ”₯

go look at these, i'm obsessed:


okay that's the whole page, you ate that. πŸ’–

and for the sign-off: this cutie lives in ./drivers/pinctrl/mvebu, it's tagged October 2026, and it's part of the Kernel API Manual β€” so if you memorized all of it, slay, periodt. πŸ‘‘βœ¨

πŸ“¦ where this page comes from