[1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings

Message ID 42fe460f-0c2e-ec8c-ecca-15ec5a5a4117@cogentembedded.com
State Not Applicable
Headers show
Series
  • Add R8A77970 support to the Renesas R-Car thermal driver
Related show

Commit Message

Sergei Shtylyov Oct. 4, 2018, 9:01 p.m.
Document  the R-Car V3M (R8A77970) SoC in the Renesas R-Car gen2 thermal
bindings. The hardware is the same as  in the R-Car D3 (R8A77995) plus an
extra status register.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
 Documentation/devicetree/bindings/thermal/rcar-thermal.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Comments

Geert Uytterhoeven Oct. 5, 2018, 6:53 a.m. | #1
On Thu, Oct 4, 2018 at 11:02 PM Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Document  the R-Car V3M (R8A77970) SoC in the Renesas R-Car gen2 thermal
> bindings. The hardware is the same as  in the R-Car D3 (R8A77995) plus an
> extra status register.
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
Simon Horman Oct. 8, 2018, 7:46 a.m. | #2
On Fri, Oct 05, 2018 at 12:01:38AM +0300, Sergei Shtylyov wrote:
> Document  the R-Car V3M (R8A77970) SoC in the Renesas R-Car gen2 thermal
> bindings. The hardware is the same as  in the R-Car D3 (R8A77995) plus an
> extra status register.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>

> 
> ---
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> Index: linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
> ===================================================================
> --- linux-soc-thermal.orig/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
> +++ linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
> @@ -4,7 +4,7 @@ Required properties:
>  - compatible		: "renesas,thermal-<soctype>",
>  			   "renesas,rcar-gen2-thermal" (with thermal-zone) or
>  			   "renesas,rcar-thermal" (without thermal-zone) as
> -                           fallback except R-Car D3.
> +                           fallback except R-Car V3M/D3.
>  			  Examples with soctypes are:
>  			    - "renesas,thermal-r8a73a4" (R-Mobile APE6)
>  			    - "renesas,thermal-r8a7743" (RZ/G1M)
> @@ -13,6 +13,7 @@ Required properties:
>  			    - "renesas,thermal-r8a7791" (R-Car M2-W)
>  			    - "renesas,thermal-r8a7792" (R-Car V2H)
>  			    - "renesas,thermal-r8a7793" (R-Car M2-N)
> +			    - "renesas,thermal-r8a77970" (R-Car V3M)
>  			    - "renesas,thermal-r8a77995" (R-Car D3)
>  - reg			: Address range of the thermal registers.
>  			  The 1st reg will be recognized as common register
> @@ -21,7 +22,7 @@ Required properties:
>  Option properties:
>  
>  - interrupts		: If present should contain 3 interrupts for
> -                          R-Car D3 or 1 interrupt otherwise.
> +                          R-Car V3M/D3 or 1 interrupt otherwise.
>  
>  Example (non interrupt support):
>  
>
Rob Herring Oct. 15, 2018, 8:18 p.m. | #3
On Fri, 5 Oct 2018 00:01:38 +0300, Sergei Shtylyov wrote:
> Document  the R-Car V3M (R8A77970) SoC in the Renesas R-Car gen2 thermal
> bindings. The hardware is the same as  in the R-Car D3 (R8A77995) plus an
> extra status register.
> 
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> 
> ---
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

Patch

Index: linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
===================================================================
--- linux-soc-thermal.orig/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
+++ linux-soc-thermal/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
@@ -4,7 +4,7 @@  Required properties:
 - compatible		: "renesas,thermal-<soctype>",
 			   "renesas,rcar-gen2-thermal" (with thermal-zone) or
 			   "renesas,rcar-thermal" (without thermal-zone) as
-                           fallback except R-Car D3.
+                           fallback except R-Car V3M/D3.
 			  Examples with soctypes are:
 			    - "renesas,thermal-r8a73a4" (R-Mobile APE6)
 			    - "renesas,thermal-r8a7743" (RZ/G1M)
@@ -13,6 +13,7 @@  Required properties:
 			    - "renesas,thermal-r8a7791" (R-Car M2-W)
 			    - "renesas,thermal-r8a7792" (R-Car V2H)
 			    - "renesas,thermal-r8a7793" (R-Car M2-N)
+			    - "renesas,thermal-r8a77970" (R-Car V3M)
 			    - "renesas,thermal-r8a77995" (R-Car D3)
 - reg			: Address range of the thermal registers.
 			  The 1st reg will be recognized as common register
@@ -21,7 +22,7 @@  Required properties:
 Option properties:
 
 - interrupts		: If present should contain 3 interrupts for
-                          R-Car D3 or 1 interrupt otherwise.
+                          R-Car V3M/D3 or 1 interrupt otherwise.
 
 Example (non interrupt support):