STRUCT ROCKCHIP_PIN_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct rockchip_pin_group(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” we're talking about struct rockchip_pin_group, and no cap, this little cutie is lowkey the whole vibe of pinmux groups. it's giving "one friend group, one function, all the pins slaying together" 🫢


🌸 NAME 🌸

struct rockchip_pin_group β€” literally represents a group of pins of a pinmux function. that's it. that's the whole main character moment πŸ’…


✨ SYNOPSIS ✨

struct rockchip_pin_group {
    const char                      *name;
    unsigned int                    npins;
    unsigned int                    *pins;
    struct rockchip_pin_config      *data;
 };

look at her. four members, zero chaos, absolutely iconic 🌈


πŸŽ€ Members πŸŽ€

  • name β€” the name of the pin group, and yes it's the thing used to lookup the group. so like, it's the group chat name fr fr β€” if you don't know it, you can't find the group πŸ”
  • npins β€” number of pins included in this group. the headcount, bestie πŸ‘‘
  • pins β€” the actual pins included in this group. the members of the group chat, present and accounted for πŸ’œ
  • data β€” local pin configuration. the group's own personal settings, no borrowing from anyone else's vibe check πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file ./drivers/pinctrl/pinctrl-rockchip.h plus the whole friend group of structs, all equally slay:

  • struct rockchip_gpio_regs(9)
  • struct rockchip_iomux(9)
  • struct rockchip_drv(9)
  • struct rockchip_pin_bank(9)
  • struct rockchip_mux_recalced_data(9)
  • struct rockchip_pmx_func(9)

iykyk β€” go read them, they're all linked together and it's a whole ecosystem 🧚


πŸ’€ reminder that pins and data are pointers, so don't go dereferencing them all willy-nilly β€” the manpage isn't handing out extra promises here, bestie. πŸ™ˆ

and that's the page!! πŸ“ sources say ./drivers/pinctrl, dated October 2026, all wrapped up in the Kernel API Manual ✨ mwah, go forth and pinmux responsibly πŸ’–πŸŽ€

πŸ“¦ where this page comes from