git: d6756628767e - main - Fixed some clocks divide width.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Sep 2026 13:54:53 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=d6756628767ea82daa70c3cd1e0eca911e3539d8
commit d6756628767ea82daa70c3cd1e0eca911e3539d8
Author: priittrees <trees@neti.ee>
AuthorDate: 2026-06-19 13:51:28 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2026-09-01 13:54:13 +0000
Fixed some clocks divide width.
clk_cpll_div_333m_div, clk_cpll_div_125m_div, clk_cpll_div_50m_div,
clk_cpll_div_25m_div, clk_cpll_div_100m_div, clk_osc0_div_750k_div
did not respond Rockchip RK3568 TRM Part1 V1.1-20210301.pdf
documentation page 79. I changed them correctly.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2287
---
sys/dev/clk/rockchip/rk3568_cru.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sys/dev/clk/rockchip/rk3568_cru.c b/sys/dev/clk/rockchip/rk3568_cru.c
index 5f6eb766b4ee..9891adb26415 100644
--- a/sys/dev/clk/rockchip/rk3568_cru.c
+++ b/sys/dev/clk/rockchip/rk3568_cru.c
@@ -776,20 +776,20 @@ static struct rk_clk rk3568_clks[] = {
CDIV(0, "clk_cpll_div_500m_div", "cpll", 0, 78, 8, 5),
/* CRU_CLKSEL_CON79 */
- CDIV(0, "clk_cpll_div_333m_div", "cpll", 0, 79, 0, 6),
+ CDIV(0, "clk_cpll_div_333m_div", "cpll", 0, 79, 0, 5),
CDIV(0, "clk_cpll_div_250m_div", "cpll", 0, 79, 8, 5),
/* CRU_CLKSEL_CON80 */
- CDIV(0, "clk_cpll_div_125m_div", "cpll", 0, 80, 0, 6),
+ CDIV(0, "clk_cpll_div_125m_div", "cpll", 0, 80, 0, 5),
CDIV(0, "clk_cpll_div_62P5m_div", "cpll", 0, 80, 8, 5),
/* CRU_CLKSEL_CON81 */
- CDIV(0, "clk_cpll_div_50m_div", "cpll", 0, 81, 0, 6),
- CDIV(0, "clk_cpll_div_25m_div", "cpll", 0, 81, 8, 5),
+ CDIV(0, "clk_cpll_div_50m_div", "cpll", 0, 81, 0, 5),
+ CDIV(0, "clk_cpll_div_25m_div", "cpll", 0, 81, 8, 6),
/* CRU_CLKSEL_CON82 */
- CDIV(0, "clk_cpll_div_100m_div", "cpll", 0, 82, 0, 6),
- CDIV(0, "clk_osc0_div_750k_div", "xin24m", 0, 82, 8, 5),
+ CDIV(0, "clk_cpll_div_100m_div", "cpll", 0, 82, 0, 5),
+ CDIV(0, "clk_osc0_div_750k_div", "xin24m", 0, 82, 8, 6),
/* CRU_CLKSEL_CON83 */
CDIV(0, "clk_i2s3_2ch_rx_src_div", "clk_i2s3_2ch_rx_src_sel", 0, 83, 0, 7),