STRUCT DAVINCI_SPI_PLATFORM_DATA(9)
π 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 are0and1. 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 totrueif 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 ifSPI_IO_TYPE_DMAis 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:
struct davinci_spi_config(9)davinci_spi_get_prescale(9)davinci_spi_setup_transfer(9)davinci_spi_setup(9)davinci_spi_process_events(9)davinci_spi_bufs(9)dummy_thread_fn(9)davinci_spi_irq(9)spi_davinci_get_pdata(9)davinci_spi_probe(9)davinci_spi_remove(9)
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
- 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