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 b7d03e9add9759d92725cbf91b181f0ea3c5dff3..9a50471009d85cfe6ba8182098f0b60f0a4698d6 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 87975f7adddc024538f3824c4a6d4592be8ce7c7..9b78e1c77f77809855c9299768db54d19ec8a50b 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 b90db615c29e4a4a7ee057b69bec351fc38e4f94..c1d065d61156362d3ae8cf861f9e0cce11c292b6 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 = {