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 <[email protected]>

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

Reply via email to