STRUCT GEMINI_PMX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, this is struct gemini_pmx(9) from the Kernel API Manual β€” and it’s literally the state holder for the gemini pin controller. That’s the whole vibe: a lil container that keeps the pin-controller state together. πŸŽ€

✨ SYNOPSIS ✨

       struct gemini_pmx {
           struct device *dev;
           struct pinctrl_dev *pctl;
           struct regmap *map;
           bool is_3512;
           bool is_3516;
           bool flash_pin;
           const struct gemini_pin_conf *confs;
           unsigned int nconfs;
        };

πŸŽ€ Members πŸŽ€

okay bestie, here’s the member-by-member breakdown:

  • dev β€” a pointer back to containing device. 🫢
  • map β€” regmap to access registers. πŸ”₯
  • is_3512 β€” whether the SoC/package is the 3512 variant. ✨
  • is_3516 β€” whether the SoC/package is the 3516 variant. 🌈
  • flash_pin β€” whether the flash pin (extended pins for parallel flash) is set. πŸ‘‘
  • confs β€” pin config information. πŸ“
  • nconfs β€” number of pin config information items. πŸ’…

also, the synopsis includes struct pinctrl_dev *pctl; β€” the original Members prose doesn’t give it its own description, so no invented lore here, bestie. πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/pinctrl/pinctrl-gemini.c β€” plus struct gemini_pin_conf(9), struct gemini_pin_group(9), and struct gemini_pmx_func(9).

mwah πŸ’‹ β€” signed off from the ./drivers/pinctrl source/version, dated October 2026, for struct gemini_pmx(9). periodt. 🌟

πŸ“¦ where this page comes from