mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 20:53:53 +08:00
c61287bf17
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>
22 lines
468 B
C
22 lines
468 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2020 SiFive, Inc.
|
|
* Zong Li
|
|
*/
|
|
|
|
#ifndef __SIFIVE_CLK_FU740_PRCI_H
|
|
#define __SIFIVE_CLK_FU740_PRCI_H
|
|
|
|
#include "sifive-prci.h"
|
|
|
|
#define NUM_CLOCK_FU740 9
|
|
|
|
extern struct __prci_clock __prci_init_clocks_fu740[NUM_CLOCK_FU740];
|
|
|
|
static const struct prci_clk_desc prci_clk_fu740 = {
|
|
.clks = __prci_init_clocks_fu740,
|
|
.num_clks = ARRAY_SIZE(__prci_init_clocks_fu740),
|
|
};
|
|
|
|
#endif /* __SIFIVE_CLK_FU740_PRCI_H */
|