Skip to contentSkip to conversation

cpufreq: qoriq: Add ls1028a chip support

PATCH Applied [email protected] 4 participants 6 messages Apr 24, 2019 – May 1, 2019 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: qoriq: Add ls1028a chip support

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +1 -0
index 4295e54..d308c4d 100644
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
 	{ .compatible = "fsl,ls1012a-clockgen", },
 	{ .compatible = "fsl,ls1021a-clockgen", },
+	{ .compatible = "fsl,ls1028a-clockgen", },
 	{ .compatible = "fsl,ls1043a-clockgen", },
 	{ .compatible = "fsl,ls1046a-clockgen", },
 	{ .compatible = "fsl,ls1088a-clockgen", },
Signature · 1 line
1.7.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · On 24-04-19, 10:32, [email protected] wrote:

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +0 -0
index 4295e54..d308c4d 100644

drivers/cpufreq/qoriq-cpufreq.c static int qoriq_cpufreq_target(struct cpufreq_policy *policy, · line 286

Quoted 7 lines
drivers/cpufreq/qoriq-cpufreq.c +1 -0
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
 	{ .compatible = "fsl,ls1012a-clockgen", },
 	{ .compatible = "fsl,ls1021a-clockgen", },
+	{ .compatible = "fsl,ls1028a-clockgen", },
 	{ .compatible = "fsl,ls1043a-clockgen", },
 	{ .compatible = "fsl,ls1046a-clockgen", },
 	{ .compatible = "fsl,ls1088a-clockgen", },
Signature · 1 line
viresh
#2 lore raw
Quoted 18 lines · Viresh Kumar
Quoted 16 lines · On 24-04-19, 10:32, [email protected] wrote:

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +0 -0
index 4295e54..d308c4d 100644
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
Quoted 8 lines

drivers/cpufreq/qoriq-cpufreq.c static int qoriq_cpufreq_target(struct cpufreq_policy *policy, · line 286

Quoted 6 lines
drivers/cpufreq/qoriq-cpufreq.c +1 -0
      { .compatible = "fsl,ls1012a-clockgen", },
      { .compatible = "fsl,ls1021a-clockgen", },
+     { .compatible = "fsl,ls1028a-clockgen", },
      { .compatible = "fsl,ls1043a-clockgen", },
      { .compatible = "fsl,ls1046a-clockgen", },
      { .compatible = "fsl,ls1088a-clockgen", },

So do you want me to take this one directly?

maintainer
#3 lore raw
Quoted 28 lines · Rafael J. Wysocki
Quoted 18 lines · Viresh Kumar
Quoted 16 lines · On 24-04-19, 10:32, [email protected] wrote:

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +0 -0
index 4295e54..d308c4d 100644
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
Quoted 8 lines

drivers/cpufreq/qoriq-cpufreq.c static int qoriq_cpufreq_target(struct cpufreq_policy *policy, · line 286

Quoted 6 lines
drivers/cpufreq/qoriq-cpufreq.c +1 -0
      { .compatible = "fsl,ls1012a-clockgen", },
      { .compatible = "fsl,ls1021a-clockgen", },
+     { .compatible = "fsl,ls1028a-clockgen", },
      { .compatible = "fsl,ls1043a-clockgen", },
      { .compatible = "fsl,ls1046a-clockgen", },
      { .compatible = "fsl,ls1088a-clockgen", },
Quoted 1 line

So do you want me to take this one directly?

I actually applied it and then realized it is powerpc and so dropped it. You want me to apply it ?

Signature · 1 line
viresh
#4 lore raw
Quoted 30 lines · Viresh Kumar
Quoted 28 lines · Rafael J. Wysocki
Quoted 26 lines · Viresh Kumar
Quoted 15 lines · On 24-04-19, 10:32, [email protected] wrote:

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +0 -0
index 4295e54..d308c4d 100644

drivers/cpufreq/qoriq-cpufreq.c static int qoriq_cpufreq_target(struct cpufreq_policy *policy, · line 286

Quoted 7 lines
drivers/cpufreq/qoriq-cpufreq.c +1 -0
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
      { .compatible = "fsl,ls1012a-clockgen", },
      { .compatible = "fsl,ls1021a-clockgen", },
+     { .compatible = "fsl,ls1028a-clockgen", },
      { .compatible = "fsl,ls1043a-clockgen", },
      { .compatible = "fsl,ls1046a-clockgen", },
      { .compatible = "fsl,ls1088a-clockgen", },
Quoted 4 lines
Quoted 1 line

So do you want me to take this one directly?

I actually applied it and then realized it is powerpc and so dropped it. You want me to apply it ?

No, I can do that, thanks!

#5 lore raw
Quoted 31 lines · CEST Rafael J. Wysocki
Quoted 30 lines · Viresh Kumar
Quoted 28 lines · Rafael J. Wysocki
Quoted 26 lines · Viresh Kumar
Quoted 15 lines · On 24-04-19, 10:32, [email protected] wrote:

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible string.

---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/qoriq-cpufreq.c +0 -0
index 4295e54..d308c4d 100644

drivers/cpufreq/qoriq-cpufreq.c static int qoriq_cpufreq_target(struct cpufreq_policy *policy, · line 286

Quoted 7 lines
drivers/cpufreq/qoriq-cpufreq.c +1 -0
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
 
      { .compatible = "fsl,ls1012a-clockgen", },
      { .compatible = "fsl,ls1021a-clockgen", },
+     { .compatible = "fsl,ls1028a-clockgen", },
      { .compatible = "fsl,ls1043a-clockgen", },
      { .compatible = "fsl,ls1046a-clockgen", },
      { .compatible = "fsl,ls1088a-clockgen", },
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

So do you want me to take this one directly?

I actually applied it and then realized it is powerpc and so dropped it. You want me to apply it ?

No, I can do that, thanks!

Applied, thanks!