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>
config CLK_CDCE9XX
bool "Enable CDCD9XX clock driver"
- depends on CLK
+ depends on CLK && ARCH_OMAP2PLUS
help
Enable the clock synthesizer driver for CDCE913/925/937/949
series of chips.
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.
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.
config CLK_SIFIVE
bool "SiFive SoC driver support"
- depends on CLK
+ depends on CLK && RISCV
help
SoC drivers for SiFive Linux-capable SoCs.
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.