STRUCT TINY_SPI_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct tiny...latform_data(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” this is the whole vibe for struct tiny_spi_platform_data, aka the platform data of the OpenCores tiny SPI. it’s giving tiny but iconic. ✨


πŸŽ€ NAME πŸŽ€

struct tiny_spi_platform_data β€” platform data of the OpenCores tiny SPI, periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct tiny_spi_platform_data {
    unsigned int freq;
    unsigned int baudwidth;
 };

🌸 Members 🌸

  • freq β€” input clock freq to the core. ⭐
  • baudwidth β€” baud rate divider width of the core. πŸŽ€

πŸ’œ Description πŸ’œ

freq and baudwidth are used only if the divider is programmable. that β€œonly” is doing a lot of work, bestie β€” no cap, don’t forget it. πŸ’€

lowkey important: these fields are literally only in play when the divider is programmable. 🫢

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/linux/spi/spi_oc_tiny.h πŸ‘‘

mwah πŸ’‹ this iconic little page lives under ./include/linux/spi and is dated October 2026 β€” that’s the source/version and date footer, bestie, and we are obsessed with her πŸ«ΆπŸ’–

πŸ“¦ where this page comes from