diff options
author | Prashant Gaikwad <pgaikwad@nvidia.com> | 2011-07-08 14:36:23 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:27 -0800 |
commit | 4dc16ee525cf73ecab5f995229cb0752e7466041 (patch) | |
tree | b59f3a5cece699eaacf87da489fb0dccdd133ba7 /include/linux/tegra_avp.h | |
parent | 8ed210c3d4c4c0c421c70ce2c7d111563b7f76b5 (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.
Original-Change-Id: I21e9afed402d08558c6913b5f194b1a4699ebcb2
Reviewed-on: http://git-master/r/40166
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Rebase-Id: R0b4df2cdbdafeb45f050800f29c05ff4b929c6d4
Diffstat (limited to 'include/linux/tegra_avp.h')
-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) |