diff options
author | Krishna Yarlagadda <kyarlagadda@nvidia.com> | 2015-11-17 19:31:22 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2016-08-24 09:18:37 -0700 |
commit | d0080959ebe08f3b4a0f0453eaa8c8c9dff4ae9d (patch) | |
tree | 0790b3dc3b2a03f7b5e9632bb2a946a0e1302720 /include | |
parent | e2f168a5d0232c5d90af07bdf9e544c1e326f6ca (diff) |
spi: tegra: support polling mode
Added support to use polling mode instead of interrupts
through a property in dt
Bug 1679083
Change-Id: Ic82ab592822cc96bacda05124d38ddd913e09af9
Reviewed-on: http://git-master/r/840233
(cherry picked from commit cd1c4db5adc8317572106099da37fa434245e699)
Reviewed-on: http://git-master/r/1009988
(cherry picked from commit b29ce03a6b7ebb306ff157640470dd5ab99c6f6b)
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/1175213
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi-tegra.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/spi-tegra.h b/include/linux/spi/spi-tegra.h index 10e773094ce8..3e0203c2a671 100644 --- a/include/linux/spi/spi-tegra.h +++ b/include/linux/spi/spi-tegra.h @@ -25,6 +25,7 @@ struct tegra_spi_platform_data { int dma_req_sel; unsigned int spi_max_frequency; bool is_clkon_always; + bool is_polling_mode; bool boost_reg_access; }; |