Skip to contentSkip to conversation

ARM: dts: r8a7792: add IMR-L[S]X3 clocks

PATCH New Sergei Shtylyov 2 participants 6 messages Mar 21, 2017 – Jun 30, 2017

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

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Add the IMR-L[S]X3 clocks to the R8A7792 device tree.

Based on the original patch by Roman Meshkevich
<[email protected]>.

---
 arch/arm/boot/dts/r8a7792.dtsi            |   15 ++++++++++++---
 include/dt-bindings/clock/r8a7792-clock.h |    7 +++++++
 2 files changed, 19 insertions(+), 3 deletions(-)
arch/arm/boot/dts/r8a7792.dtsi +12 -3
Index: renesas/arch/arm/boot/dts/r8a7792.dtsi
===================================================================
@@ -927,16 +927,25 @@
 				     "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150990 0 4>, <0 0xe61509a0 0 4>;
 			clocks = <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
-			         <&zg_clk>, <&zg_clk>, <&hp_clk>;
+				 <&zg_clk>, <&zg_clk>, <&hp_clk>, <&zg_clk>,
+				 <&zg_clk>, <&zg_clk>, <&zg_clk>, <&zg_clk>,
+				 <&zg_clk>, <&zg_clk>;
 			#clock-cells = <1>;
 			clock-indices = <
 				R8A7792_CLK_VIN5 R8A7792_CLK_VIN4
 				R8A7792_CLK_VIN3 R8A7792_CLK_VIN2
 				R8A7792_CLK_VIN1 R8A7792_CLK_VIN0
-				R8A7792_CLK_ETHERAVB
+				R8A7792_CLK_ETHERAVB R8A7792_CLK_IMR_LX3
+				R8A7792_CLK_IMR_LSX3_1 R8A7792_CLK_IMR_LSX3_0
+				R8A7792_CLK_IMR_LSX3_5 R8A7792_CLK_IMR_LSX3_4
+				R8A7792_CLK_IMR_LSX3_3 R8A7792_CLK_IMR_LSX3_2
 			>;
 			clock-output-names = "vin5", "vin4", "vin3", "vin2",
-					     "vin1", "vin0", "etheravb";
+					     "vin1", "vin0",
+					     "etheravb", "imr-lx3",
+					     "imr-lsx3-1", "imr-lsx3-0",
+					     "imr-lsx3-5", "imr-lsx3-4",
+					     "imr-lsx3-3", "imr-lsx3-2";
 		};
 		mstp9_clks: mstp9_clks at e6150994 {
 			compatible = "renesas,r8a7792-mstp-clocks",
include/dt-bindings/clock/r8a7792-clock.h +7 -0
Index: renesas/include/dt-bindings/clock/r8a7792-clock.h
===================================================================
@@ -70,6 +70,13 @@
 #define R8A7792_CLK_VIN1		10
 #define R8A7792_CLK_VIN0		11
 #define R8A7792_CLK_ETHERAVB		12
+#define R8A7792_CLK_IMR_LX3		21
+#define R8A7792_CLK_IMR_LSX3_1		22
+#define R8A7792_CLK_IMR_LSX3_0		23
+#define R8A7792_CLK_IMR_LSX3_5		25
+#define R8A7792_CLK_IMR_LSX3_4		26
+#define R8A7792_CLK_IMR_LSX3_3		27
+#define R8A7792_CLK_IMR_LSX3_2		28
 
 /* MSTP9 */
 #define R8A7792_CLK_GPIO7		4
#1 lore raw

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Still not cover letter but I think it's better now, so I won't retry... The patches are against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170321-v4.11-rc3' tag.

MBR, Sergei

#2 lore raw

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Quoted 3 lines · Sergei Shtylyov

Still not cover letter but I think it's better now, so I won't retry... The patches are against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170321-v4.11-rc3' tag.

The patches depend on the IMR driver patches adding the IMR-L[S]X3 support
for the "compatible" values.

MBR, Sergei

#3 lore raw

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Quoted 8 lines · Sergei Shtylyov
Quoted 3 lines · Sergei Shtylyov

Still not cover letter but I think it's better now, so I won't retry... The patches are against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170321-v4.11-rc3' tag.

The patches depend on the IMR driver patches adding the IMR-L[S]X3
support for the "compatible" values.

I have marked these patches as deferred accordingly.

#4 lore raw

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Hello!

Quoted 8 lines · Simon Horman
Quoted 6 lines
Quoted 3 lines

Still not cover letter but I think it's better now, so I won't retry... The patches are against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170321-v4.11-rc3' tag.

The patches depend on the IMR driver patches adding the IMR-L[S]X3
support for the "compatible" values.

I have marked these patches as deferred accordingly.

Actually, the 1st patch in htis series doesn't depend on anything and
should still apply (with offsets).

WBR, Sergei

#5 lore raw

PATCH 1/2 ARM: dts: r8a7792: add IMR-L[S]X3 clocks

Quoted 8 lines · Sergei Shtylyov

Hello!

Quoted 4 lines · Simon Horman
Quoted 4 lines
Quoted 3 lines

Still not cover letter but I think it's better now, so I won't retry... The patches are against Simon Horman's 'renesas.git' repo, 'renesas-devel-20170321-v4.11-rc3' tag.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

The patches depend on the IMR driver patches adding the IMR-L[S]X3
support for the "compatible" values.

I have marked these patches as deferred accordingly.

Actually, the 1st patch in htis series doesn't depend on anything and
should still apply (with offsets).

I'd prefer to take both patches at the same time unless there is a strong motivation to just take the first one.