ENUM PINCFG_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

enum pincfg_type β€” the possible pin configuration types that are supported, bestie. That's the whole vibe. ✨


🌸 SYNOPSIS 🌸

enum pincfg_type {
    PINCFG_TYPE_FUNC ,
    PINCFG_TYPE_DAT ,
    PINCFG_TYPE_PUD ,
    PINCFG_TYPE_DRV ,
    PINCFG_TYPE_CON_PDN ,
    PINCFG_TYPE_PUD_PDN ,
    PINCFG_TYPE_NUM

};

Okay so this is literally the whole enum, laid out exactly like that, no cap β€” every constant in order, and yes, there's a lil trailing comma situation on PINCFG_TYPE_NUM's line before the closing brace. Copy it as-is, don't get creative. 🫢


✨ Constants ✨

  • PINCFG_TYPE_FUNC β€” this one's all about function configuration, iykyk. πŸ’…
  • PINCFG_TYPE_DAT β€” the pin value configuration girlie. Setting the actual value. πŸŽ€
  • PINCFG_TYPE_PUD β€” pull up/down configuration. Classic. 🌸
  • PINCFG_TYPE_DRV β€” drive strength configuration, aka how hard the pin goes. πŸ”₯
  • PINCFG_TYPE_CON_PDN β€” pin function, but in power down mode. Sleepy mode behavior. 😴
  • PINCFG_TYPE_PUD_PDN β€” pull up/down configuration in power down mode. Same energy, power-down era. πŸ’€
  • PINCFG_TYPE_NUM β€” and this one is literally marked -- undescribed -- in the source docs. Not me leaving you hanging, that's genuinely all it says. πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

Head over to the kernel file ./drivers/pinctrl/samsung/pinctrl-samsung.h β€” there's an enum in there, and honestly the whole friend group is iconic:

  • 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_pin_group(9)
  • struct samsung_pmx_func(9)

All of those, in that order, main character energy each one. Go read 'em. πŸ‘‘


Okay that's the page!! 🌈 Huge shoutout to ./drivers/pinctrl/samsung, dated October 2026, living under the Kernel API Manual umbrella β€” mwah, love that for us. Go configure some pins, bestie, you're gonna slay πŸ’–βœ¨

πŸ“¦ where this page comes from