diff mbox series

thermal: rcar_thermal: add R8A774C0 support

Message ID 1544732590-7230-1-git-send-email-fabrizio.castro@bp.renesas.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series thermal: rcar_thermal: add R8A774C0 support | expand

Commit Message

Fabrizio Castro Dec. 13, 2018, 8:23 p.m. UTC
Add thermal support for the RZ/G2E SoC (a.k.a. R8A774C0).

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/thermal/rcar_thermal.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Geert Uytterhoeven Dec. 14, 2018, 10:43 a.m. UTC | #1
On Thu, Dec 13, 2018 at 9:23 PM Fabrizio Castro
<fabrizio.castro@bp.renesas.com> wrote:
> Add thermal support for the RZ/G2E SoC (a.k.a. R8A774C0).
>
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
Simon Horman Dec. 14, 2018, 4:21 p.m. UTC | #2
On Thu, Dec 13, 2018 at 08:23:10PM +0000, Fabrizio Castro wrote:
> Add thermal support for the RZ/G2E SoC (a.k.a. R8A774C0).
> 
> Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
diff mbox series

Patch

diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 30a12b8..97462e9 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -113,6 +113,10 @@  static const struct of_device_id rcar_thermal_dt_ids[] = {
 		 .data = &rcar_gen2_thermal,
 	},
 	{
+		.compatible = "renesas,thermal-r8a774c0",
+		.data = &rcar_gen3_thermal,
+	},
+	{
 		.compatible = "renesas,thermal-r8a77970",
 		.data = &rcar_gen3_thermal,
 	},