From: "Heiko Stübner" <heiko@sntech.de>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Rafael Wysocki <rjw@rjwysocki.net>,
linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org,
geert@linux-m68k.org, Finley Xiao <finley.xiao@rock-chips.com>,
Arnd Bergmann <arnd@arndb.de>,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 5/9] cpufreq: rockchip: Use generic platdev driver
Date: Fri, 22 Apr 2016 15:58:21 +0200 [thread overview]
Message-ID: <30472058.4UOVq5Spqx@diego> (raw)
In-Reply-To: <736a08a0210e7e8b33e82e5439b7c00b612d0eff.1461324267.git.viresh.kumar@linaro.org>
Am Freitag, 22. April 2016, 16:58:43 schrieb Viresh Kumar:
> From: Finley Xiao <finley.xiao@rock-chips.com>
>
> This patch add rockchip's compatible string to the compat list and
> remove similar code from platform code for supporting generic platdev
> driver.
>
> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
very cool to have that cpufreq stuff move somewhere else
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> ---
> arch/arm/mach-rockchip/rockchip.c | 1 -
> drivers/cpufreq/cpufreq-dt-platdev.c | 11 +++++++++++
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/rockchip.c
> b/arch/arm/mach-rockchip/rockchip.c index 3f07cc5dfe5f..beb71da5d9c8 100644
> --- a/arch/arm/mach-rockchip/rockchip.c
> +++ b/arch/arm/mach-rockchip/rockchip.c
> @@ -74,7 +74,6 @@ static void __init rockchip_dt_init(void)
> {
> rockchip_suspend_init();
> of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
> - platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
> }
>
> static const char * const rockchip_board_dt_compat[] = {
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c
> b/drivers/cpufreq/cpufreq-dt-platdev.c index 4e525f6ec59f..75fa921d8540
> 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -29,6 +29,17 @@ static const struct of_device_id machines[] __initconst =
> { { .compatible = "samsung,exynos5800", },
> #endif
>
> + { .compatible = "rockchip,rk2928", },
> + { .compatible = "rockchip,rk3036", },
> + { .compatible = "rockchip,rk3066a", },
> + { .compatible = "rockchip,rk3066b", },
> + { .compatible = "rockchip,rk3188", },
> + { .compatible = "rockchip,rk3228", },
> + { .compatible = "rockchip,rk3288", },
> + { .compatible = "rockchip,rk3366", },
> + { .compatible = "rockchip,rk3368", },
> + { .compatible = "rockchip,rk3399", },
> +
> { .compatible = "ti,omap2", },
> { .compatible = "ti,omap3", },
> { .compatible = "ti,omap4", },
next prev parent reply other threads:[~2016-04-22 13:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-22 11:28 [PATCH V2 0/9] cpufreq: dt: Don't create platform-device from platform code Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 1/9] cpufreq: dt: Mark platdev machines array as __initconst Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 2/9] cpufreq: berlin: Use generic platdev driver Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 3/9] cpufreq: imx: " Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 4/9] cpufreq: omap: " Viresh Kumar
[not found] ` <cover.1461324267.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-04-22 11:28 ` [PATCH V2 5/9] cpufreq: rockchip: " Viresh Kumar
2016-04-22 13:58 ` Heiko Stübner [this message]
2016-04-22 11:28 ` [PATCH V2 6/9] cpufreq: shmobile: " Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 7/9] cpufreq: sunxi: " Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 8/9] cpufreq: zynq: " Viresh Kumar
2016-04-22 11:28 ` [PATCH V2 9/9] cpufreq: hisilicon: " Viresh Kumar
2016-04-26 0:06 ` [PATCH V2 0/9] cpufreq: dt: Don't create platform-device from platform code Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30472058.4UOVq5Spqx@diego \
--to=heiko@sntech.de \
--cc=arnd@arndb.de \
--cc=finley.xiao@rock-chips.com \
--cc=geert@linux-m68k.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=rjw@rjwysocki.net \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).