Lines Matching +full:mt8186 +full:- +full:topckgen
1 // SPDX-License-Identifier: GPL-2.0-only
4 // Author: Chun-Jie Chen <chun-jie.chen@mediatek.com>
6 #include <linux/clk-provider.h>
8 #include <dt-bindings/clock/mt8186-clk.h>
10 #include "clk-mtk.h"
11 #include "clk-mux.h"
503 * top_scp is main clock in always-on co-processor.
553 * top_sspm is main clock in always-on co-processor, should not be closed
567 * top_spm and top_srck are main clocks in always-on co-processor.
692 return -ENOMEM; in clk_mt8186_reg_mfg_mux_notifier()
698 return -EINVAL; in clk_mt8186_reg_mfg_mux_notifier()
700 mfg_mux_nb->ops = top_mtk_muxes[i].ops; in clk_mt8186_reg_mfg_mux_notifier()
701 mfg_mux_nb->bypass_index = 0; /* Bypass to 26M crystal */ in clk_mt8186_reg_mfg_mux_notifier()
721 { .compatible = "mediatek,mt8186-topckgen", .data = &topck_desc },
730 .name = "clk-mt8186-topck",
736 MODULE_DESCRIPTION("MediaTek MT8186 top clock generators driver");