]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 19 Nov 2020 15:43:15 +0000 (17:43 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 19 Dec 2020 19:50:56 +0000 (11:50 -0800)
commitb904fbecae8e2e95d02b27a7fa6af9ab7b6cc7fb
tree16a07cc0ceafba9c7b38efc4cc60623835b90fda
parentfbb401c07e8e52155760a3ed41417c1aa8440c64
clk: at91: sama7g5: do not allow cpu pll to go higher than 1GHz

Since CPU PLL feeds both CPU clock and MCK0, MCK0 cannot go higher
than 200MHz and MCK0 maximum prescaller is 5 limit the CPU PLL at
1GHz to avoid MCK0 overclocking while CPU PLL is changed by DVFS.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1605800597-16720-10-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/sama7g5.c