linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC
@ 2021-06-01  7:10 Seiya Wang
  2021-06-01  7:10 ` [RESEND 2/2] dt-bindings: cpufreq: update cpu type and clock name " Seiya Wang
  2021-06-04  3:55 ` [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL " Viresh Kumar
  0 siblings, 2 replies; 3+ messages in thread
From: Seiya Wang @ 2021-06-01  7:10 UTC (permalink / raw)
  To: Rafael J . Wysocki, Viresh Kumar, Rob Herring, Matthias Brugger
  Cc: Seiya Wang, linux-pm, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, srv_heupstream

Remove CLK_INFRA_CA57SEL for MT8173 since it's no longer used.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
---
 include/dt-bindings/clock/mt8173-clk.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/dt-bindings/clock/mt8173-clk.h b/include/dt-bindings/clock/mt8173-clk.h
index 3acebe937bfc..3d00c98b9654 100644
--- a/include/dt-bindings/clock/mt8173-clk.h
+++ b/include/dt-bindings/clock/mt8173-clk.h
@@ -186,7 +186,6 @@
 #define CLK_INFRA_PMICWRAP		11
 #define CLK_INFRA_CLK_13M		12
 #define CLK_INFRA_CA53SEL               13
-#define CLK_INFRA_CA57SEL               14 /* Deprecated. Don't use it. */
 #define CLK_INFRA_CA72SEL               14
 #define CLK_INFRA_NR_CLK                15
 
-- 
2.14.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [RESEND 2/2] dt-bindings: cpufreq: update cpu type and clock name for MT8173 SoC
  2021-06-01  7:10 [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC Seiya Wang
@ 2021-06-01  7:10 ` Seiya Wang
  2021-06-04  3:55 ` [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL " Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Seiya Wang @ 2021-06-01  7:10 UTC (permalink / raw)
  To: Rafael J . Wysocki, Viresh Kumar, Rob Herring, Matthias Brugger
  Cc: Seiya Wang, linux-pm, devicetree, linux-kernel, linux-arm-kernel,
	linux-mediatek, srv_heupstream

Update the cpu type of cpu2 and cpu3 since MT8173 used Cortex-a72.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
---
 Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt
index ea4994b35207..ef68711716fb 100644
--- a/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt
+++ b/Documentation/devicetree/bindings/cpufreq/cpufreq-mediatek.txt
@@ -202,11 +202,11 @@ Example 2 (MT8173 SoC):
 
 	cpu2: cpu@100 {
 		device_type = "cpu";
-		compatible = "arm,cortex-a57";
+		compatible = "arm,cortex-a72";
 		reg = <0x100>;
 		enable-method = "psci";
 		cpu-idle-states = <&CPU_SLEEP_0>;
-		clocks = <&infracfg CLK_INFRA_CA57SEL>,
+		clocks = <&infracfg CLK_INFRA_CA72SEL>,
 			 <&apmixedsys CLK_APMIXED_MAINPLL>;
 		clock-names = "cpu", "intermediate";
 		operating-points-v2 = <&cpu_opp_table_b>;
@@ -214,11 +214,11 @@ Example 2 (MT8173 SoC):
 
 	cpu3: cpu@101 {
 		device_type = "cpu";
-		compatible = "arm,cortex-a57";
+		compatible = "arm,cortex-a72";
 		reg = <0x101>;
 		enable-method = "psci";
 		cpu-idle-states = <&CPU_SLEEP_0>;
-		clocks = <&infracfg CLK_INFRA_CA57SEL>,
+		clocks = <&infracfg CLK_INFRA_CA72SEL>,
 			 <&apmixedsys CLK_APMIXED_MAINPLL>;
 		clock-names = "cpu", "intermediate";
 		operating-points-v2 = <&cpu_opp_table_b>;
-- 
2.14.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC
  2021-06-01  7:10 [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC Seiya Wang
  2021-06-01  7:10 ` [RESEND 2/2] dt-bindings: cpufreq: update cpu type and clock name " Seiya Wang
@ 2021-06-04  3:55 ` Viresh Kumar
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2021-06-04  3:55 UTC (permalink / raw)
  To: Seiya Wang
  Cc: Rafael J . Wysocki, Rob Herring, Matthias Brugger, linux-pm,
	devicetree, linux-kernel, linux-arm-kernel, linux-mediatek,
	srv_heupstream

On 01-06-21, 15:10, Seiya Wang wrote:
> Remove CLK_INFRA_CA57SEL for MT8173 since it's no longer used.
> 
> Acked-by: Rob Herring <robh@kernel.org>
> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
> Signed-off-by: Seiya Wang <seiya.wang@mediatek.com>
> ---
>  include/dt-bindings/clock/mt8173-clk.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/dt-bindings/clock/mt8173-clk.h b/include/dt-bindings/clock/mt8173-clk.h
> index 3acebe937bfc..3d00c98b9654 100644
> --- a/include/dt-bindings/clock/mt8173-clk.h
> +++ b/include/dt-bindings/clock/mt8173-clk.h
> @@ -186,7 +186,6 @@
>  #define CLK_INFRA_PMICWRAP		11
>  #define CLK_INFRA_CLK_13M		12
>  #define CLK_INFRA_CA53SEL               13
> -#define CLK_INFRA_CA57SEL               14 /* Deprecated. Don't use it. */
>  #define CLK_INFRA_CA72SEL               14
>  #define CLK_INFRA_NR_CLK                15

Applied both. Thanks.

-- 
viresh

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-06-04  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-01  7:10 [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL for MT8173 SoC Seiya Wang
2021-06-01  7:10 ` [RESEND 2/2] dt-bindings: cpufreq: update cpu type and clock name " Seiya Wang
2021-06-04  3:55 ` [RESEND 1/2] clk: mediatek: remove deprecated CLK_INFRA_CA57SEL " 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).