summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-11-18 13:23:46 +0100
committerThierry Reding <treding@nvidia.com>2015-11-18 14:59:22 +0100
commitc4947e364b5096f00f3cfc0a7af2a4f688ffb919 (patch)
tree2fa93b12332b9be13a16926a4ef8afa831c43707 /drivers/clk
parent1d15cb9ce9a220192f672cd32369f8d3c7d3a89b (diff)
clk: tegra: Fix 26 MHz oscillator frequency
The OSC_FREQ field of the OSC_CTRL register uses the value 12 for an oscillator frequency of 26 MHz, not 260 MHz. This isn't really critical because I don't think boards with such an oscillator have ever existed, much less been supported upstream. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/tegra/clk-tegra114.c2
-rw-r--r--drivers/clk/tegra/clk-tegra124.c2
-rw-r--r--drivers/clk/tegra/clk-tegra30.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/tegra/clk-tegra114.c b/drivers/clk/tegra/clk-tegra114.c
index b7d03e9add97..9a50471009d8 100644
--- a/drivers/clk/tegra/clk-tegra114.c
+++ b/drivers/clk/tegra/clk-tegra114.c
@@ -625,7 +625,7 @@ static unsigned long tegra114_input_freq[] = {
[5] = 38400000,
[8] = 12000000,
[9] = 48000000,
- [12] = 260000000,
+ [12] = 26000000,
};
#define MASK(x) (BIT(x) - 1)
diff --git a/drivers/clk/tegra/clk-tegra124.c b/drivers/clk/tegra/clk-tegra124.c
index 87975f7adddc..9b78e1c77f77 100644
--- a/drivers/clk/tegra/clk-tegra124.c
+++ b/drivers/clk/tegra/clk-tegra124.c
@@ -156,7 +156,7 @@ static unsigned long tegra124_input_freq[] = {
[5] = 38400000,
[8] = 12000000,
[9] = 48000000,
- [12] = 260000000,
+ [12] = 26000000,
};
static struct div_nmp pllxc_nmp = {
diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c
index b90db615c29e..c1d065d61156 100644
--- a/drivers/clk/tegra/clk-tegra30.c
+++ b/drivers/clk/tegra/clk-tegra30.c
@@ -583,7 +583,7 @@ static unsigned long tegra30_input_freq[] = {
[5] = 38400000,
[8] = 12000000,
[9] = 48000000,
- [12] = 260000000,
+ [12] = 26000000,
};
static struct tegra_devclk devclks[] __initdata = {