drivers/clk/Kconfig: Change COMMON_CLK to tristate
Subsystems (2)
RFC 1/1 drivers/clk/Kconfig: Change COMMON_CLK to tristate
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.
--- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/Kconfig +1 -1
@@ -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
Signature · 1 line
1.7.9.5
Quoted 8 lines · York Sun
COMMON_CLKhas 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_CLKcan be selected individually as a tristate value.Signed-off-by York Sun <[email protected]>CC Paul Bolle <[email protected]>CC Mike Turquette <[email protected]>
Why do you CC the I2C list for clk patches??
Quoted 6 lines · Wolfram Sang
Quoted 5 lines · York Sun
COMMON_CLKhas 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_CLKcan be selected individually as a tristate value.
Quoted 6 lines
Quoted 3 lines
Signed-off-by York Sun <[email protected]>CC Paul Bolle <[email protected]>CC Mike Turquette <mturquette-rdvid1DuHRBWk0Htik3J/[email protected]>Why do you CC the I2C list for clk patches??
My apology for CC the wrong list.
It was firstly introduced in this patch http://patchwork.ozlabs.org/patch/485088/.
York
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
Quoted 26 lines · York Sun
COMMON_CLKhas 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_CLKcan be selected individually as a tristate value.Signed-off-by York Sun <[email protected]>CC Paul Bolle <[email protected]>CC Mike Turquette <[email protected]>--- drivers/clk/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/Kconfig +1
-1@@ -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
York,
Quoted 1 line · York Sun
Drop linux-i2c mailing list.
(Looking at MAINTAINERS suggests that, besides Michael, Stephen Boyd and the linux-clk mailing list actually care about the COMMON CLK FRAMEWORK.)
Quoted 1 line
Please review and tell me if this is a bad idea.
You waited less than three hours to ping us. That alone would be enough for most people to ignore your message.
Quoted 4 lines
I am working on a platform
COMMON_CLKis not enabled. The clock I need is on a PCIe card. I don't think modify platformKconfigis right. So modifyingdrivers/clk/Kconfigseems reasonable to me.
I have no idea what the problem is with COMMON_CLK for your driver. I found a long thread (about three weeks ago) concerning this problem. Apparently no solution was found. That's something you have to figure out with the people involved with the CCF, I can't help you there.
What I do know is that I told you already, yesterday, that changing COMMON_CLK to tristate is not needed for what it appears you want to do. And, more importantly, that it will likely break stuff left and right without additional changes (which this patch lacks).
Perhaps I was unclear. Ask for clarification if so. Perhaps I was wrong. Then you're free to correct me. But, please, rate limit your patch versions. You've sent a version on Monday, Tuesday, and Wednesday. That mainly will make people to filter out your patches. I won't be looking at a new version for another week now, sorry.
Thanks,
Paul Bolle
Paul,
Your review comments are very appreciated.
Quoted 8 lines · Paul Bolle
York,
Quoted 1 line · York Sun
Drop linux-i2c mailing list.
(Looking at
MAINTAINERSsuggests that, besides Michael, Stephen Boyd and the linux-clk mailing list actually care about the COMMON CLK FRAMEWORK.)
Great! Thanks for the pointer.
Quoted 16 lines
Quoted 2 lines
Please review and tell me if this is a bad idea.
You waited less than three hours to ping us. That alone would be enough for most people to ignore your message.
Quoted 4 lines
I am working on a platform
COMMON_CLKis not enabled. The clock I need is on a PCIe card. I don't think modify platformKconfigis right. So modifyingdrivers/clk/Kconfigseems reasonable to me.I have no idea what the problem is with
COMMON_CLKfor your driver. I found a long thread (about three weeks ago) concerning this problem. Apparently no solution was found. That's something you have to figure out with the people involved with the CCF, I can't help you there.
Quoted 4 lines
What I do know is that I told you already, yesterday, that changing
COMMON_CLKto tristate is not needed for what it appears you want to do. And, more importantly, that it will likely break stuff left and right without additional changes (which this patch lacks).
I will follow up with the right crowd.
Quoted 6 lines
Perhaps I was unclear. Ask for clarification if so. Perhaps I was wrong. Then you're free to correct me. But, please, rate limit your patch versions. You've sent a version on Monday, Tuesday, and Wednesday. That mainly will make people to filter out your patches. I won't be looking at a new version for another week now, sorry.
That's exactly the reason I separated the Kconfig. This is more generic than the clock driver I proposed.
Thanks again.
York