pinmux_free_gpio(9)
β¨ 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:
pinmux_can_be_used_for_gpio(9)pin_request(9)pin_free(9)pinmux_request_gpio(9)pinmux_gpio_direction(9)pinmux_generic_get_function_count(9)pinmux_generic_get_function_name(9)pinmux_generic_get_function_groups(9)pinmux_generic_get_function(9)pinmux_generic_function_is_gpio(9)pinmux_generic_add_function(9)pinmux_generic_add_pinfunction(9)pinmux_generic_remove_function(9)pinmux_generic_free_functions(9)
mwah π β the footer vibes say source/version ./drivers/pinctrl, dated October 2026. go off bestie, and free that pin π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms