diff options
author | Greentime Hu <greentime.hu@sifive.com> | 2021-05-04 12:59:35 +0200 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2021-05-04 13:26:09 +0200 |
commit | c61287bf17836b67e0b649343778bb4a659bd70d (patch) | |
tree | 5595fa2eb1f2bac2b6a9367a361facac2fd2cadd /drivers/clk/sifive/fu740-prci.h | |
parent | Linux 5.12-rc2 (diff) | |
download | linux-c61287bf17836b67e0b649343778bb4a659bd70d.tar.xz linux-c61287bf17836b67e0b649343778bb4a659bd70d.zip |
clk: sifive: Add pcie_aux clock in prci driver for PCIe driver
We add pcie_aux clock in this patch so that pcie driver can use
clk_prepare_enable() and clk_disable_unprepare() to enable and disable
pcie_aux clock.
Link: https://lore.kernel.org/r/20210504105940.100004-2-greentime.hu@sifive.com
Signed-off-by: Greentime Hu <greentime.hu@sifive.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sifive/fu740-prci.h')
-rw-r--r-- | drivers/clk/sifive/fu740-prci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/sifive/fu740-prci.h b/drivers/clk/sifive/fu740-prci.h index 13ef971f7764..511a0bf7ba2b 100644 --- a/drivers/clk/sifive/fu740-prci.h +++ b/drivers/clk/sifive/fu740-prci.h @@ -9,7 +9,7 @@ #include "sifive-prci.h" -#define NUM_CLOCK_FU740 8 +#define NUM_CLOCK_FU740 9 extern struct __prci_clock __prci_init_clocks_fu740[NUM_CLOCK_FU740]; |