[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <56F9FEA7.60608@samsung.com>
Date: Tue, 29 Mar 2016 13:03:51 +0900
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Viresh Kumar <viresh.kumar@...aro.org>,
Rafael Wysocki <rjw@...ysocki.net>, arnd.bergmann@...aro.org
Cc: linaro-kernel@...ts.linaro.org, linux-pm@...r.kernel.org,
kgene.kim@...sung.com, xf@...k-chips.com, heiko@...ech.de,
mmcclint@...eaurora.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] cpufreq: dt: Add generic platform-device creation
support
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 <viresh.kumar@...aro.org>
> ---
> 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 <k.kozlowski@...sung.com>
Best regards,
Krzysztof
Powered by blists - more mailing lists