diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-07-08 14:36:23 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-08 23:25:36 -0700 |
commit | 3559ee65b17bd904404ab9ceed26cb75c1033da0 (patch) | |
tree | f6af7d880f27077b6554cccba5ec867afbc03c3f /include | |
parent | 8d1509b2b97b126cd55f90248bd1c432c4d34788 (diff) |
tegra: avp: Add platform data for avp
If emc clock is clocked at maximum rate it increases power
consumption. emc clock rate requirement is different for
different platforms.
Change-Id: I21e9afed402d08558c6913b5f194b1a4699ebcb2
Reviewed-on: http://git-master/r/40166
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_avp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/tegra_avp.h b/include/linux/tegra_avp.h index 2650b553c615..9dc92f821368 100644 --- a/include/linux/tegra_avp.h +++ b/include/linux/tegra_avp.h @@ -30,6 +30,9 @@ struct tegra_avp_lib { unsigned long handle; }; +struct tegra_avp_platform_data { + unsigned long emc_clk_rate; +}; #define TEGRA_AVP_IOCTL_MAGIC 'r' #define TEGRA_AVP_IOCTL_LOAD_LIB _IOWR(TEGRA_AVP_IOCTL_MAGIC, 0x40, struct tegra_avp_lib) |