STRUCT XSPI_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual, section 9 β€” the manual name is struct xspi_platform_data(9), and yes, that's our main character today πŸ’…βœ¨

πŸ’– NAME πŸ’–

struct xspi_platform_data β€” platform data of the Xilinx SPI driver, and that's the whole vibe. no cap.

✨ SYNOPSIS ✨

okay so the struct looks like this, and every field is staying exactly as written:

struct xspi_platform_data {
    struct spi_board_info *devices;
    u8 num_devices;
    u8 num_chipselect;
    u8 bits_per_word;
    bool force_irq;
};

🫢 Members 🫢

  • devices β€” devices to add when the driver is probed. that's the list, bestie 🫢
  • num_devices β€” number of devices in the devices array. literally the count for that array.
  • num_chipselect β€” number of chip select by the IP. yep, that's the IP's chip-select count, periodt.
  • bits_per_word β€” number of bits per word. the bits-per-word situation, iconic.
  • force_irq β€” if set, forces QSPI transaction requirements. so when it's set, that's what it does πŸ”₯

🌸 SEE ALSO 🌸

  • Kernel file ./include/linux/spi/xilinx_spi.h β€” that's the one to peek at, bestie πŸ¦‹

mwah πŸ’‹ this page's source/version is ./include/linux/spi, it's dated October 2026, and the name on the tin is struct xspi_platform_data(9) 🫢✨

πŸ“¦ where this page comes from