Skip to contentSkip to conversation

thermal: rcar_gen3_thermal: add r8a77965 support

PATCH In review Niklas Söderlund 4 participants 8 messages Apr 17, 2018 – Apr 24, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover thermal: rcar_gen3_thermal: add r8a77965 support

From: Niklas Söderlund <[email protected]>

Hi,

This series adds DT documentation and driver support to the rcar-gen3-thermal driver for r8a77965.

Niklas Söderlund (2):
dt-bindings: thermal: rcar-gen3-thermal: add r8a77965
thermal: rcar_gen3_thermal: add r8a77965 support

 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt          | 3 ++-
 drivers/thermal/rcar_gen3_thermal.c                            | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.0
#1 lore raw

PATCH 1/2 dt-bindings: thermal: rcar-gen3-thermal: add r8a77965

From: Niklas Söderlund <[email protected]>

Based on previous work by Ryo Kataoka <[email protected]>.

---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +2 -1
index 39e7d4e61a63c038..de834c4442d5f213 100644
@@ -9,6 +9,7 @@ Required properties:
 			  Examples with soctypes are:
 			    - "renesas,r8a7795-thermal" (R-Car H3)
 			    - "renesas,r8a7796-thermal" (R-Car M3-W)
+			    - "renesas,r8a77965-thermal" (R-Car M3-N)
 - reg			: Address ranges of the thermal registers. Each sensor
 			  needs one address range. Sorting must be done in
 			  increasing order according to datasheet, i.e.
@@ -18,7 +19,7 @@ Required properties:
 
 Optional properties:
 
-- interrupts           : interrupts routed to the TSC (3 for H3 and M3-W)
+- interrupts           : interrupts routed to the TSC (3 for H3 and M3-W, M3-N)
 - power-domain		: Must contain a reference to the power domain. This
 			  property is mandatory if the thermal sensor instance
 			  is part of a controllable power domain.
Signature · 1 line
2.17.0
Reviewed-by on v1 1/2
#2 lore raw

Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965

Quoted 5 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

Based on previous work by Ryo Kataoka <[email protected]>.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Reviewed-by on v1 1/2
#3 lore raw

Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965

In reply to Niklas Söderlund
Quoted 5 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

Based on previous work by Ryo Kataoka <[email protected]>.

With the nit below resolved please feel free to add:

Quoted 17 lines
---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +1 -0
index 39e7d4e61a63c038..de834c4442d5f213 100644
@@ -9,6 +9,7 @@ Required properties:
 			  Examples with soctypes are:
 			    - "renesas,r8a7795-thermal" (R-Car H3)
 			    - "renesas,r8a7796-thermal" (R-Car M3-W)
+			    - "renesas,r8a77965-thermal" (R-Car M3-N)
 - reg			: Address ranges of the thermal registers. Each sensor
 			  needs one address range. Sorting must be done in
 			  increasing order according to datasheet, i.e.

Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt Required properties: · line 22

Quoted 5 lines
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +1 -1
@@ -18,7 +19,7 @@ Required properties:
 
 Optional properties:
 
-- interrupts           : interrupts routed to the TSC (3 for H3 and M3-W)
+- interrupts           : interrupts routed to the TSC (3 for H3 and M3-W, M3-N)

nit: ... H3, M3-W and M3-N

Quoted 6 lines
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt +0 -0
 - power-domain		: Must contain a reference to the power domain. This
 			  property is mandatory if the thermal sensor instance
 			  is part of a controllable power domain.
Signature · 1 line
2.17.0
maintainer Reviewed-by on v1 1/2
#4 lore raw

Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965

In reply to Niklas Söderlund
Quoted 8 lines · Niklas S�derlund

From: Niklas S�derlund <[email protected]>

Based on previous work by Ryo Kataoka <[email protected]>.

---
 .../devicetree/bindings/thermal/rcar-gen3-thermal.txt          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
#5 lore raw

PATCH 2/2 thermal: rcar_gen3_thermal: add r8a77965 support

In reply to Niklas Söderlund

From: Niklas Söderlund <[email protected]>

---
 drivers/thermal/rcar_gen3_thermal.c | 1 +
 1 file changed, 1 insertion(+)
drivers/thermal/rcar_gen3_thermal.c +1 -0
index 561a0a332208504a..c04182e1518cd613 100644
@@ -329,6 +329,7 @@ static void rcar_gen3_thermal_init(struct rcar_gen3_thermal_tsc *tsc)
 static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
 	{ .compatible = "renesas,r8a7795-thermal", },
 	{ .compatible = "renesas,r8a7796-thermal", },
+	{ .compatible = "renesas,r8a77965-thermal", },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rcar_gen3_thermal_dt_ids);
Signature · 1 line
2.17.0
Reviewed-by on v1 2/2
#6 lore raw
Quoted 3 lines · Niklas Söderlund

From: Niklas Söderlund <[email protected]>

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds