STRUCT DAVINCI_SPI_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to struct davinci_spi_platform_data from the Kernel API Manual β€” yep, the title near the top is struct davin...latform_data(9) because truncation is doing its main character thing 😭. This page is literally Platform data for SPI master device on DaVinci ✨. That's the whole NAME vibe.


🌸 SYNOPSIS 🌸

Here's the struct, copied exactly, no edits, no cap:

       struct davinci_spi_platform_data {
           u8 version;
           u8 num_chipselect;
           u8 intr_line;
           u8 prescaler_limit;
           bool cshold_bug;
           enum dma_event_q        dma_event_q;
        };

πŸŽ€ Members πŸŽ€

  • version β€” version of the SPI IP, bestie. Different DaVinci devices have slightly varying versions of the same IP. It's giving "same IP, different eras" πŸ’….
  • num_chipselect β€” number of chipselects supported by this SPI master. That's the count, periodt.
  • intr_line β€” interrupt line used to connect the SPI IP to the ARM interrupt controller withn the SoC. Possible values are 0 and 1. Yes, "withn" is right there in the original β€” don't come for me 😭.
  • prescaler_limit β€” max clock prescaler value. Big "respect the limit" energy.
  • cshold_bug β€” set this to true if the SPI controller on your chip requires a write to CSHOLD bit in between transfers (like in DM355). So if your chip is giving DM355, flip it to true πŸ’….
  • dma_event_q β€” DMA event queue to use if SPI_IO_TYPE_DMA is used for any device on the bus. Okay so this is the queue vibe for DMA situations.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/spi/spi-davinci.c β€” and the whole friend group is here:


okay that's the whole manual page, bestie πŸ’– source/version ./drivers/spi, dated October 2026, footer title struct davin...latform_data(9) β€” slay and goodbye 🫢✨

πŸ“¦ where this page comes from