mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Tomeu Vizoso <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
This commit is contained in:
parent
3d9dd6fdd2
commit
73a7f0a906
4 changed files with 1123 additions and 0 deletions
19
include/soc/tegra/emc.h
Normal file
19
include/soc/tegra/emc.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2014 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 version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __SOC_TEGRA_EMC_H__
|
||||
#define __SOC_TEGRA_EMC_H__
|
||||
|
||||
struct tegra_emc;
|
||||
|
||||
int tegra_emc_prepare_timing_change(struct tegra_emc *emc,
|
||||
unsigned long rate);
|
||||
void tegra_emc_complete_timing_change(struct tegra_emc *emc,
|
||||
unsigned long rate);
|
||||
|
||||
#endif /* __SOC_TEGRA_EMC_H__ */
|
||||
Loading…
Reference in a new issue