[PATCH] (v2) drivers: clk: make gpio-gated clock support optional
Stephen Boyd
sboyd at kernel.org
Tue Nov 17 20:42:15 EST 2020
Quoting Enrico Weigelt, metux IT consult (2020-11-17 08:03:06)
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index c715d4681a0b..99e0188a15be 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -38,6 +38,14 @@ menuconfig COMMON_CLK
>
> if COMMON_CLK
>
> +config COMMON_CLK_GPIO
> + tristate "GPIO gated clock support"
> + default y
Maybe 'default GPIOLIB'?
> + select gpiolib
Does lowercase work here?
> + help
> + Supports gpio gated clocks, which can be enabled/disabled via
> + gpio output.
> +
> config COMMON_CLK_WM831X
> tristate "Clock driver for WM831x/2x PMICs"
> depends on MFD_WM831X
More information about the linux-riscv
mailing list