Commit c4947e36 authored by Thierry Reding's avatar Thierry Reding

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: default avatarThierry Reding <treding@nvidia.com>
parent 1d15cb9c
...@@ -625,7 +625,7 @@ static unsigned long tegra114_input_freq[] = { ...@@ -625,7 +625,7 @@ static unsigned long tegra114_input_freq[] = {
[5] = 38400000, [5] = 38400000,
[8] = 12000000, [8] = 12000000,
[9] = 48000000, [9] = 48000000,
[12] = 260000000, [12] = 26000000,
}; };
#define MASK(x) (BIT(x) - 1) #define MASK(x) (BIT(x) - 1)
......
...@@ -156,7 +156,7 @@ static unsigned long tegra124_input_freq[] = { ...@@ -156,7 +156,7 @@ static unsigned long tegra124_input_freq[] = {
[5] = 38400000, [5] = 38400000,
[8] = 12000000, [8] = 12000000,
[9] = 48000000, [9] = 48000000,
[12] = 260000000, [12] = 26000000,
}; };
static struct div_nmp pllxc_nmp = { static struct div_nmp pllxc_nmp = {
......
...@@ -583,7 +583,7 @@ static unsigned long tegra30_input_freq[] = { ...@@ -583,7 +583,7 @@ static unsigned long tegra30_input_freq[] = {
[5] = 38400000, [5] = 38400000,
[8] = 12000000, [8] = 12000000,
[9] = 48000000, [9] = 48000000,
[12] = 260000000, [12] = 26000000,
}; };
static struct tegra_devclk devclks[] __initdata = { static struct tegra_devclk devclks[] __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment