]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: versal: Enable clock driver for Versal NET
authorJay Buddhabhatti <jay.buddhabhatti@amd.com>
Mon, 19 Sep 2022 12:21:05 +0000 (14:21 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 26 Sep 2022 12:23:29 +0000 (14:23 +0200)
Add support for Versal NET compatible string in clock driver.

Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20a35d0c1ffcc222fbe93dd406cdd0aff92f5223.1663589964.git.michal.simek@amd.com
drivers/clk/Kconfig
drivers/clk/clk_versal.c

index fd9e1a80c6aa0c2f4c24e22a15444577ac7f6acc..09aa97ee8c0e9673419f8ea1b97b3c5eb8a600a0 100644 (file)
@@ -184,7 +184,7 @@ config CLK_VERSACLOCK
 
 config CLK_VERSAL
        bool "Enable clock driver support for Versal"
-       depends on ARCH_VERSAL
+       depends on (ARCH_VERSAL || ARCH_VERSAL_NET)
        select ZYNQMP_FIRMWARE
        help
          This clock driver adds support for clock realted settings for
index a9dd57b098fe57fa3de28502a6a4f468902aafbc..b2f62061cea2768e89cad01e51bd3395622885a1 100644 (file)
@@ -739,6 +739,7 @@ static struct clk_ops versal_clk_ops = {
 
 static const struct udevice_id versal_clk_ids[] = {
        { .compatible = "xlnx,versal-clk" },
+       { .compatible = "xlnx,versal-net-clk" },
        { }
 };