RK_GPIO(4)
π rk_gpio β the RockChip GPIO driver, explained bestie-style π
okay so this is rk_gpio(4), and it lives in the Kernel Interfaces Manual section of the FreeBSD docs (section 4 = kernel interfaces, iykyk). it's a device driver page, it's short, it's iconic, and honestly the way it does exactly one thing and does it well is main character energy. let's get into it β¨
πΈ NAME πΈ
rk_gpio β the driver for the gpio controller on RockChip SoCs π«Ά
like, SoC = system on a chip, and this little guy is the one talking to the GPIO controller on RockChip ones. that's it. that's the whole vibe. π
π SYNOPSIS π
options SOC_ROCKCHIP_RK3328
yes bestie, that's the whole synopsis. one line. it's giving minimalist. you drop that options SOC_ROCKCHIP_RK3328 into your kernel config and boom, you're in business. no cap. π₯
π¦ DESCRIPTION π¦
so the rk_gpio device driver provides support for the gpio controller device that's present on RockChip SoC. π
that's literally it β that's the job, that's the whole assignment, and it ate. it handles GPIO on RockChip silicon, which means pins you can poke at from userspace (hi gpioctl(8), we'll get to you π). lowkey a glow-up for your board. β¨
π HARDWARE π
the current version of the rk_gpio driver supports the gpio banks with one of the following compatible strings:
rockchip,gpio-bankβ
so fr fr, if your device tree has that compatible string, the driver's gonna vibe check it and say "yeah that's mine." if it doesn't, don't come crying to me. π₯²
π SEE ALSO π
gpiobus(4)β the bus your gpio stuff hangs out on πgpioctl(8)β the userspace tool where you actually poke the pins π
go read them, they're friends of this page. iykyk. π
π°οΈ HISTORY π°οΈ
the rk_gpio device driver first appeared in FreeBSD 12.0. π
a classic, an original, a founding mother. we respect her. π
π AUTHORS π
the rk_gpio device driver and this manpage were written by Emmanuel Vadot <manu@freebsd.org>. π«Ά
writing the driver AND the docs? that's not just main character energy, that's main character energy with a side of "i'll do it myself." we stan a contributor who documents their own work. π
π cute sign-off π
and that's the page, bestie! this one came to you from the Debian side of things, dated Apr 26, 2018, and it's the RK_GPIO(4) manual page β no cap, go forth and blink an LED for me. π¦πΈπ
reminder: the facts above are the facts above β every option, string, version and name was kept exactly, i just added the sparkle β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2018 Emmanuel Vadot <manu@freebsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms