diff mbox series

[2/4] cpufreq: enable the DT cpufreq driver on the Ux500

Message ID 20170810125221.25818-3-linus.walleij@linaro.org
State Superseded
Headers show
Series Switch Ux500 to use generic DT cpufreq | expand

Commit Message

Linus Walleij Aug. 10, 2017, 12:52 p.m. UTC
This enables the generic DT and OPP-based cpufreq driver on the
ST-Ericsson Ux500 series.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/cpufreq/cpufreq-dt-platdev.c | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.9.4

Comments

Viresh Kumar Aug. 11, 2017, 5:17 a.m. UTC | #1
On 10-08-17, 14:52, Linus Walleij wrote:
> This enables the generic DT and OPP-based cpufreq driver on the

> ST-Ericsson Ux500 series.

> 

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  drivers/cpufreq/cpufreq-dt-platdev.c | 5 +++++

>  1 file changed, 5 insertions(+)

> 

> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c

> index 1c262923fe58..d80300251bc4 100644

> --- a/drivers/cpufreq/cpufreq-dt-platdev.c

> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c

> @@ -88,6 +88,11 @@ static const struct of_device_id machines[] __initconst = {

>  	{ .compatible = "socionext,uniphier-ld11", },

>  	{ .compatible = "socionext,uniphier-ld20", },

>  

> +	{ .compatible = "st-ericsson,u8500", },

> +	{ .compatible = "st-ericsson,u8540", },

> +	{ .compatible = "st-ericsson,u9500", },

> +	{ .compatible = "st-ericsson,u9540", },

> +

>  	{ .compatible = "ti,omap2", },

>  	{ .compatible = "ti,omap3", },

>  	{ .compatible = "ti,omap4", },


Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


-- 
viresh
diff mbox series

Patch

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 1c262923fe58..d80300251bc4 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -88,6 +88,11 @@  static const struct of_device_id machines[] __initconst = {
 	{ .compatible = "socionext,uniphier-ld11", },
 	{ .compatible = "socionext,uniphier-ld20", },
 
+	{ .compatible = "st-ericsson,u8500", },
+	{ .compatible = "st-ericsson,u8540", },
+	{ .compatible = "st-ericsson,u9500", },
+	{ .compatible = "st-ericsson,u9540", },
+
 	{ .compatible = "ti,omap2", },
 	{ .compatible = "ti,omap3", },
 	{ .compatible = "ti,omap4", },