2 * Copyright (C) 2011 Google, Inc.
5 * Colin Cross <ccross@android.com>
7 * This software is licensed under the terms of the GNU General Public
8 * License version 2, as published by the Free Software Foundation, and
9 * may be copied, distributed, and modified under those terms.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
18 #define TEGRA_EMC_NUM_REGS 46
20 struct tegra_emc_table
{
22 u32 regs
[TEGRA_EMC_NUM_REGS
];
25 int tegra_emc_set_rate(unsigned long rate
);
26 long tegra_emc_round_rate(unsigned long rate
);
27 void tegra_init_emc(const struct tegra_emc_table
*table
, int table_size
);