summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2018-10-05 00:03:13 +0300
committerEduardo Valentin <edubezval@gmail.com>2018-10-25 10:44:51 -0700
commit92ca366e9b835ada0bfe3c663da91ae44d7e8184 (patch)
tree75d913e64869267eb73f19d97798ec465dcfcb2b /drivers/thermal
parenta14404a9f04b904bd0c22f34e2119afbf1425abe (diff)
downloadlinux-92ca366e9b835ada0bfe3c663da91ae44d7e8184.tar.gz
linux-92ca366e9b835ada0bfe3c663da91ae44d7e8184.tar.bz2
linux-92ca366e9b835ada0bfe3c663da91ae44d7e8184.zip
thermal: rcar_thermal: add R8A77970 support
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> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/rcar_thermal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 39366cf69d7f..98f951391dcb 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -125,6 +125,10 @@ static const struct of_device_id rcar_thermal_dt_ids[] = {
.data = &rcar_gen2_thermal,
},
{
+ .compatible = "renesas,thermal-r8a77970",
+ .data = &rcar_gen3_thermal,
+ },
+ {
.compatible = "renesas,thermal-r8a77995",
.data = &rcar_gen3_thermal,
},