pinmux_free_gpio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is pinmux_free_gpio(9) from the Kernel API Manual β€” and it does exactly one iconic thing: release a pin from GPIO muxing. That's the whole assignment, no cap πŸ’….


πŸ› οΈ SYNOPSIS πŸ› οΈ

the signature is literally this, keep it exact:

       void pinmux_free_gpio (struct pinctrl_dev *pctldev , unsigned int pin ,
       struct pinctrl_gpio_range *range );

🌸 ARGUMENTS 🌸

  • pctldev β€” the pin controller device for the pin. main character device energy, honestly πŸŽ€.
  • pin β€” the affected currently GPIO-muxed in pin, bestie. that's the one getting the release treatment πŸ’–.
  • range β€” the applicable GPIO range. gotta know the range, iykyk 🌈.

πŸ‘€ SEE ALSO πŸ‘€

this page points at the kernel file ./drivers/pinctrl/pinmux.c, and these related functions are the whole friend group fr fr:


mwah πŸ’‹ β€” the footer vibes say source/version ./drivers/pinctrl, dated October 2026. go off bestie, and free that pin 🫢✨

πŸ“¦ where this page comes from