diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-10-04 17:03:13 -0400 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-10-25 13:44:51 -0400 |
commit | 92ca366e9b835ada0bfe3c663da91ae44d7e8184 (patch) | |
tree | 75d913e64869267eb73f19d97798ec465dcfcb2b | |
parent | a14404a9f04b904bd0c22f34e2119afbf1425abe (diff) |
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>
-rw-r--r-- | drivers/thermal/rcar_thermal.c | 4 |
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[] = { | |||
125 | .data = &rcar_gen2_thermal, | 125 | .data = &rcar_gen2_thermal, |
126 | }, | 126 | }, |
127 | { | 127 | { |
128 | .compatible = "renesas,thermal-r8a77970", | ||
129 | .data = &rcar_gen3_thermal, | ||
130 | }, | ||
131 | { | ||
128 | .compatible = "renesas,thermal-r8a77995", | 132 | .compatible = "renesas,thermal-r8a77995", |
129 | .data = &rcar_gen3_thermal, | 133 | .data = &rcar_gen3_thermal, |
130 | }, | 134 | }, |