]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
thermal: rcar_thermal: add R8A77970 support
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 4 Oct 2018 21:03:13 +0000 (00:03 +0300)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 25 Oct 2018 17:44:51 +0000 (10:44 -0700)
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>
drivers/thermal/rcar_thermal.c

index 39366cf69d7f7ac85a39009b53584298f9357c9b..98f951391dcbd83d4856a74d868377ff1d0bb555 100644 (file)
@@ -124,6 +124,10 @@ static const struct of_device_id rcar_thermal_dt_ids[] = {
                .compatible = "renesas,rcar-gen2-thermal",
                 .data = &rcar_gen2_thermal,
        },
+       {
+               .compatible = "renesas,thermal-r8a77970",
+               .data = &rcar_gen3_thermal,
+       },
        {
                .compatible = "renesas,thermal-r8a77995",
                .data = &rcar_gen3_thermal,