Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755114AbbFQVVG (ORCPT ); Wed, 17 Jun 2015 17:21:06 -0400 Received: from mail-bl2on0138.outbound.protection.outlook.com ([65.55.169.138]:43040 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753205AbbFQVU4 (ORCPT ); Wed, 17 Jun 2015 17:20:56 -0400 Authentication-Results: tiscali.nl; dkim=none (message not signed) header.d=none; Message-ID: <5581E4B5.9070607@freescale.com> Date: Wed, 17 Jun 2015 14:20:53 -0700 From: York Sun User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: CC: , Paul Bolle Subject: Re: [RFC] drivers/clk/Kconfig: Change COMMON_CLK to tristate References: <1434567707-9352-1-git-send-email-yorksun@freescale.com> In-Reply-To: <1434567707-9352-1-git-send-email-yorksun@freescale.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.88.168.49] X-ClientProxiedBy: DM2PR21CA0025.namprd21.prod.outlook.com (25.161.137.163) To BN1PR03MB154.namprd03.prod.outlook.com (10.255.201.18) X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB154;2:KuI09q4oE2edREqGfKOwMc8ax5roV8H8VHdf9E8LsWDYqZ8pSCDp01n//xcy3kbH;2:HRAvaAS4GOpxzpvnDl33BuawzHvCUSEAtyaCh1H0p6RxurskwtK6GV4CfWd3qsWR4TvQz2fX8wIG81n2+x+u93NkNoSwvEd+w/R6nkPyGccQcsmbxSaJxFoAU1r/0WhoohR8rVekAJGLIkKqjyMXiA==;6:dpkoY91F6eFQ5iwwA52nBDo4jXH7L1Ys8i70ZkSFVY+4O+LV+MANiXDBUS7rqhGYpch1QwJU4RF3Ak5LyXHCFE15RQdgoSGTm/Q8Q1g6DJst4pLMHeQngZq67PfCoc5OMys36auF/tmYD+A8XoNbib3k2NBFuHOUFGmb+StMGdaGz4J9Z1oeUkpIQ57ZGSsx6U//de+LLumOSGlZufH++Gn13VSmXyozbI6VL2D3V9HdfmTilZz9IyiY0+yHoMOUDbwZ0Qqi3xNPcOYN1ZZBTYDzOOIuDYL/qPQjQThqn1QSkO2+qP7yTaHMVoLYOXHCBEzanAaFSf1uIpzMIGdXnYNeUU89lqLWHhdrO7oj1CjigLRYN0RvMvWPtKj8NqJZrbm7ra2DFZ30ERxjZUV+ee0XJiRkKEojONsJIsovIC8p0+pGpHIw2/uUJdshtfcSy/6TEtub/bHSLTvz8Xfw9kq3dnz6H1woH2R1FWXf6zqWBFi7vY/WLZH5QUY6NB09Qn7nMKttxvhwXqw+jA626FxWp7pWROXHfQR7w+78xJfj3BrnJ6nxedl3tJqsF6UWJ3+RFT/bLvBJrMp5L9+ZKj1IWB6uK0AXf/a97+UZpqU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB154; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BN1PR03MB154;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB154; X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB154;3:Qg6O3bYlhkJ1ClohYfD5Zi38jdskswk1DwBKFMhHuXlf3nWSUCSJ/DVFip2vIn05YoDztWnlzFGW779Rn7+3X/a2C6rBfG5vgz/tN0JEXxyab56aywleUs7r8tZnI1IHuPvXQiM9hJZkj1AaOuKIsd+3F2HRnik2eLnFtC3vkux6/nHRA5+WHzfcZT+oPG1RCduyn6VlkNBSoG1YutWq7pP8Cw2ETHcrOvrWpkiU3FZC+LBVSA7A9eVQVPLdCg9PreXbT8hdHKfwFvTYRwkE7bxrc3+heEiYwKxht9kG02WfXl0q40Je4Mg/UsjlI/Uw X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6049001)(6009001)(51704005)(479174004)(377454003)(24454002)(65956001)(46102003)(65806001)(2351001)(66066001)(47776003)(59896002)(33656002)(83506001)(110136002)(5001960100002)(36756003)(122386002)(40100003)(42186005)(23746002)(77096005)(87976001)(86362001)(575784001)(50466002)(19580395003)(19580405001)(65816999)(4001350100001)(87266999)(54356999)(76176999)(62966003)(77156002)(92566002)(50986999)(2950100001)(189998001)(64126003);DIR:OUT;SFP:1102;SCL:1;SRVR:BN1PR03MB154;H:[10.214.81.216];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;BN1PR03MB154;9:OS10bdDJxxKZGxO5joASLv78Z8idrReTpoV49mw?= =?Windows-1252?Q?JUcXg/Qb/R1qYtue4YI0qScPH+USCdOvehrMt3Xa0NeOsv436NAWvmpN?= =?Windows-1252?Q?EVdPEAQL9Fd7BlWt2vYwqQ1mGJ4MWiHBf8I4eopW3ywjrA9tXT/GxHLb?= =?Windows-1252?Q?xzDxuv0FxcyYndCJSGoK1Eqle1OAliK/JeJQ8opJJl+VJYAqq/4yWJZQ?= =?Windows-1252?Q?XKQKPup0TWp8BiLZF56rLwrAwiVTRPLnF8UMlwUhZmSRZMQzMvuW9tF7?= =?Windows-1252?Q?u2Zn5R/0ToHsmmZyhE6yAOUfYXnGjwSfinrHqxzlxUAkb9doocWQn/Mz?= =?Windows-1252?Q?TRZpvvk6zuU5GctORnAWHIk5fQdc4arG5iqcJiMtsraCBZnnthFpiLFD?= =?Windows-1252?Q?3JQE0YLzMQ+dimgwYt3R+0I5joO4NC/q0Ix1lx2Sduvf4OW0Aj9qjSJZ?= =?Windows-1252?Q?VHIQ3QU8TTnzAFxGHjX02uU4Y2xKO0jgSPCuPYItqCk7ZcaN92zJcCzC?= =?Windows-1252?Q?jhIAMxdVVnenz2bSp+JGNDNZRyNquy2EOh8iAI4e+q1xLAWA2gbM1wiZ?= =?Windows-1252?Q?IEtQYQWy2W4RCjHO9TtDRSCoUnrsmdPHzoX0kOphBp6XBgE+pxhgMTTN?= =?Windows-1252?Q?+LR0bWSl6frLh9iVEBBDIkd1gC0/b359m4gwaZQGQajg/gdUdJngDC5P?= =?Windows-1252?Q?y+hK8Ikg079rje3sejbvqNGeXQEm3NZGPNG2qvyaOl3sebToDXS8aBis?= =?Windows-1252?Q?71cfPgp8/qf4+UU+iUiwCvH7Ghx4qLJFD5zAhozXDC3kWfYtJn8gxJSK?= =?Windows-1252?Q?lGVGm6OkKBQiAOWc+2D14Z/KmjkYeau6vd3ufKSzjNpggOduqkQBXanM?= =?Windows-1252?Q?eV93cQ3nsT/kKGpyW9EOs6KCdreTK9Jqq5jDt8oBu2ul/wbmPts327vE?= =?Windows-1252?Q?vQ/0y21CRPgC98gWzqcDHvW+Y7S3KqDdH7vwVK/FC78T6MEoayeeGxSH?= =?Windows-1252?Q?v2YLcncPQU9NsRNwyw6l1Zko1GFu1C+i4v+mS7JzuHmetq975nbEDxS+?= =?Windows-1252?Q?KItsw/BZgwLgqGW0LQXhqxcb+2AePiOKBwDeZ5WVyJ0eX0QwhKBujshe?= =?Windows-1252?Q?ea+VQD4LxdsolrB5i/JxS/oOgyayzf8FEoIho6LK+?= X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB154;3:2JcqL0aDVGhMH/6l6d1u6l+FlZxcFSReUUKFHe/+qeQmVjhP4uJE4m1IWhTk/x70ruQxhmN/T1y4xz8EFtO1O6eV6/q1RPIjwx0H/6VxnoHuIT4ObLV42QXQtCUdqgeRgmiXiEIWWN+YzzBO7KUiWw==;10:F5LaJUWaYValQnz6tZn+PqbcMY9oWIgb0aBq4uL+TcqQ3CTVUwp9xYY60tt6VFc7/n9fVj6SIdMq6MTs9kbUPqqHqsa99e9w4pEG1IpxfZs=;6:64YQGHUxB95bNLxjAJces8BzIAwKxAZ0+EDVYLtmP/LZJGEVq2bWMPvdL3egmSdL X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2015 21:20:54.0437 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR03MB154 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1370 Lines: 44 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 > CC: Paul Bolle > CC: Mike Turquette > --- > 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/