Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4947e36 authored by Thierry Reding's avatar Thierry Reding
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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 = {
+1 −1
Original line number Diff line number Diff line
@@ -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 = {