Skip to content

Commit f65cfec

Browse files
committed
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
Pull clk fixes from Stephen Boyd: - a modified revert of a patch that made new choices come out for a couple stm32 clk drivers that really always need to be there when that particular machine is compiled in - boot fix on i.MX for Stefan who noticed odd behavior from the critical flag patch that came in during the merge window * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux: clk: stm32: fix: stm32 clock drivers are not compiled by default clk: imx6ull: use OSC clock during AXI rate change
2 parents 6d16db0 + 9a16060 commit f65cfec

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

drivers/clk/Kconfig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,13 @@ config COMMON_CLK_STM32MP157
266266
Support for stm32mp157 SoC family clocks
267267

268268
config COMMON_CLK_STM32F
269-
bool "Clock driver for stm32f4 and stm32f7 SoC families"
270-
depends on MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746
269+
def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
271270
help
272271
---help---
273272
Support for stm32f4 and stm32f7 SoC families clocks
274273

275274
config COMMON_CLK_STM32H7
276-
bool "Clock driver for stm32h7 SoC family"
277-
depends on MACH_STM32H743
275+
def_bool COMMON_CLK && MACH_STM32H743
278276
help
279277
---help---
280278
Support for stm32h7 SoC family clocks

drivers/clk/imx/clk-imx6ul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ static void __init imx6ul_clocks_init(struct device_node *ccm_node)
464464
clk_set_rate(clks[IMX6UL_CLK_AHB], 99000000);
465465

466466
/* Change periph_pre clock to pll2_bus to adjust AXI rate to 264MHz */
467-
clk_set_parent(clks[IMX6UL_CLK_PERIPH_CLK2_SEL], clks[IMX6UL_CLK_PLL3_USB_OTG]);
467+
clk_set_parent(clks[IMX6UL_CLK_PERIPH_CLK2_SEL], clks[IMX6UL_CLK_OSC]);
468468
clk_set_parent(clks[IMX6UL_CLK_PERIPH], clks[IMX6UL_CLK_PERIPH_CLK2]);
469469
clk_set_parent(clks[IMX6UL_CLK_PERIPH_PRE], clks[IMX6UL_CLK_PLL2_BUS]);
470470
clk_set_parent(clks[IMX6UL_CLK_PERIPH], clks[IMX6UL_CLK_PERIPH_PRE]);

0 commit comments

Comments
 (0)