STRUCT SAMSUNG_PIN_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct samsung_pin_group(9)

okay so like, hi bestie 🫢 welcome to the Kernel API Manual, and today's main character is struct samsung_pin_group(9) β€” yes that's the whole title, we're being formal today. Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

struct samsung_pin_group β€” literally just represents a group of pins that belong to one pinmux function. that's it. that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

struct samsung_pin_group {
    const char              *name;
    const unsigned int      *pins;
    u8 num_pins;
    u8 func;
 };

look at her. iconic. four fields, zero notes. πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • name β€” the name of the pin group, and yes it's what everyone uses to look the group up. your group's government name, fr fr. πŸ”
  • pins β€” the actual pins that are included in this group. the whole squad. πŸ‘―β€β™€οΈ
  • num_pins β€” how many pins are included in this group. like a headcount but for hardware. it's a u8 so don't get too ambitious. 😭
  • func β€” the function number that gets programmed when this group is selected. the one that gets the job done. ⚑

πŸ‘‘ SEE ALSO πŸ‘‘

bestie you are NOT ready for this reading list, it's giving syllabus energy πŸ“š β€” all of these live in the Kernel file ./drivers/pinctrl/samsung/pinctrl-samsung.h:

  • enum pincfg_type(9)
  • enum eint_type(9)
  • struct samsung_pin_bank_type(9)
  • struct samsung_pin_bank_data(9)
  • struct samsung_pin_bank(9)
  • struct samsung_retention_data(9)
  • struct samsung_pin_ctrl(9)
  • struct samsung_pinctrl_drv_data(9)
  • struct samsung_pinctrl_of_match_data(9)
  • struct samsung_pmx_func(9)

go read them. i'll wait. 🧚✨


ngl there are no warnings on this page, which honestly? a slay. no bugs listed, no escape hatches, no "undefined behaviour" jumpscare. we love a low-drama struct. πŸ’œ

and that's the whole page, bestie!! 🌈 this iconic little moment was brought to you by ./drivers/pinctrl/samsung, dated October 2026, and yes it's struct samsung_pin_group(9) all the way down. mwah. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from