summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorPunit Agrawal <punit1.agrawal@toshiba.co.jp>2021-03-22 15:17:53 +0900
committerStephen Boyd <sboyd@kernel.org>2021-04-07 17:26:09 -0700
commitc3ce6a4a812b8426ee0c7877cbd0b413841e770f (patch)
tree6bc3dd5f0cd7ffa2cd4021f4b18d1773d797cb66 /drivers/clk
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-c3ce6a4a812b8426ee0c7877cbd0b413841e770f.tar.bz2
clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected
When booting the kernel on zynqmp based platforms such as Ultra96v2, peripheral drivers such as that for the sdcard depend on the presence of clocks. Enable the clock driver if it's dependencies are compiled to avoid building an unbootable kernel. Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp> Link: https://lore.kernel.org/r/20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/zynqmp/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
index 17086059be8b..14e4f5c55525 100644
--- a/drivers/clk/zynqmp/Kconfig
+++ b/drivers/clk/zynqmp/Kconfig
@@ -4,6 +4,7 @@ config COMMON_CLK_ZYNQMP
bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
depends on ARCH_ZYNQMP || COMPILE_TEST
depends on ZYNQMP_FIRMWARE
+ default ZYNQMP_FIRMWARE
help
Support for the Zynqmp Ultrascale clock controller.
It has a dependency on the PMU firmware.