[PATCH] (v2) drivers: clk: make gpio-gated clock support optional

Enrico Weigelt, metux IT consult lkml at metux.net
Thu Dec 3 09:44:40 EST 2020


On 18.11.20 02:42, Stephen Boyd wrote:
> 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


thanks, fixed it in v3.


BTW: just accidentially posted an outdated and broken version again
(some submit helper script was running wild :() - please ignore that.
the valid one is v3 from yesterday. sorry for the noise.


--mtx

-- 
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info at metux.net -- +49-151-27565287



More information about the linux-riscv mailing list