clk: tegra: Fix 26 MHz oscillator frequency
authorThierry Reding <treding@nvidia.com>
Wed, 18 Nov 2015 12:23:46 +0000 (13:23 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 18 Nov 2015 13:59:22 +0000 (14:59 +0100)
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>
drivers/clk/tegra/clk-tegra114.c
drivers/clk/tegra/clk-tegra124.c
drivers/clk/tegra/clk-tegra30.c

index b7d03e9..9a50471 100644 (file)
@@ -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)
index 87975f7..9b78e1c 100644 (file)
@@ -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 = {
index b90db61..c1d065d 100644 (file)
@@ -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 = {