STRUCT TNG_GPIO_PIN_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tng_gpio_pin_info(9)

okay so this is the Kernel API Manual page for struct tng_gpio_pin_info, and no cap, it's literally just the lil' glow-up card that holds "platform specific pinout information." that's the whole vibe bestie ✨


🌸 NAME 🌸

struct tng_gpio_pin_info β€” platform specific pinout information πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct tng_gpio_pin_info {
    const struct tng_gpio_pinrange *pin_ranges;
    unsigned int nranges;
    const char *name;
 };

like, that's it. that's the struct. she's small but she's doing the work πŸ’–


πŸ‘‘ Members πŸ‘‘

she's got three (3) fields and every single one matters, so let's go:

  • pin_ranges β€” the pin to GPIO mapping 🌈 this is the whole point of her tbh
  • nranges β€” number of pin ranges, aka how many of those ranges you actually got
  • name β€” the respective pinctrl device name 🏷️
ngl the struct definition above has one extra space before its closing brace β€” that's exactly how it's written in the original, so we're keeping it fr fr. no editing the sacred text πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go look at these, iykyk:

  • Kernel file ./drivers/gpio/gpio-tangier.h
  • struct tng_wake_regs(9)
  • struct tng_gpio_pinrange(9)
  • struct tng_gpio_info(9)
  • struct tng_gpio(9)

okay and before you close the tab 🫢 β€” big slay to ./drivers/gpio for being the source, and this page is dated October 2026, so she's fresh, she's iconic, she's giving main character energy 🌟 mwah πŸ’œ

πŸŽ€ struct tng_gpio_pin_info(9) πŸŽ€

πŸ“¦ where this page comes from