AMDGPIO(4)
π 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
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2022 The NetBSD Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms