projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d06f7
)
clk: at91: sam9x60: fix main rc oscillator frequency
author
Claudiu Beznea
<claudiu.beznea@microchip.com>
Wed, 22 Jul 2020 07:38:15 +0000
(10:38 +0300)
committer
Stephen Boyd
<sboyd@kernel.org>
Fri, 24 Jul 2020 09:19:03 +0000
(
02:19
-0700)
Main RC oscillator frequency is 12MHz according to datasheet
(chapter 27.2).
Fixes: 01e2113de9a52 ("clk: at91: add sam9x60 pmc driver")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link:
https://lore.kernel.org/r/1595403506-8209-8-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sam9x60.c
patch
|
blob
|
history
diff --git
a/drivers/clk/at91/sam9x60.c
b/drivers/clk/at91/sam9x60.c
index 19945138123b4e3c7460efcff868bf448d963a47..d9f6d9ba1eca307b55a4427a009875f073624078 100644
(file)
--- a/
drivers/clk/at91/sam9x60.c
+++ b/
drivers/clk/at91/sam9x60.c
@@
-189,7
+189,7
@@
static void __init sam9x60_pmc_setup(struct device_node *np)
if (!sam9x60_pmc)
return;
- hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc",
24
000000,
+ hw = at91_clk_register_main_rc_osc(regmap, "main_rc_osc",
12
000000,
50000000);
if (IS_ERR(hw))
goto err_free;