Skip to content

Commit 5224b18

Browse files
MrVanabelvesa
authored andcommitted
clk: imx: add i.MX95 BLK CTL clk driver
i.MX95 has BLK CTL modules in various MIXes, the BLK CTL modules support clock features such as mux/gate/div. This patch is to add the clock feature of BLK CTL modules Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20240401-imx95-blk-ctl-v6-4-84d4eca1e759@nxp.com Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
1 parent c6e87b0 commit 5224b18

File tree

3 files changed

+446
-0
lines changed

3 files changed

+446
-0
lines changed

drivers/clk/imx/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ config CLK_IMX93
114114
help
115115
Build the driver for i.MX93 CCM Clock Driver
116116

117+
config CLK_IMX95_BLK_CTL
118+
tristate "IMX95 Clock Driver for BLK CTL"
119+
depends on ARCH_MXC || COMPILE_TEST
120+
select MXC_CLK
121+
help
122+
Build the clock driver for i.MX95 BLK CTL
123+
117124
config CLK_IMXRT1050
118125
tristate "IMXRT1050 CCM Clock Driver"
119126
depends on SOC_IMXRT || COMPILE_TEST

drivers/clk/imx/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ obj-$(CONFIG_CLK_IMX8MP) += clk-imx8mp.o clk-imx8mp-audiomix.o
3131
obj-$(CONFIG_CLK_IMX8MQ) += clk-imx8mq.o
3232

3333
obj-$(CONFIG_CLK_IMX93) += clk-imx93.o
34+
obj-$(CONFIG_CLK_IMX95_BLK_CTL) += clk-imx95-blk-ctl.o
3435

3536
obj-$(CONFIG_MXC_CLK_SCU) += clk-imx-scu.o clk-imx-lpcg-scu.o clk-imx-acm.o
3637
clk-imx-scu-$(CONFIG_CLK_IMX8QXP) += clk-scu.o clk-imx8qxp.o \

0 commit comments

Comments
 (0)