diff mbox series

[2/2] thermal: rcar_thermal: add R8A77970 support

Message ID 65ec6fcf-931a-a807-af1b-f204c03344f0@cogentembedded.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series Add R8A77970 support to the Renesas R-Car thermal driver | expand

Commit Message

Sergei Shtylyov Oct. 4, 2018, 9:03 p.m. UTC
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(+)

Comments

Geert Uytterhoeven Oct. 5, 2018, 6:54 a.m. UTC | #1
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
Simon Horman Oct. 8, 2018, 7:47 a.m. UTC | #2
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>
diff mbox series

Patch

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,
 	},