BYTGPIO(4)

πŸ’– BYTGPIO πŸ’–

okay so bestie, this is the manual for bytgpio β€” the Intel Bay Trail SoC GPIO controller driver. yes it's a kernel interfaces manual, yes it's from BYTGPIO(4), and yes we're gonna get through it together 🫢


✨ NAME ✨

bytgpio β€” Intel Bay Trail SoC GPIO controller, aka the little guy that handles all your pins πŸ’…


🌸 SYNOPSIS 🌸

device gpio
device bytgpio

that's it. two lines. iconic behavior honestly ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

So. The bytgpio is a driver for the GPIO controller that lives inside Intel's Bay Trail SoC family. She's in there, doing her thing πŸŽ€

The Bay Trail SoC has three banks of GPIO pins, and they're exposed to userland as /dev/gpiocN, where N is 0, 1, and 2. Three banks, three device nodes, no cap.

And the pins in each bank? They come pre-named to match the names on boards schematics, which is genuinely so thoughtful of them:

  • GPIO_S0_SCnn
  • GPIO_S0_NCnn
  • GPIO_S5_nn

like they really said "here's your naming convention, you're welcome" πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, fr fr πŸ“š


🌈 HISTORY 🌈

The bytgpio manual page first appeared in FreeBSD 11.1. a little legend was born ✨


πŸŽ€ AUTHORS πŸŽ€

This driver and this man page were written by Oleksandr Tymoshenko <gonzo@FreeBSD.org>. absolute main character energy, we love to see it πŸ‘‘


aaaand that's the whole page bestie, you ate that πŸ’…

this edition came from Debian, dated May 9, 2017 β€” mwah, go forth and poke some pins πŸŒΈπŸ¦‹πŸ’–

πŸ“¦ where this page comes from