Messages in this thread | | | Date | Wed, 17 Jun 2015 14:20:53 -0700 | From | York Sun <> | Subject | Re: [RFC] drivers/clk/Kconfig: Change COMMON_CLK to tristate |
| |
Drop linux-i2c mailing list.
Michael/Paul,
Please review and tell me if this is a bad idea. I am working on a platform COMMON_CLK is not enabled. The clock I need is on a PCIe card. I don't think modify platform Kconfig is right. So modifying drivers/clk/Kconfig seems reasonable to me.
York
On 06/17/2015 12:01 PM, York Sun wrote: > COMMON_CLK has been a bool value, selected by the platforms who need > common clock framework. If a CCF driver is needed on an add-on device > such as PCIe card, COMMON_CLK can be selected individually as a > tristate value. > > Signed-off-by: York Sun <yorksun@freescale.com> > CC: Paul Bolle <pebolle@tiscali.nl> > CC: Mike Turquette <mturquette@baylibre.com> > --- > drivers/clk/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > index 32b2219..07f0b2f 100644 > --- a/drivers/clk/Kconfig > +++ b/drivers/clk/Kconfig > @@ -10,7 +10,7 @@ config HAVE_MACH_CLKDEV > bool > > config COMMON_CLK > - bool > + tristate "Common Clock" > select HAVE_CLK_PREPARE > select CLKDEV_LOOKUP > select SRCU >
| |