From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Cc: Lukasz Majewski <lukma@denx.de>, Sean Anderson <seanga2@gmail.com>
Subject: [PATCH 3/3] clk: Tighten some clock driver dependencies
Date: Tue, 1 Jul 2025 19:05:35 -0600 [thread overview]
Message-ID: <20250702010535.19250-3-trini@konsulko.com> (raw)
In-Reply-To: <20250702010535.19250-1-trini@konsulko.com>
A few clock drivers cannot build without access to some platform
specific header files. Express those requirements in Kconfig as well.
Signed-off-by: Tom Rini <trini@konsulko.com>
---
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Sean Anderson <seanga2@gmail.com>
---
drivers/clk/Kconfig | 2 +-
drivers/clk/at91/Kconfig | 2 +-
drivers/clk/sifive/Kconfig | 2 +-
drivers/clk/ti/Kconfig | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index ef1e5355be87..83f06f50478b 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -169,7 +169,7 @@ config CLK_K210_SET_RATE
config CLK_MPC83XX
bool "Enable MPC83xx clock driver"
- depends on CLK
+ depends on CLK && MPC83xx
help
Support for the clock driver of the MPC83xx series of SoCs.
diff --git a/drivers/clk/at91/Kconfig b/drivers/clk/at91/Kconfig
index 4563892647be..faeaa2808b03 100644
--- a/drivers/clk/at91/Kconfig
+++ b/drivers/clk/at91/Kconfig
@@ -1,6 +1,6 @@
config CLK_AT91
bool "AT91 clock drivers"
- depends on CLK
+ depends on CLK && ARCH_AT91
select MISC
help
This option is used to enable the AT91 clock driver.
diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig
index 20fc004b59e9..01e4f33415e1 100644
--- a/drivers/clk/sifive/Kconfig
+++ b/drivers/clk/sifive/Kconfig
@@ -2,7 +2,7 @@
config CLK_SIFIVE
bool "SiFive SoC driver support"
- depends on CLK
+ depends on CLK && RISCV
help
SoC drivers for SiFive Linux-capable SoCs.
diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig
index fbcdefd889ae..e0f15f57f826 100644
--- a/drivers/clk/ti/Kconfig
+++ b/drivers/clk/ti/Kconfig
@@ -5,14 +5,14 @@
config CLK_TI_AM3_DPLL
bool "TI AM33XX Digital Phase-Locked Loop (DPLL) clock drivers"
- depends on CLK && OF_CONTROL
+ depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS
help
This enables the DPLL clock drivers support on AM33XX SoCs. The DPLL
provides all interface clocks and functional clocks to the processor.
config CLK_TI_CTRL
bool "TI OMAP4 clock controller"
- depends on CLK && OF_CONTROL
+ depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS
help
This enables the clock controller driver support on TI's SoCs.
--
2.43.0
next prev parent reply other threads:[~2025-07-02 1:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-02 1:05 [PATCH 1/3] clk: Add missing <dm/device.h> to include/clk.h Tom Rini
2025-07-02 1:05 ` [PATCH 2/3] clk: clk-cdce9xx.c: Change from u32 to ulong for addresses Tom Rini
2025-07-14 10:35 ` Quentin Schulz
2025-07-14 14:03 ` Tom Rini
2025-07-17 15:08 ` Tom Rini
2025-07-17 15:19 ` Quentin Schulz
2025-07-17 18:05 ` Tom Rini
2025-07-02 1:05 ` Tom Rini [this message]
2025-10-28 23:57 ` (subset) [PATCH 1/3] clk: Add missing <dm/device.h> to include/clk.h Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250702010535.19250-3-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=lukma@denx.de \
--cc=seanga2@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox