diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2015-03-12 10:48:03 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2015-05-05 05:12:17 -0400 |
commit | 73a7f0a90641b09300d47308682b674c570dd6a2 (patch) | |
tree | 2fae77ad6db5abacf35be69ed05b1dc7c670c5e4 /include/soc | |
parent | 3d9dd6fdd23695a038633f1a87aee0708fe4b8e0 (diff) |
memory: tegra: Add EMC (external memory controller) driver
Implements functionality needed to change the rate of the memory bus
clock.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/tegra/emc.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/soc/tegra/emc.h b/include/soc/tegra/emc.h new file mode 100644 index 000000000000..f6db33b579ec --- /dev/null +++ b/include/soc/tegra/emc.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2014 NVIDIA Corporation. All rights reserved. | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #ifndef __SOC_TEGRA_EMC_H__ | ||
10 | #define __SOC_TEGRA_EMC_H__ | ||
11 | |||
12 | struct tegra_emc; | ||
13 | |||
14 | int tegra_emc_prepare_timing_change(struct tegra_emc *emc, | ||
15 | unsigned long rate); | ||
16 | void tegra_emc_complete_timing_change(struct tegra_emc *emc, | ||
17 | unsigned long rate); | ||
18 | |||
19 | #endif /* __SOC_TEGRA_EMC_H__ */ | ||