diff options
| author | Olof Johansson <olof@lixom.net> | 2012-02-26 14:43:43 -0800 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2012-02-26 14:43:43 -0800 |
| commit | 0f830e5c902106e7fe51460fd1e3263bea72bf41 (patch) | |
| tree | b83090bb272fce3ebda9aac311f2185ce78be7a3 /include/linux | |
| parent | 9335e9199bd059fc4f5e4e6fcfb9fca1d482e460 (diff) | |
| parent | bdc93a77da75ee421125896ce4bbd91afff63809 (diff) | |
Merge branch 'for-3.4/soc-drivers' into for-3.4/t30-smp
Conflicts:
arch/arm/mach-tegra/Makefile
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/tegra_emc.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/linux/platform_data/tegra_emc.h b/include/linux/platform_data/tegra_emc.h new file mode 100644 index 00000000000..df67505e98f --- /dev/null +++ b/include/linux/platform_data/tegra_emc.h @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2011 Google, Inc. + * + * Author: + * Colin Cross <ccross@android.com> + * Olof Johansson <olof@lixom.net> + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __TEGRA_EMC_H_ +#define __TEGRA_EMC_H_ + +#define TEGRA_EMC_NUM_REGS 46 + +struct tegra_emc_table { + unsigned long rate; + u32 regs[TEGRA_EMC_NUM_REGS]; +}; + +struct tegra_emc_pdata { + int num_tables; + struct tegra_emc_table *tables; +}; + +#endif |
