xref: /openbmc/linux/drivers/clk/sifive/Kconfig (revision fb8b9d23)
130b8e27eSPaul Walmsley# SPDX-License-Identifier: GPL-2.0
230b8e27eSPaul Walmsley
330b8e27eSPaul Walmsleymenuconfig CLK_SIFIVE
430b8e27eSPaul Walmsley	bool "SiFive SoC driver support"
5*fb8b9d23SConor Dooley	depends on ARCH_SIFIVE || COMPILE_TEST
6*fb8b9d23SConor Dooley	default ARCH_SIFIVE
730b8e27eSPaul Walmsley	help
830b8e27eSPaul Walmsley	  SoC drivers for SiFive Linux-capable SoCs.
930b8e27eSPaul Walmsley
1030b8e27eSPaul Walmsleyif CLK_SIFIVE
1130b8e27eSPaul Walmsley
1228108fc8SZong Liconfig CLK_SIFIVE_PRCI
1328108fc8SZong Li	bool "PRCI driver for SiFive SoCs"
14*fb8b9d23SConor Dooley	default ARCH_SIFIVE
15e4d368e0SGreentime Hu	select RESET_CONTROLLER
16e4d368e0SGreentime Hu	select RESET_SIMPLE
1730b8e27eSPaul Walmsley	select CLK_ANALOGBITS_WRPLL_CLN28HPC
1830b8e27eSPaul Walmsley	help
1930b8e27eSPaul Walmsley	  Supports the Power Reset Clock interface (PRCI) IP block found in
20efc91ae4SZong Li	  FU540/FU740 SoCs. If this kernel is meant to run on a SiFive FU540/
21efc91ae4SZong Li	  FU740 SoCs, enable this driver.
2230b8e27eSPaul Walmsley
2330b8e27eSPaul Walmsleyendif
24