Skip to contentSkip to conversation

ARM: dts: qcom: apq8064: correct clock names

PATCH In review David Heidelberg 3 participants 3 messages Jul 7, 2021 – Aug 5, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: qcom: apq8064: correct clock names

Since new code doesn't take old clk names in account, it does fixes error:

msm_dsi 4700000.mdss_dsi: dev_pm_opp_set_clkname: Couldn't find clock: -2

and following kernel oops introduced by
b0530eb1191 ("drm/msm/dpu: Use OPP API to set clk/perf state").

Also removes warning about deprecated clock names.

Tested against linux-5.10.y LTS on Nexus 7 2013.

---
- v2 improved commit message, added R-b

 arch/arm/boot/dts/qcom-apq8064.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/qcom-apq8064.dtsi +3 -3
index 6005620ac297..96b7755afabf 100644
@@ -1262,9 +1262,9 @@ dsi0: mdss_dsi@4700000 {
 				<&mmcc DSI1_BYTE_CLK>,
 				<&mmcc DSI_PIXEL_CLK>,
 				<&mmcc DSI1_ESC_CLK>;
-			clock-names = "iface_clk", "bus_clk", "core_mmss_clk",
-					"src_clk", "byte_clk", "pixel_clk",
-					"core_clk";
+			clock-names = "iface", "bus", "core_mmss",
+					"src", "byte", "pixel",
+					"core";
 
 			assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
 					<&mmcc DSI1_ESC_SRC>,
Signature · 1 line
2.30.2
Reviewed-by on v2 1/1
#1 lore raw
Quoted 8 lines · David Heidelberg

Since new code doesn't take old clk names in account, it does fixes error:

msm_dsi 4700000.mdss_dsi: dev_pm_opp_set_clkname: Couldn't find clock: -2

and following kernel oops introduced by
b0530eb1191 ("drm/msm/dpu: Use OPP API to set clk/perf state").

Quoted 8 lines

Also removes warning about deprecated clock names.

Tested against linux-5.10.y LTS on Nexus 7 2013.

---
- v2 improved commit message, added R-b

I guess Bjorn will apply it?

Yours,
Linus Walleij

Reviewed-by on v2 1/1
#2 lore raw
In reply to David Heidelberg
Quoted 8 lines · David Heidelberg

Since new code doesn't take old clk names in account, it does fixes error:

msm_dsi 4700000.mdss_dsi: dev_pm_opp_set_clkname: Couldn't find clock: -2

and following kernel oops introduced by
b0530eb1191 ("drm/msm/dpu: Use OPP API to set clk/perf state").

Quoted 6 lines

Also removes warning about deprecated clock names.

Tested against linux-5.10.y LTS on Nexus 7 2013.

Quoted 24 lines

---
- v2 improved commit message, added R-b

  arch/arm/boot/dts/qcom-apq8064.dtsi | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/qcom-apq8064.dtsi +3 -3
index 6005620ac297..96b7755afabf 100644
@@ -1262,9 +1262,9 @@ dsi0: mdss_dsi@4700000 {
  				<&mmcc DSI1_BYTE_CLK>,
  				<&mmcc DSI_PIXEL_CLK>,
  				<&mmcc DSI1_ESC_CLK>;
-			clock-names = "iface_clk", "bus_clk", "core_mmss_clk",
-					"src_clk", "byte_clk", "pixel_clk",
-					"core_clk";
+			clock-names = "iface", "bus", "core_mmss",
+					"src", "byte", "pixel",
+					"core";
 
  			assigned-clocks = <&mmcc DSI1_BYTE_SRC>,
  					<&mmcc DSI1_ESC_SRC>,
Signature · 2 lines
With best wishes
Dmitry