AMDGPIO(4)

πŸ“¦
version 11.0 Β· 2 versions
, in nixpkgs unstable

πŸ’… AMDGPIO(4) β€” like, the AMD GPIO Controller, bestie

okay so this is from the Kernel Interfaces Manual, and it's literally all about amdgpio β€” the AMD GPIO Controller driver. buckle up, it's short but it's iconic πŸŽ€


✨ NAME ✨

amdgpio β€” the AMD GPIO Controller. that's it, that's the vibe. πŸ¦‹

🌸 SYNOPSIS 🌸

amdgpio* at acpi?
gpio* at gpiobus?

translation: it hangs off acpi, and it gives you a gpio buddy on gpiobus. attacher energy fr fr ✨

πŸ’– DESCRIPTION πŸ’–

so amdgpio provides a gpio(4) interface, and it does that for these AMD chipsets β€” literally just these two, no cap:

AMD Ryzen 7 5800U with Radeon Graphics
AMD Ryzen 7 8840HS with Radeon 780M Graphics

and bestie, it supports these pin configuration flags πŸ‘‡

GPIO_PIN_INPUT
GPIO_PIN_OUTPUT
GPIO_PIN_INOUT
GPIO_PIN_ININ
GPIO_PIN_PULLUP
GPIO_PIN_PULLDOWN

and it's got interrupt capabilities too, which is giving main character energy πŸ”₯

GPIO_INTR_POS_EDGE
GPIO_INTR_NEG_EDGE
GPIO_INTR_DOUBLE_EDGE
GPIO_INTR_HIGH_LEVEL
GPIO_INTR_LOW_LEVEL
iykyk β€” those are the exact flag names, so pls don't go renaming them, they're literal strings and i'm obsessed with them staying that way πŸ’€

🫢 SEE ALSO 🫢

  • gpio(4) β€” go read that one next, bestie, it's the whole ecosystem πŸ’œ

πŸ¦‹ HISTORY πŸ¦‹

the amdgpio driver first appeared in NetBSD 11.0. era-defining, honestly πŸ‘‘

🌈 AUTHORS 🌈

the amdgpio driver is derived from qcomgpio(4) and OpenBSD's amdgpio(4) β€” so it's got lore, we love a crossover 🌸

the man page was written by Ryo ONODERA ⟨ryoon@NetBSD.org⟩ β€” ty for your service, king 🫑


and that's the whole page, bestie!! this one shipped on the Debian side with a February 3, 2025 date stamp, so yeah β€” that's the version you're holding in your hands rn πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from