linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
@ 2016-03-14 14:23 Magnus Damm
  2016-03-14 14:23 ` [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding Magnus Damm
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:23 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

clocksource: sh_cmt: DT binding rework V4

[PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
[PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
[PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
[PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
[PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
[PATCH v4 06/06] devicetree: bindings: Remove deprecated properties

Here is the latest and hopefully final take on updating the CMT DT
bindings for R-Car Gen2. In total there are 6 patches that have acks
and are ready to be picked up and merged. Other earlier posted changes
such as driver modification and SoC DTS bits depend on this series.

In short, this series reworks the CMT DT bindings to deal with the following:
- R-Car Gen2 CMT0 and CMT1 hardware instances are not identical
- The property renesas,channels-mask is not enough to describe the difference
- DT should describe the hardware, not the software implementation
- Not all documented DT bindings are actually used

Without these patches the binding "renesas,cmt-48-gen2" is used for both
CMT0 and CMT1 on R-Car Gen2 SoCs. CMT0 and CMT1 are currently seen by the
Linux device driver as compatible hardware, and the device-specific property
"renesas,channels-mask" is used to point out some of the hardware configuration
differences. Since the driver is not feature complete only some differences are
described and when diving into the data sheet we can see that:

1) CMT0 is not 48-bit at all, instead it only supports 32-bit counters.
2) Some channels of CMT1 are 48-bit, some 32-bit.
3) A couple of CMT1 channels have even more features.

It turns out that none of the above differences are described in our current
DT files. And since we use the same compat string for CMT0 and CMT1 the driver
itself cannot enable features specific only to CMT1 without first updating
the DTS. So this series is ground work for future feature patches.

It seems that we have two choices if we want to support CMT1 features:
A) Keep existing DT bindings, add more properties for CMT1
B) Rework the compatible strings and keep configuration in the driver

Judging by above it seems that DT update is inevitable. In my mind it is
rather painful to update the DT so I'd like to minimize the number of
updates and let the majority of the changes only happen in the driver.
And since we should really describe hardware in DT but driver features tend
to be implemented incrementally then B) seems like a good fit to me.

I wouldn't mind going with A) but to be honest I must say that the existing
compat string "renesas,cmt-48-gen2" is just too confusing with "48"
(when CMT0 is 32bit-only) and also "gen2" (used without product line R-Car).

Because of that I've gone with B) and reworked the bindings to separate
CMT0 from CMT1 and keep channel configuration in the device driver.

While at it I've deprecated "renesas,channels-mask" and the old DT compat
strings. Per-SoC compat strings have also been reworked, but are not left
around documented as deprecated since they were never used by the driver.

V4 patch series updates the order for the fallback entry format based on
feedback. This new order makes the CMT match the majority of the other
on-chip devices, so "renesas,rcar-gen2-cmt0" is now used over earlier
version "renesas,cmt0-rcar-gen2". The acks have been kept as-is.

Many thanks to Geert, Laurent and Rob for their feedback!

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (For patch 1-3)
Acked-by: Rob Herring <robh@kernel.org>
---

 Written on top of next-20160314

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |   83 ++++++---------
 1 file changed, 37 insertions(+), 46 deletions(-)

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

* [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
@ 2016-03-14 14:23 ` Magnus Damm
  2016-03-14 14:24 ` [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings Magnus Damm
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:23 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

Remove the sh7372 CMT compat string to reduce maintenance burden.

It should be fine to break DT compatibility because:
1) The sh7372 SoC support has been removed from upstream
2) The sh7372 CMT DT binding was never part of upstream DTS
3) The CMT driver never matches on the sh7372 binding

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
---

 Changes since V3:
 - None
 
 Changes since V2:
 - Added Acked-by from Rob
 - Removed Tested-by tag from DT binding patch - duh!

 Changes since V1:
 - Removed all references to sh7372
 - Added Acked-by and Tested-by from Geert
 - Added Acked-by from Laurent

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |   12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

--- 0001/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:26:19.260513000 +0900
@@ -14,32 +14,26 @@ Required Properties:
   - compatible: must contain one or more of the following:
     - "renesas,cmt-32-r8a7740" for the r8a7740 32-bit CMT
 		(CMT0)
-    - "renesas,cmt-32-sh7372" for the sh7372 32-bit CMT
-		(CMT0)
     - "renesas,cmt-32-sh73a0" for the sh73a0 32-bit CMT
 		(CMT0)
     - "renesas,cmt-32" for all 32-bit CMT without fast clock support
-		(CMT0 on sh7372, sh73a0 and r8a7740)
+		(CMT0 on sh73a0 and r8a7740)
 		This is a fallback for the above renesas,cmt-32-* entries.
 
     - "renesas,cmt-32-fast-r8a7740" for the r8a7740 32-bit CMT with fast
 		clock support (CMT[234])
-    - "renesas,cmt-32-fast-sh7372" for the sh7372 32-bit CMT with fast
-		clock support (CMT[234])
     - "renesas,cmt-32-fast-sh73a0" for the sh73A0 32-bit CMT with fast
 		clock support (CMT[234])
     - "renesas,cmt-32-fast" for all 32-bit CMT with fast clock support
-		(CMT[234] on sh7372, sh73a0 and r8a7740)
+		(CMT[234] on sh73a0 and r8a7740)
 		This is a fallback for the above renesas,cmt-32-fast-* entries.
 
-    - "renesas,cmt-48-sh7372" for the sh7372 48-bit CMT
-		(CMT1)
     - "renesas,cmt-48-sh73a0" for the sh73A0 48-bit CMT
 		(CMT1)
     - "renesas,cmt-48-r8a7740" for the r8a7740 48-bit CMT
 		(CMT1)
     - "renesas,cmt-48" for all non-second generation 48-bit CMT
-		(CMT1 on sh7372, sh73a0 and r8a7740)
+		(CMT1 on sh73a0 and r8a7740)
 		This is a fallback for the above renesas,cmt-48-* entries.
 
     - "renesas,cmt-48-r8a73a4" for the r8a73a4 48-bit CMT

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

* [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
  2016-03-14 14:23 ` [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding Magnus Damm
@ 2016-03-14 14:24 ` Magnus Damm
  2016-03-14 14:24 ` [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings Magnus Damm
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

Add documentation for new separate CMT0 and CMT1 DT compatible strings
for R-Car Gen2. These compat strings allow us to enable CMT1-specific
features in the driver. The old compat strings will be deprecated in
the not so distant future.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
---

 Changes since V3:
 - Updated compat string format for fallback entries - Thanks Geert!
   Now "renesas,rcar-gen2-cmt0" is used instead of "renesas,cmt0-rcar-gen2"

Changes since V2:
 - Added Acked-by from Rob
 - Removed Tested-by tag from DT binding patch - duh!

 Changes since V1:
 - Added Acked-by and Tested-by from Geert
 - Added Acked-by from Laurent

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |    3 +++
 1 file changed, 3 insertions(+)

--- 0002/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:27:37.580513000 +0900
@@ -36,6 +36,9 @@ Required Properties:
 		(CMT1 on sh73a0 and r8a7740)
 		This is a fallback for the above renesas,cmt-48-* entries.
 
+    - "renesas,rcar-gen2-cmt0" for 32-bit CMT0 devices included in R-Car Gen2.
+    - "renesas,rcar-gen2-cmt1" for 48-bit CMT1 devices included in R-Car Gen2.
+
     - "renesas,cmt-48-r8a73a4" for the r8a73a4 48-bit CMT
 		(CMT[01])
     - "renesas,cmt-48-r8a7790" for the r8a7790 48-bit CMT

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

* [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
  2016-03-14 14:23 ` [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding Magnus Damm
  2016-03-14 14:24 ` [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings Magnus Damm
@ 2016-03-14 14:24 ` Magnus Damm
  2016-03-14 14:24 ` [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example Magnus Damm
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

Update SoC-specific bindings for r8a73a4 and R-Car Gen2 CMT0 and CMT1.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
---

 Changes since V3:
 - Fix trailing whitespace damage

 Changes since V2:
 - Added Acked-by from Rob
 - Removed Tested-by tag from DT binding patch - duh!

 Changes since V1:
 - Added Acked-by and Tested-by from Geert
 - Added Acked-by from Laurent

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |   24 ++++++++-------
 1 file changed, 14 insertions(+), 10 deletions(-)

--- 0003/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:47:31.550513000 +0900
@@ -36,19 +36,23 @@ Required Properties:
 		(CMT1 on sh73a0 and r8a7740)
 		This is a fallback for the above renesas,cmt-48-* entries.
 
+    - "renesas,cmt0-r8a73a4" for the 32-bit CMT0 device included in r8a73a4.
+    - "renesas,cmt1-r8a73a4" for the 48-bit CMT1 device included in r8a73a4.
+    - "renesas,cmt0-r8a7790" for the 32-bit CMT0 device included in r8a7790.
+    - "renesas,cmt1-r8a7790" for the 48-bit CMT1 device included in r8a7790.
+    - "renesas,cmt0-r8a7791" for the 32-bit CMT0 device included in r8a7791.
+    - "renesas,cmt1-r8a7791" for the 48-bit CMT1 device included in r8a7791.
+    - "renesas,cmt0-r8a7793" for the 32-bit CMT0 device included in r8a7793.
+    - "renesas,cmt1-r8a7793" for the 48-bit CMT1 device included in r8a7793.
+    - "renesas,cmt0-r8a7794" for the 32-bit CMT0 device included in r8a7794.
+    - "renesas,cmt1-r8a7794" for the 48-bit CMT1 device included in r8a7794.
+
     - "renesas,rcar-gen2-cmt0" for 32-bit CMT0 devices included in R-Car Gen2.
     - "renesas,rcar-gen2-cmt1" for 48-bit CMT1 devices included in R-Car Gen2.
+		These are fallbacks for r8a73a4 and all the R-Car Gen2
+		entries	listed above.
 
-    - "renesas,cmt-48-r8a73a4" for the r8a73a4 48-bit CMT
-		(CMT[01])
-    - "renesas,cmt-48-r8a7790" for the r8a7790 48-bit CMT
-		(CMT[01])
-    - "renesas,cmt-48-r8a7791" for the r8a7791 48-bit CMT
-		(CMT[01])
-    - "renesas,cmt-48-gen2" for all second generation 48-bit CMT
-		(CMT[01] on r8a73a4, r8a7790 and r8a7791)
-		This is a fallback for the renesas,cmt-48-r8a73a4,
-		renesas,cmt-48-r8a7790 and renesas,cmt-48-r8a7791 entries.
+    - "renesas,cmt-48-gen2" is <deprecated>, use "renesas,cmt[01]-*" instead.
 
   - reg: base address and length of the registers block for the timer module.
   - interrupts: interrupt-specifier for the timer, one per channel.

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

* [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
                   ` (2 preceding siblings ...)
  2016-03-14 14:24 ` [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings Magnus Damm
@ 2016-03-14 14:24 ` Magnus Damm
  2016-03-14 14:24 ` [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings Magnus Damm
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

Deprecate "renesas,channels-mask" and update the r8a7790 CMT example.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
---

 Changes since V3:
 - Update example to use new compat string format for fallback entries
   Now "renesas,rcar-gen2-cmt0" is used instead of "renesas,cmt0-rcar-gen2"

 Changes since V2:
 - Added Acked-by from Rob
 - Removed Tested-by tag from DT binding patch - duh!

 Changes since V1:
 - Added Acked-by and Tested-by from Geert
 - Added Acked-by from Laurent

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |   24 ++++++++++-----
 1 file changed, 17 insertions(+), 7 deletions(-)

--- 0006/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:40:35.550513000 +0900
@@ -60,21 +60,31 @@ Required Properties:
     in clock-names.
   - clock-names: must contain "fck" for the functional clock.
 
-  - renesas,channels-mask: bitmask of the available channels.
+  - renesas,channels-mask: <deprecated>, information kept in device driver.
 
 
-Example: R8A7790 (R-Car H2) CMT0 node
-
-	CMT0 on R8A7790 implements hardware channels 5 and 6 only and names
-	them channels 0 and 1 in the documentation.
+Example: R8A7790 (R-Car H2) CMT0 and CMT1 nodes
 
 	cmt0: timer@ffca0000 {
-		compatible = "renesas,cmt-48-r8a7790", "renesas,cmt-48-gen2";
+		compatible = "renesas,cmt0-r8a7790", "renesas,rcar-gen2-cmt0";
 		reg = <0 0xffca0000 0 0x1004>;
 		interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 142 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp1_clks R8A7790_CLK_CMT0>;
 		clock-names = "fck";
+	};
 
-		renesas,channels-mask = <0x60>;
+	cmt1: timer@e6130000 {
+		compatible = "renesas,cmt1-r8a7790", "renesas,rcar-gen2-cmt1";
+		reg = <0 0xe6130000 0 0x1004>;
+		interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 121 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 122 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 123 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 124 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 125 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 126 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 127 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7790_CLK_CMT1>;
+		clock-names = "fck";
 	};

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

* [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
                   ` (3 preceding siblings ...)
  2016-03-14 14:24 ` [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example Magnus Damm
@ 2016-03-14 14:24 ` Magnus Damm
  2016-03-14 17:21   ` Sergei Shtylyov
  2016-03-14 14:24 ` [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties Magnus Damm
  2016-11-24 10:58 ` [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Simon Horman
  6 siblings, 1 reply; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

Remove the 32-bit CMT compat strings to reduce maintenance burden.

It should be fine to break DT compatibility because the 32-bit
32-bit CMT DT binding was never part of any upstream DTS file.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---

 Changes since V3:
 - None

 Changes since V2:
 - Added Acked-by from Rob
 - Added Acked-by from Geert

 Changes since V1:
 - New patch

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |   16 ---------------
 1 file changed, 16 deletions(-)

--- 0008/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:42:01.190513000 +0900
@@ -12,22 +12,6 @@ datasheets.
 Required Properties:
 
   - compatible: must contain one or more of the following:
-    - "renesas,cmt-32-r8a7740" for the r8a7740 32-bit CMT
-		(CMT0)
-    - "renesas,cmt-32-sh73a0" for the sh73a0 32-bit CMT
-		(CMT0)
-    - "renesas,cmt-32" for all 32-bit CMT without fast clock support
-		(CMT0 on sh73a0 and r8a7740)
-		This is a fallback for the above renesas,cmt-32-* entries.
-
-    - "renesas,cmt-32-fast-r8a7740" for the r8a7740 32-bit CMT with fast
-		clock support (CMT[234])
-    - "renesas,cmt-32-fast-sh73a0" for the sh73A0 32-bit CMT with fast
-		clock support (CMT[234])
-    - "renesas,cmt-32-fast" for all 32-bit CMT with fast clock support
-		(CMT[234] on sh73a0 and r8a7740)
-		This is a fallback for the above renesas,cmt-32-fast-* entries.
-
     - "renesas,cmt-48-sh73a0" for the sh73A0 48-bit CMT
 		(CMT1)
     - "renesas,cmt-48-r8a7740" for the r8a7740 48-bit CMT

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

* [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
                   ` (4 preceding siblings ...)
  2016-03-14 14:24 ` [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings Magnus Damm
@ 2016-03-14 14:24 ` Magnus Damm
  2016-11-24 10:58 ` [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Simon Horman
  6 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-14 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, Magnus Damm,
	tglx

From: Magnus Damm <damm+renesas@opensource.se>

The deprecated DT properties are part of the GIT history,
no need to keep them around any longer.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
---

 Changes since V3:
 - None

 Changes since V2:
 - Added Acked-by from Rob
 - Fixed properties typo - Thanks Geert
 - Added Acked-by from Geert

 Changes since V1:
 - New patch

 Documentation/devicetree/bindings/timer/renesas,cmt.txt |    4 ----
 1 file changed, 4 deletions(-)

--- 0007/Documentation/devicetree/bindings/timer/renesas,cmt.txt
+++ work/Documentation/devicetree/bindings/timer/renesas,cmt.txt	2016-03-14 22:49:53.260513000 +0900
@@ -36,16 +36,12 @@ Required Properties:
 		These are fallbacks for r8a73a4 and all the R-Car Gen2
 		entries	listed above.
 
-    - "renesas,cmt-48-gen2" is <deprecated>, use "renesas,cmt[01]-*" instead.
-
   - reg: base address and length of the registers block for the timer module.
   - interrupts: interrupt-specifier for the timer, one per channel.
   - clocks: a list of phandle + clock-specifier pairs, one for each entry
     in clock-names.
   - clock-names: must contain "fck" for the functional clock.
 
-  - renesas,channels-mask: <deprecated>, information kept in device driver.
-
 
 Example: R8A7790 (R-Car H2) CMT0 and CMT1 nodes
 

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

* Re: [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
  2016-03-14 14:24 ` [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings Magnus Damm
@ 2016-03-14 17:21   ` Sergei Shtylyov
  2016-03-15  1:18     ` Magnus Damm
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2016-03-14 17:21 UTC (permalink / raw)
  To: Magnus Damm, linux-kernel
  Cc: devicetree, laurent.pinchart+renesas, geert+renesas, robh,
	daniel.lezcano, linux-renesas-soc, horms+renesas, tglx

Hello.

On 03/14/2016 05:24 PM, Magnus Damm wrote:

> From: Magnus Damm <damm+renesas@opensource.se>
>
> Remove the 32-bit CMT compat strings to reduce maintenance burden.
>
> It should be fine to break DT compatibility because the 32-bit
> 32-bit

    Once is enough. :-)

> CMT DT binding was never part of any upstream DTS file.
>
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> Acked-by: Rob Herring <robh@kernel.org>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
[...]

MBR, Sergei

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

* Re: [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
  2016-03-14 17:21   ` Sergei Shtylyov
@ 2016-03-15  1:18     ` Magnus Damm
  0 siblings, 0 replies; 15+ messages in thread
From: Magnus Damm @ 2016-03-15  1:18 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-kernel, devicetree, Laurent Pinchart, Geert Uytterhoeven,
	Rob Herring, Daniel Lezcano, linux-renesas-soc, Simon Horman,
	Thomas Gleixner

Hi Sergei,

On Tue, Mar 15, 2016 at 2:21 AM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Hello.
>
> On 03/14/2016 05:24 PM, Magnus Damm wrote:
>
>> From: Magnus Damm <damm+renesas@opensource.se>
>>
>> Remove the 32-bit CMT compat strings to reduce maintenance burden.
>>
>> It should be fine to break DT compatibility because the 32-bit
>> 32-bit
>
>
>    Once is enough. :-)

Right, forgot about that one. Think of it as 64-bit compatible. =)

Cheers,

/ magnus

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
                   ` (5 preceding siblings ...)
  2016-03-14 14:24 ` [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties Magnus Damm
@ 2016-11-24 10:58 ` Simon Horman
  2017-07-11 11:56   ` Simon Horman
  6 siblings, 1 reply; 15+ messages in thread
From: Simon Horman @ 2016-11-24 10:58 UTC (permalink / raw)
  To: Magnus Damm
  Cc: linux-kernel, devicetree, laurent.pinchart+renesas,
	geert+renesas, robh, daniel.lezcano, linux-renesas-soc, tglx

Hi Magnus,

On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
> clocksource: sh_cmt: DT binding rework V4
> 
> [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
> [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
> [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
> [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
> [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
> [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
> 
> Here is the latest and hopefully final take on updating the CMT DT
> bindings for R-Car Gen2. In total there are 6 patches that have acks
> and are ready to be picked up and merged. Other earlier posted changes
> such as driver modification and SoC DTS bits depend on this series.

I am wondering what the state of this work is.
I see only one minor review comment for this series.
It would be great to see it merged.

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2016-11-24 10:58 ` [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Simon Horman
@ 2017-07-11 11:56   ` Simon Horman
  2017-07-31  8:59     ` Daniel Lezcano
  2017-08-10  9:01     ` Geert Uytterhoeven
  0 siblings, 2 replies; 15+ messages in thread
From: Simon Horman @ 2017-07-11 11:56 UTC (permalink / raw)
  To: Magnus Damm
  Cc: linux-kernel, devicetree, laurent.pinchart+renesas,
	geert+renesas, robh, daniel.lezcano, linux-renesas-soc, tglx

On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote:
> Hi Magnus,
> 
> On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
> > clocksource: sh_cmt: DT binding rework V4
> > 
> > [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
> > [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
> > [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
> > [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
> > [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
> > [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
> > 
> > Here is the latest and hopefully final take on updating the CMT DT
> > bindings for R-Car Gen2. In total there are 6 patches that have acks
> > and are ready to be picked up and merged. Other earlier posted changes
> > such as driver modification and SoC DTS bits depend on this series.
> 
> I am wondering what the state of this work is.
> I see only one minor review comment for this series.
> It would be great to see it merged.

Ping

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2017-07-11 11:56   ` Simon Horman
@ 2017-07-31  8:59     ` Daniel Lezcano
  2017-08-10  9:01     ` Geert Uytterhoeven
  1 sibling, 0 replies; 15+ messages in thread
From: Daniel Lezcano @ 2017-07-31  8:59 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: linux-kernel, devicetree, laurent.pinchart+renesas,
	geert+renesas, robh, linux-renesas-soc, tglx

On 11/07/2017 13:56, Simon Horman wrote:
> On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote:
>> Hi Magnus,
>>
>> On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
>>> clocksource: sh_cmt: DT binding rework V4
>>>
>>> [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
>>> [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
>>> [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
>>> [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
>>> [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
>>> [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
>>>
>>> Here is the latest and hopefully final take on updating the CMT DT
>>> bindings for R-Car Gen2. In total there are 6 patches that have acks
>>> and are ready to be picked up and merged. Other earlier posted changes
>>> such as driver modification and SoC DTS bits depend on this series.
>>
>> I am wondering what the state of this work is.
>> I see only one minor review comment for this series.
>> It would be great to see it merged.
> 
> Ping

Up.



-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2017-07-11 11:56   ` Simon Horman
  2017-07-31  8:59     ` Daniel Lezcano
@ 2017-08-10  9:01     ` Geert Uytterhoeven
  2017-08-10 10:56       ` Daniel Lezcano
  1 sibling, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-08-10  9:01 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: linux-kernel, devicetree, Laurent Pinchart, Geert Uytterhoeven,
	Rob Herring, Daniel Lezcano, Linux-Renesas, Thomas Gleixner

On Tue, Jul 11, 2017 at 1:56 PM, Simon Horman <horms@verge.net.au> wrote:
> On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote:
>> On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
>> > clocksource: sh_cmt: DT binding rework V4
>> >
>> > [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
>> > [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
>> > [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
>> > [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
>> > [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
>> > [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
>> >
>> > Here is the latest and hopefully final take on updating the CMT DT
>> > bindings for R-Car Gen2. In total there are 6 patches that have acks
>> > and are ready to be picked up and merged. Other earlier posted changes
>> > such as driver modification and SoC DTS bits depend on this series.
>>
>> I am wondering what the state of this work is.
>> I see only one minor review comment for this series.
>> It would be great to see it merged.
>
> Ping

Recently, at +1800m, I realized that if we want to continue this work, we
better do it soon, so it can be included in the big R-Car Gen2 flag day
requiring APMU, CPG/MSSR, ICRAM, RST, and SYSC being described in DT.

Thanks!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2017-08-10  9:01     ` Geert Uytterhoeven
@ 2017-08-10 10:56       ` Daniel Lezcano
  2017-08-14 20:07         ` Geert Uytterhoeven
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel Lezcano @ 2017-08-10 10:56 UTC (permalink / raw)
  To: Geert Uytterhoeven, Simon Horman, Magnus Damm
  Cc: linux-kernel, devicetree, Laurent Pinchart, Geert Uytterhoeven,
	Rob Herring, Linux-Renesas, Thomas Gleixner

On 10/08/2017 11:01, Geert Uytterhoeven wrote:
> On Tue, Jul 11, 2017 at 1:56 PM, Simon Horman <horms@verge.net.au> wrote:
>> On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote:
>>> On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
>>>> clocksource: sh_cmt: DT binding rework V4
>>>>
>>>> [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
>>>> [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
>>>> [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
>>>> [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
>>>> [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
>>>> [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
>>>>
>>>> Here is the latest and hopefully final take on updating the CMT DT
>>>> bindings for R-Car Gen2. In total there are 6 patches that have acks
>>>> and are ready to be picked up and merged. Other earlier posted changes
>>>> such as driver modification and SoC DTS bits depend on this series.
>>>
>>> I am wondering what the state of this work is.
>>> I see only one minor review comment for this series.
>>> It would be great to see it merged.
>>
>> Ping
> 
> Recently, at +1800m, I realized that if we want to continue this work, we
> better do it soon, so it can be included in the big R-Car Gen2 flag day
> requiring APMU, CPG/MSSR, ICRAM, RST, and SYSC being described in DT.

Applied.

Thanks.

  -- Daniel



-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

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

* Re: [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4
  2017-08-10 10:56       ` Daniel Lezcano
@ 2017-08-14 20:07         ` Geert Uytterhoeven
  0 siblings, 0 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-08-14 20:07 UTC (permalink / raw)
  To: Daniel Lezcano, Magnus Damm
  Cc: Simon Horman, linux-kernel, devicetree, Laurent Pinchart,
	Geert Uytterhoeven, Rob Herring, Linux-Renesas, Thomas Gleixner

Hi Daniel, Magnus,

On Thu, Aug 10, 2017 at 12:56 PM, Daniel Lezcano
<daniel.lezcano@linaro.org> wrote:
> On 10/08/2017 11:01, Geert Uytterhoeven wrote:
>> On Tue, Jul 11, 2017 at 1:56 PM, Simon Horman <horms@verge.net.au> wrote:
>>> On Thu, Nov 24, 2016 at 11:58:43AM +0100, Simon Horman wrote:
>>>> On Mon, Mar 14, 2016 at 11:23:42PM +0900, Magnus Damm wrote:
>>>>> clocksource: sh_cmt: DT binding rework V4
>>>>>
>>>>> [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding
>>>>> [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings
>>>>> [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings
>>>>> [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example
>>>>> [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings
>>>>> [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties
>>>>>
>>>>> Here is the latest and hopefully final take on updating the CMT DT
>>>>> bindings for R-Car Gen2. In total there are 6 patches that have acks
>>>>> and are ready to be picked up and merged. Other earlier posted changes
>>>>> such as driver modification and SoC DTS bits depend on this series.
>>>>
>>>> I am wondering what the state of this work is.
>>>> I see only one minor review comment for this series.
>>>> It would be great to see it merged.
>>>
>>> Ping
>>
>> Recently, at +1800m, I realized that if we want to continue this work, we
>> better do it soon, so it can be included in the big R-Car Gen2 flag day
>> requiring APMU, CPG/MSSR, ICRAM, RST, and SYSC being described in DT.
>
> Applied.

Thank you.

Of course, before we can convert existing DT source files to the new bindings,
we need support for the new bindings in the sh_cmt driver.

Magnus: what is the status of that? Where can we find the latest code?

Thanks again!

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2017-08-14 20:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14 14:23 [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Magnus Damm
2016-03-14 14:23 ` [PATCH v4 01/06] devicetree: bindings: Remove sh7372 CMT binding Magnus Damm
2016-03-14 14:24 ` [PATCH v4 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings Magnus Damm
2016-03-14 14:24 ` [PATCH v4 03/06] devicetree: bindings: r8a73a4 and R-Car Gen2 CMT bindings Magnus Damm
2016-03-14 14:24 ` [PATCH v4 04/06] devicetree: bindings: Deprecate property, update example Magnus Damm
2016-03-14 14:24 ` [PATCH v4 05/06] devicetree: bindings: Remove unused 32-bit CMT bindings Magnus Damm
2016-03-14 17:21   ` Sergei Shtylyov
2016-03-15  1:18     ` Magnus Damm
2016-03-14 14:24 ` [PATCH v4 06/06] devicetree: bindings: Remove deprecated properties Magnus Damm
2016-11-24 10:58 ` [PATCH v4 00/06] clocksource: sh_cmt: DT binding rework V4 Simon Horman
2017-07-11 11:56   ` Simon Horman
2017-07-31  8:59     ` Daniel Lezcano
2017-08-10  9:01     ` Geert Uytterhoeven
2017-08-10 10:56       ` Daniel Lezcano
2017-08-14 20:07         ` Geert Uytterhoeven

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