* [PATCH] clk: sunxi-ng: Add machine dependency to A83T CCU
@ 2021-09-02 23:02 Samuel Holland
2021-09-03 8:53 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Holland @ 2021-09-02 23:02 UTC (permalink / raw)
To: Maxime Ripard, Chen-Yu Tsai, Jernej Skrabec, Michael Turquette,
Stephen Boyd
Cc: linux-arm-kernel, linux-clk, linux-sunxi, linux-kernel, Samuel Holland
The CCUs for all other 32-bit SoCs have a dependency on a specific
MACH_SUNxI symbol. This effectively hides these drivers when building
an ARCH=arm64 kernel. However, the A83T CCU still shows up because it
is missing this dependency. Let's add it for consistency.
Signed-off-by: Samuel Holland <samuel@sholland.org>
---
drivers/clk/sunxi-ng/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/sunxi-ng/Kconfig b/drivers/clk/sunxi-ng/Kconfig
index cd46d8853876..e76e1676f0f0 100644
--- a/drivers/clk/sunxi-ng/Kconfig
+++ b/drivers/clk/sunxi-ng/Kconfig
@@ -71,6 +71,7 @@ config SUN8I_A33_CCU
config SUN8I_A83T_CCU
bool "Support for the Allwinner A83T CCU"
default MACH_SUN8I
+ depends on MACH_SUN8I || COMPILE_TEST
config SUN8I_H3_CCU
bool "Support for the Allwinner H3 CCU"
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: sunxi-ng: Add machine dependency to A83T CCU
2021-09-02 23:02 [PATCH] clk: sunxi-ng: Add machine dependency to A83T CCU Samuel Holland
@ 2021-09-03 8:53 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2021-09-03 8:53 UTC (permalink / raw)
To: Samuel Holland
Cc: Chen-Yu Tsai, Jernej Skrabec, Michael Turquette, Stephen Boyd,
linux-arm-kernel, linux-clk, linux-sunxi, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 428 bytes --]
On Thu, Sep 02, 2021 at 06:02:00PM -0500, Samuel Holland wrote:
> The CCUs for all other 32-bit SoCs have a dependency on a specific
> MACH_SUNxI symbol. This effectively hides these drivers when building
> an ARCH=arm64 kernel. However, the A83T CCU still shows up because it
> is missing this dependency. Let's add it for consistency.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
Applied, thanks
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-03 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 23:02 [PATCH] clk: sunxi-ng: Add machine dependency to A83T CCU Samuel Holland
2021-09-03 8:53 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).