diff options
Diffstat (limited to 'include/linux/spi-tegra.h')
-rw-r--r-- | include/linux/spi-tegra.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/spi-tegra.h b/include/linux/spi-tegra.h index 2fe1af9c239e..3e0d26d51c50 100644 --- a/include/linux/spi-tegra.h +++ b/include/linux/spi-tegra.h @@ -26,4 +26,14 @@ struct tegra_spi_platform_data { int max_dma_buffer; bool is_clkon_always; }; + +/* Controller data from device to pass some info like + * hw based chip select can be used or not and if yes + * then CS hold and setup time. */ +struct tegra_spi_device_controller_data { + bool is_hw_based_cs; + int cs_setup_clk_count; + int cs_hold_clk_count; +}; + #endif /* _LINUX_SPI_TEGRA_H */ |