STRUCT SPI_GPIO_PLATFORM_DATA(9)
π STRUCT SPI_GPIO_PLATFORM_DATA(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for struct spi_gpio_platform_data, and yes, the title up top gets truncated to struct spi_...latform_data(9) because even the manpage gods run out of column space. iconic, honestly.
πΈ NAME πΈ
struct spi_gpio_platform_data β the parameter struct for a bitbanged SPI host controller π
like⦠it's the lil bundle of info you hand over when you want SPI done in software, by wiggling GPIO pins. main character energy fr fr.
β¨ SYNOPSIS β¨
struct spi_gpio_platform_data {
u16 num_chipselect;
};
that's the whole struct. one member. no cap, it's tiny and I'm obsessed with how unbothered it is. π¦
π Members π
num_chipselectβ how many target devices to allow π that's it, that's the whole vibe check: you're saying "hey, this many target devices max, k?"
type: u16
π SEE ALSO π
- Kernel file
./include/linux/spi/spi_gpio.hβ go read it, iykyk π«Ά
and that's the page!! go be a bitbanged SPI host controller about it. slay. π
β shipped from the ./include/linux/spi directory, in the Kernel API Manual, dated October 2026, titled struct spi_...latform_data(9) β mwah, bye bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms