diff options
author | Krishna Yarlagadda <kyarlagadda@nvidia.com> | 2016-02-08 16:47:35 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2016-08-24 09:13:22 -0700 |
commit | 08590cd62f8b63776f54cb8ad1b2d329e45341e5 (patch) | |
tree | 6cf0b3bc6df832a15a563c29705cee0e1c4ad6ce /include | |
parent | 64d410cfe6de23abfcc060de096f658a254fa870 (diff) |
spi: tegra: option to boost register access
SPI register access for T210 and earlier chips depend
on SPI clock frequency. Provided an option to set SPI
clock at max frequency for register access.
Bug 1675625
Change-Id: Ie52c83cd4602604822462d9f02ddf31ead83aafc
Reviewed-on: http://git-master/r/1009782
(cherry picked from commit a2ccd28f2850538064668568432fee5d70a22e82)
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/1174581
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi-tegra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/spi/spi-tegra.h b/include/linux/spi/spi-tegra.h index 4b9385d2c93d..10e773094ce8 100644 --- a/include/linux/spi/spi-tegra.h +++ b/include/linux/spi/spi-tegra.h @@ -1,7 +1,7 @@ /* * spi-tegra.h: SPI interface for Nvidia Tegra20 SLINK controller. * - * Copyright (C) 2011 NVIDIA Corporation + * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,6 +25,7 @@ struct tegra_spi_platform_data { int dma_req_sel; unsigned int spi_max_frequency; bool is_clkon_always; + bool boost_reg_access; }; /* |