* [PATCH 0/2] Add R8A77970 support to the Renesas R-Car thermal driver
@ 2018-10-04 20:58 Sergei Shtylyov
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
2018-10-04 21:03 ` [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support Sergei Shtylyov
0 siblings, 2 replies; 8+ messages in thread
From: Sergei Shtylyov @ 2018-10-04 20:58 UTC (permalink / raw)
To: Zhang Rui, Eduardo Valentin, linux-pm, Rob Herring, devicetree
Cc: linux-renesas-soc, Mark Rutland
Hello!
Here's the set of 2 patches against the 'next' branch of Eduardo Valentin's
'linux-soc-thermal.git' repo. We're adding support for the R8A77970 thermal
sensor controller to the R-Car thermal driver.
[1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
[2/2] thermal: rcar_thermal: add R8A77970 support
MBR, Sergei
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
2018-10-04 20:58 [PATCH 0/2] Add R8A77970 support to the Renesas R-Car thermal driver Sergei Shtylyov
@ 2018-10-04 21:01 ` Sergei Shtylyov
2018-10-05 6:53 ` Geert Uytterhoeven
` (2 more replies)
2018-10-04 21:03 ` [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support Sergei Shtylyov
1 sibling, 3 replies; 8+ messages in thread
From: Sergei Shtylyov @ 2018-10-04 21:01 UTC (permalink / raw)
To: Zhang Rui, Eduardo Valentin, linux-pm, Rob Herring, devicetree
Cc: linux-renesas-soc, Mark Rutland
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(-)
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):
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support
2018-10-04 20:58 [PATCH 0/2] Add R8A77970 support to the Renesas R-Car thermal driver Sergei Shtylyov
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
@ 2018-10-04 21:03 ` Sergei Shtylyov
2018-10-05 6:54 ` Geert Uytterhoeven
2018-10-08 7:47 ` Simon Horman
1 sibling, 2 replies; 8+ messages in thread
From: Sergei Shtylyov @ 2018-10-04 21:03 UTC (permalink / raw)
To: Zhang Rui, Eduardo Valentin, linux-pm; +Cc: linux-renesas-soc
Add the R-Car V3M (R8A77970) SoC support to the R-Car gen2 thermal driver.
The hardware is the same as in the R-Car D3 (R8A77995) plus the CIVM status
register (we don't use).
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
drivers/thermal/rcar_thermal.c | 4 ++++
1 file changed, 4 insertions(+)
Index: linux-soc-thermal/drivers/thermal/rcar_thermal.c
===================================================================
--- linux-soc-thermal.orig/drivers/thermal/rcar_thermal.c
+++ linux-soc-thermal/drivers/thermal/rcar_thermal.c
@@ -113,6 +113,10 @@ static const struct of_device_id rcar_th
.data = &rcar_gen2_thermal,
},
{
+ .compatible = "renesas,thermal-r8a77970",
+ .data = &rcar_gen3_thermal,
+ },
+ {
.compatible = "renesas,thermal-r8a77995",
.data = &rcar_gen3_thermal,
},
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
@ 2018-10-05 6:53 ` Geert Uytterhoeven
2018-10-08 7:46 ` Simon Horman
2018-10-15 20:18 ` Rob Herring
2 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2018-10-05 6:53 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Zhang Rui, Eduardo Valentin, Linux PM list, Rob Herring,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Linux-Renesas, Mark Rutland
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
--
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] 8+ messages in thread
* Re: [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support
2018-10-04 21:03 ` [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support Sergei Shtylyov
@ 2018-10-05 6:54 ` Geert Uytterhoeven
2018-10-08 7:47 ` Simon Horman
1 sibling, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2018-10-05 6:54 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: Zhang Rui, Eduardo Valentin, Linux PM list, Linux-Renesas
On Thu, Oct 4, 2018 at 11:03 PM Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
> Add the R-Car V3M (R8A77970) SoC support to the R-Car gen2 thermal driver.
> The hardware is the same as in the R-Car D3 (R8A77995) plus the CIVM status
> register (we don't use).
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
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] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
2018-10-05 6:53 ` Geert Uytterhoeven
@ 2018-10-08 7:46 ` Simon Horman
2018-10-15 20:18 ` Rob Herring
2 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2018-10-08 7:46 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Zhang Rui, Eduardo Valentin, linux-pm, Rob Herring, devicetree,
linux-renesas-soc, Mark Rutland
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):
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support
2018-10-04 21:03 ` [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support Sergei Shtylyov
2018-10-05 6:54 ` Geert Uytterhoeven
@ 2018-10-08 7:47 ` Simon Horman
1 sibling, 0 replies; 8+ messages in thread
From: Simon Horman @ 2018-10-08 7:47 UTC (permalink / raw)
To: Sergei Shtylyov; +Cc: Zhang Rui, Eduardo Valentin, linux-pm, linux-renesas-soc
On Fri, Oct 05, 2018 at 12:03:13AM +0300, Sergei Shtylyov wrote:
> Add the R-Car V3M (R8A77970) SoC support to the R-Car gen2 thermal driver.
> The hardware is the same as in the R-Car D3 (R8A77995) plus the CIVM status
> register (we don't use).
>
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
2018-10-05 6:53 ` Geert Uytterhoeven
2018-10-08 7:46 ` Simon Horman
@ 2018-10-15 20:18 ` Rob Herring
2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-10-15 20:18 UTC (permalink / raw)
To: Sergei Shtylyov
Cc: Zhang Rui, Eduardo Valentin, linux-pm, devicetree,
linux-renesas-soc, Mark Rutland
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-10-15 20:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 20:58 [PATCH 0/2] Add R8A77970 support to the Renesas R-Car thermal driver Sergei Shtylyov
2018-10-04 21:01 ` [PATCH 1/2] dt-bindings: thermal: rcar-thermal: document R8A77970 bindings Sergei Shtylyov
2018-10-05 6:53 ` Geert Uytterhoeven
2018-10-08 7:46 ` Simon Horman
2018-10-15 20:18 ` Rob Herring
2018-10-04 21:03 ` [PATCH 2/2] thermal: rcar_thermal: add R8A77970 support Sergei Shtylyov
2018-10-05 6:54 ` Geert Uytterhoeven
2018-10-08 7:47 ` Simon Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.