* [PATCH v2 0/2] thermal: rcar_gen3_thermal: add r8a77965 support
@ 2018-04-26 19:42 Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
0 siblings, 2 replies; 3+ messages in thread
From: Niklas Söderlund @ 2018-04-26 19:42 UTC (permalink / raw)
To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
Cc: linux-renesas-soc, Niklas Söderlund
Hi,
This series adds DT documentation and driver support to the
rcar-gen3-thermal driver for r8a77965.
See each patch for individual changelog.
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(-)
--
2.17.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965
2018-04-26 19:42 [PATCH v2 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
@ 2018-04-26 19:42 ` Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
1 sibling, 0 replies; 3+ messages in thread
From: Niklas Söderlund @ 2018-04-26 19:42 UTC (permalink / raw)
To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
Cc: linux-renesas-soc, Niklas Söderlund
Based on previous work by Ryo Kataoka <ryo.kataoka.wt@renesas.com>.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Rob Herring <robh@kernel.org>
---
* Changes since v1
- s/H3 and M3-W, M3-N/H3, M3-W and M3-N/
- Add review tags.
---
.../devicetree/bindings/thermal/rcar-gen3-thermal.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
index fdf5caa6229b4fff..32c63ffef2e3a3ff 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
@@ -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, M3-W and 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.
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH v2 2/2] thermal: rcar_gen3_thermal: add r8a77965 support
2018-04-26 19:42 [PATCH v2 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
@ 2018-04-26 19:42 ` Niklas Söderlund
1 sibling, 0 replies; 3+ messages in thread
From: Niklas Söderlund @ 2018-04-26 19:42 UTC (permalink / raw)
To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
Cc: linux-renesas-soc, Niklas Söderlund
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
---
drivers/thermal/rcar_gen3_thermal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c
index 561a0a332208504a..c04182e1518cd613 100644
--- a/drivers/thermal/rcar_gen3_thermal.c
+++ b/drivers/thermal/rcar_gen3_thermal.c
@@ -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);
--
2.17.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-26 19:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-26 19:42 [PATCH v2 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
2018-04-26 19:42 ` [PATCH v2 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).