From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751120AbcC2EEB (ORCPT ); Tue, 29 Mar 2016 00:04:01 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:62706 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750708AbcC2ED7 (ORCPT ); Tue, 29 Mar 2016 00:03:59 -0400 X-AuditID: cbfec7f4-f796c6d000001486-38-56f9feab7db3 Subject: Re: [PATCH 2/3] cpufreq: dt: Add generic platform-device creation support To: Viresh Kumar , Rafael Wysocki , arnd.bergmann@linaro.org References: Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, kgene.kim@samsung.com, xf@rock-chips.com, heiko@sntech.de, mmcclint@codeaurora.org, linux-kernel@vger.kernel.org From: Krzysztof Kozlowski Message-id: <56F9FEA7.60608@samsung.com> Date: Tue, 29 Mar 2016 13:03:51 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrDLMWRmVeSWpSXmKPExsVy+t/xq7qr//0MM+iZrG+xssfb4v+j16wW r18YWvQuuMpm8f7QM2aLy7vmsFl87j3CaPHpzUQmizOnL7FabPzqYbF1Sw+7A7fH5b5eJo87 1/awedz+95jZY8vVdhaPv7P2s3j0bVnF6LH92jxmj8+b5AI4orhsUlJzMstSi/TtErgyjvW0 shSs4KzYcPodewPjCvYuRk4OCQETiSU32hghbDGJC/fWs3UxcnEICSxllJh1/isThPOUUeLb qfdMIFXCAiESW9/vYQWxRQSyJP5c+wbV0cco8e/DTrAOZoFNjBJTT+wHq2ITMJbYvHwJG4jN K6AhsXbqOrA4i4CqxNZ3l8CmigpESDyZe5IRokZQ4sfkeywgNqdAgsSh6/eYuxg5gIbqSdy/ qAUSZhaQl9i85i3zBEaBWUg6ZiFUzUJStYCReRWjaGppckFxUnquoV5xYm5xaV66XnJ+7iZG SJx82cG4+JjVIUYBDkYlHt6IRT/DhFgTy4orcw8xSnAwK4nw/vwDFOJNSaysSi3Kjy8qzUkt PsQozcGiJM47d9f7ECGB9MSS1OzU1ILUIpgsEwenVAOj7DTluzmsuQUt16ou/euNcHxfbnOZ +f1OGT3t1Tu+dS9MqpmwVOtRRmiR5v8zUwV+Nz8TiY/bEnyjsuWTea2bTMexFU8L3r6QEXNe UO2rLvZdbdnbO61pPQH3EnZbVtyQfCEWfWnW2edpSS0LVFnZWO6d0PCdXSepsV/dqmey8mHD qzsKN3xQYinOSDTUYi4qTgQAY2JN1I8CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.03.2016 15:40, Viresh Kumar wrote: > Multiple platforms are using the generic cpufreq-dt driver now, and all > of them are required to create a platform device with name "cpufreq-dt", > in order to get the cpufreq-dt probed. > > Many of them do it from platform code, others have special drivers just > to do that. > > It would be more sensible to do this at a generic place, where all such > platform can mark their entries. > > This patch adds a separate file to get this device created. Currently > the compat list of platforms that we support is empty, and will be > filled in as and when we move platforms to use it. > > It always compiles as part of the kernel and so doesn't need a > module-exit operation. > > Signed-off-by: Viresh Kumar > --- > drivers/cpufreq/Kconfig | 11 +++++++++ > drivers/cpufreq/Makefile | 1 + > drivers/cpufreq/cpufreq-dt-platdev.c | 48 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 60 insertions(+) > create mode 100644 drivers/cpufreq/cpufreq-dt-platdev.c Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof