Thread (22 messages) 22 messages, 3 authors, 2018-12-17

RE: [PATCH V9 1/7] clk: imx: add configuration option for mmio clks

From: Aisheng Dong <aisheng.dong@nxp.com>
Date: 2018-12-11 02:36:33
Also in: linux-clk

-----Original Message-----
From: Stephen Boyd [mailto:sboyd@kernel.org]
Sent: Tuesday, December 11, 2018 4:55 AM
[...]
Subject: Re: [PATCH V9 1/7] clk: imx: add configuration option for mmio clks

Quoting Aisheng DONG (2018-12-04 06:39:22)
quoted
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index c12a05c..303082c 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -570,6 +580,7 @@ config SOC_IMX7ULP  config SOC_VF610
        bool "Vybrid Family VF610 support"
        select ARM_GIC if ARCH_MULTI_V7
+       select MXC_CLK
        select PINCTRL_VF610
Instead of select can we break this dependency on the arch Kconfig and
have:

	config MXC_CLK
		def_bool ARCH_MXC && !ARM64
Thanks for the suggestion.
One little problem is that we also have LS1021 supported under ARCH_MXC which
does not use MXC_CLK.
 
quoted
diff --git a/drivers/clk/imx/Makefile b/drivers/clk/imx/Makefile index
5c0b11e..f850424 100644
--- a/drivers/clk/imx/Makefile
+++ b/drivers/clk/imx/Makefile
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0

-obj-y += \
+obj-$(CONFIG_MXC_CLK) += \
Because this changes to obj-$(CONFIG) we should change the
drivers/clk/Makefile to have obj-y for this Makefile instead of depending on
ARCH_MXC.
We also use ARCH_MXC for ARMv8 SoC clocks.

Regards
Dong Aisheng
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help