Skip to content

Commit

Permalink
[driver] clk 1200M -> 800M
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru committed Jan 4, 2024
1 parent 40f1760 commit 3e71de9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/sun55iw3/sys-clk.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void sunxi_clk_dump() {
p0 = ((reg32 >> 16) & 0x03) + 1;
p1 = ((reg32 >> 20) & 0x03) + 1;

printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI0 (2X)=%luMHz, (1X)=%luMHz, (1200M)=%luMHz\r\n", (24 * plln) / (pllm * p0),
printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI0 (2X)=%luMHz, (1X)=%luMHz, (800M)=%luMHz\r\n", (24 * plln) / (pllm * p0),
(24 * plln) / (pllm * p0) >> 1, (24 * plln) / (pllm * p1));
} else {
printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI0 disabled\r\n");
Expand All @@ -381,7 +381,7 @@ void sunxi_clk_dump() {
p0 = ((reg32 >> 16) & 0x03) + 1;
p1 = ((reg32 >> 20) & 0x03) + 1;

printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI1 (2X)=%luMHz, (1X)=%luMHz, (1200M)=%luMHz\r\n", (24 * plln) / (pllm * p0),
printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI1 (2X)=%luMHz, (1X)=%luMHz, (800M)=%luMHz\r\n", (24 * plln) / (pllm * p0),
(24 * plln) / (pllm * p0) >> 1, (24 * plln) / (pllm * p1));
} else {
printk(LOG_LEVEL_DEBUG, "CLK: PLL_PERI1 disabled\r\n");
Expand Down

0 comments on commit 3e71de9

Please sign in to comment.