linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] cpufreq: mediatek: Add support for mt8167
@ 2020-10-13  9:27 Fabien Parent
  2020-10-13  9:27 ` [PATCH 2/2] cpufreq: blacklist mt8516 in cpufreq-dt-platdev Fabien Parent
  2020-10-28  6:08 ` [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Viresh Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Fabien Parent @ 2020-10-13  9:27 UTC (permalink / raw)
  To: linux-mediatek, linux-arm-kernel, linux-kernel, linux-pm
  Cc: matthias.bgg, viresh.kumar, rjw, Fabien Parent

Add compatible string for mediatek mt8167

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 drivers/cpufreq/mediatek-cpufreq.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 7d01df7bfa6c..b8d48ed37156 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
index 7d1212c9b7c8..c09bff86bb9b 100644
--- a/drivers/cpufreq/mediatek-cpufreq.c
+++ b/drivers/cpufreq/mediatek-cpufreq.c
@@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
 	{ .compatible = "mediatek,mt2712", },
 	{ .compatible = "mediatek,mt7622", },
 	{ .compatible = "mediatek,mt7623", },
+	{ .compatible = "mediatek,mt8167", },
 	{ .compatible = "mediatek,mt817x", },
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] cpufreq: blacklist mt8516 in cpufreq-dt-platdev
  2020-10-13  9:27 [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Fabien Parent
@ 2020-10-13  9:27 ` Fabien Parent
  2020-10-28  6:08 ` [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Fabien Parent @ 2020-10-13  9:27 UTC (permalink / raw)
  To: linux-mediatek, linux-arm-kernel, linux-kernel, linux-pm
  Cc: matthias.bgg, viresh.kumar, rjw, Fabien Parent

Add MT8516 to cpufreq-dt-platdev blacklist since the actual scaling is
handled by the 'mediatek-cpufreq' driver.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index b8d48ed37156..73cb8f2ad9d4 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -124,6 +124,7 @@ static const struct of_device_id blacklist[] __initconst = {
 	{ .compatible = "mediatek,mt8173", },
 	{ .compatible = "mediatek,mt8176", },
 	{ .compatible = "mediatek,mt8183", },
+	{ .compatible = "mediatek,mt8516", },
 
 	{ .compatible = "nvidia,tegra20", },
 	{ .compatible = "nvidia,tegra30", },
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] cpufreq: mediatek: Add support for mt8167
  2020-10-13  9:27 [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Fabien Parent
  2020-10-13  9:27 ` [PATCH 2/2] cpufreq: blacklist mt8516 in cpufreq-dt-platdev Fabien Parent
@ 2020-10-28  6:08 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2020-10-28  6:08 UTC (permalink / raw)
  To: Fabien Parent
  Cc: linux-mediatek, linux-arm-kernel, linux-kernel, linux-pm,
	matthias.bgg, rjw

On 13-10-20, 11:27, Fabien Parent wrote:
> Add compatible string for mediatek mt8167
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>
> ---
>  drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
>  drivers/cpufreq/mediatek-cpufreq.c   | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 7d01df7bfa6c..b8d48ed37156 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -119,6 +119,7 @@ static const struct of_device_id blacklist[] __initconst = {
>  	{ .compatible = "mediatek,mt2712", },
>  	{ .compatible = "mediatek,mt7622", },
>  	{ .compatible = "mediatek,mt7623", },
> +	{ .compatible = "mediatek,mt8167", },
>  	{ .compatible = "mediatek,mt817x", },
>  	{ .compatible = "mediatek,mt8173", },
>  	{ .compatible = "mediatek,mt8176", },
> diff --git a/drivers/cpufreq/mediatek-cpufreq.c b/drivers/cpufreq/mediatek-cpufreq.c
> index 7d1212c9b7c8..c09bff86bb9b 100644
> --- a/drivers/cpufreq/mediatek-cpufreq.c
> +++ b/drivers/cpufreq/mediatek-cpufreq.c
> @@ -532,6 +532,7 @@ static const struct of_device_id mtk_cpufreq_machines[] __initconst = {
>  	{ .compatible = "mediatek,mt2712", },
>  	{ .compatible = "mediatek,mt7622", },
>  	{ .compatible = "mediatek,mt7623", },
> +	{ .compatible = "mediatek,mt8167", },
>  	{ .compatible = "mediatek,mt817x", },
>  	{ .compatible = "mediatek,mt8173", },
>  	{ .compatible = "mediatek,mt8176", },

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-28 22:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13  9:27 [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Fabien Parent
2020-10-13  9:27 ` [PATCH 2/2] cpufreq: blacklist mt8516 in cpufreq-dt-platdev Fabien Parent
2020-10-28  6:08 ` [PATCH 1/2] cpufreq: mediatek: Add support for mt8167 Viresh Kumar

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).