Module Name: src Committed By: macallan Date: Mon Sep 16 23:37:13 UTC 2024
Modified Files: src/sys/arch/arm/sunxi: sunxi_ccu.h Log Message: set CLK_SET_RATE_PARENT for mux type clocks so clk_set_rate() can work with this my pinebook can change cpu speed again ok jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/sunxi/sunxi_ccu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/sunxi/sunxi_ccu.h diff -u src/sys/arch/arm/sunxi/sunxi_ccu.h:1.23 src/sys/arch/arm/sunxi/sunxi_ccu.h:1.24 --- src/sys/arch/arm/sunxi/sunxi_ccu.h:1.23 Sun Nov 7 17:13:12 2021 +++ src/sys/arch/arm/sunxi/sunxi_ccu.h Mon Sep 16 23:37:13 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: sunxi_ccu.h,v 1.23 2021/11/07 17:13:12 jmcneill Exp $ */ +/* $NetBSD: sunxi_ccu.h,v 1.24 2024/09/16 23:37:13 macallan Exp $ */ /*- * Copyright (c) 2017 Jared McNeill <jmcne...@invisible.ca> @@ -432,6 +432,7 @@ const char *sunxi_ccu_mux_get_parent(str [_id] = { \ .type = SUNXI_CCU_MUX, \ .base.name = (_name), \ + .base.flags = CLK_SET_RATE_PARENT, \ .u.mux.reg = (_reg), \ .u.mux.parents = (_parents), \ .u.mux.nparents = __arraycount(_parents), \