* [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+
@ 2020-03-06 10:55 Geert Uytterhoeven
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2020-03-06 10:55 UTC (permalink / raw)
To: Niklas Söderlund, Zhang Rui, Daniel Lezcano, Amit Kucheria,
Rob Herring
Cc: linux-pm, devicetree, linux-renesas-soc, Geert Uytterhoeven
Hi,
This patch series adds support for the Thermal Sensor/Chip Internal
Voltage Monitor in the R-Car M3-W+ (R8A77961) SoC.
It has been tested on a Salvator-XS development board with R-Car M3-W+.
Geert Uytterhoeven (2):
dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
thermal: rcar_gen3_thermal: Add r8a77961 support
.../devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
drivers/thermal/rcar_gen3_thermal.c | 4 ++++
2 files changed, 5 insertions(+)
--
2.17.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
2020-03-06 10:55 [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Geert Uytterhoeven
@ 2020-03-06 10:55 ` Geert Uytterhoeven
2020-03-08 16:26 ` Niklas Söderlund
2020-03-12 20:05 ` Rob Herring
2020-03-06 10:55 ` [PATCH 2/2] thermal: rcar_gen3_thermal: " Geert Uytterhoeven
` (2 subsequent siblings)
3 siblings, 2 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2020-03-06 10:55 UTC (permalink / raw)
To: Niklas Söderlund, Zhang Rui, Daniel Lezcano, Amit Kucheria,
Rob Herring
Cc: linux-pm, devicetree, linux-renesas-soc, Geert Uytterhoeven
Document R-Car M3-W+ (R8A77961) SoC bindings.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
index 12c740b975f78690..2993fa720195308f 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
@@ -11,6 +11,7 @@ Required properties:
- "renesas,r8a774b1-thermal" (RZ/G2N)
- "renesas,r8a7795-thermal" (R-Car H3)
- "renesas,r8a7796-thermal" (R-Car M3-W)
+ - "renesas,r8a77961-thermal" (R-Car M3-W+)
- "renesas,r8a77965-thermal" (R-Car M3-N)
- "renesas,r8a77980-thermal" (R-Car V3H)
- reg : Address ranges of the thermal registers. Each sensor
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] thermal: rcar_gen3_thermal: Add r8a77961 support
2020-03-06 10:55 [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Geert Uytterhoeven
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
@ 2020-03-06 10:55 ` Geert Uytterhoeven
2020-03-08 16:27 ` Niklas Söderlund
2020-03-06 12:11 ` [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Amit Kucheria
2020-03-12 11:16 ` Daniel Lezcano
3 siblings, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2020-03-06 10:55 UTC (permalink / raw)
To: Niklas Söderlund, Zhang Rui, Daniel Lezcano, Amit Kucheria,
Rob Herring
Cc: linux-pm, devicetree, linux-renesas-soc, Geert Uytterhoeven
Add support for the Thermal Sensor/Chip Internal Voltage Monitor in the
R-Car M3-W+ (R8A77961) SoC.
According to the R-Car Gen3 Hardware Manual Errata for Revision 2.00 of
Jan 31, 2020, the thermal parameters for R-Car M3-W+ are the same as for
R-Car M3-W.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/thermal/rcar_gen3_thermal.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c
index 72877bdc072daaed..a6b0c31f1509c45c 100644
--- a/drivers/thermal/rcar_gen3_thermal.c
+++ b/drivers/thermal/rcar_gen3_thermal.c
@@ -324,6 +324,10 @@ static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
.compatible = "renesas,r8a7796-thermal",
.data = &rcar_gen3_ths_tj_1_m3_w,
},
+ {
+ .compatible = "renesas,r8a77961-thermal",
+ .data = &rcar_gen3_ths_tj_1_m3_w,
+ },
{
.compatible = "renesas,r8a77965-thermal",
.data = &rcar_gen3_ths_tj_1,
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+
2020-03-06 10:55 [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Geert Uytterhoeven
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
2020-03-06 10:55 ` [PATCH 2/2] thermal: rcar_gen3_thermal: " Geert Uytterhoeven
@ 2020-03-06 12:11 ` Amit Kucheria
2020-03-12 11:16 ` Daniel Lezcano
3 siblings, 0 replies; 8+ messages in thread
From: Amit Kucheria @ 2020-03-06 12:11 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Niklas Söderlund, Zhang Rui, Daniel Lezcano, Rob Herring,
Linux PM list,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
linux-renesas-soc
On Fri, Mar 6, 2020 at 4:25 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> Hi,
>
> This patch series adds support for the Thermal Sensor/Chip Internal
> Voltage Monitor in the R-Car M3-W+ (R8A77961) SoC.
>
> It has been tested on a Salvator-XS development board with R-Car M3-W+.
>
> Geert Uytterhoeven (2):
> dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
> thermal: rcar_gen3_thermal: Add r8a77961 support
>
> .../devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
> drivers/thermal/rcar_gen3_thermal.c | 4 ++++
> 2 files changed, 5 insertions(+)
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
> --
> 2.17.1
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
@ 2020-03-08 16:26 ` Niklas Söderlund
2020-03-12 20:05 ` Rob Herring
1 sibling, 0 replies; 8+ messages in thread
From: Niklas Söderlund @ 2020-03-08 16:26 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Zhang Rui, Daniel Lezcano, Amit Kucheria, Rob Herring, linux-pm,
devicetree, linux-renesas-soc
Hi Geert,
Thanks for your work.
On 2020-03-06 11:55:02 +0100, Geert Uytterhoeven wrote:
> Document R-Car M3-W+ (R8A77961) SoC bindings.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
> index 12c740b975f78690..2993fa720195308f 100644
> --- a/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt
> @@ -11,6 +11,7 @@ Required properties:
> - "renesas,r8a774b1-thermal" (RZ/G2N)
> - "renesas,r8a7795-thermal" (R-Car H3)
> - "renesas,r8a7796-thermal" (R-Car M3-W)
> + - "renesas,r8a77961-thermal" (R-Car M3-W+)
> - "renesas,r8a77965-thermal" (R-Car M3-N)
> - "renesas,r8a77980-thermal" (R-Car V3H)
> - reg : Address ranges of the thermal registers. Each sensor
> --
> 2.17.1
>
--
Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 2/2] thermal: rcar_gen3_thermal: Add r8a77961 support
2020-03-06 10:55 ` [PATCH 2/2] thermal: rcar_gen3_thermal: " Geert Uytterhoeven
@ 2020-03-08 16:27 ` Niklas Söderlund
0 siblings, 0 replies; 8+ messages in thread
From: Niklas Söderlund @ 2020-03-08 16:27 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Zhang Rui, Daniel Lezcano, Amit Kucheria, Rob Herring, linux-pm,
devicetree, linux-renesas-soc
Hi Geert,
Thanks for your patch.
On 2020-03-06 11:55:03 +0100, Geert Uytterhoeven wrote:
> Add support for the Thermal Sensor/Chip Internal Voltage Monitor in the
> R-Car M3-W+ (R8A77961) SoC.
>
> According to the R-Car Gen3 Hardware Manual Errata for Revision 2.00 of
> Jan 31, 2020, the thermal parameters for R-Car M3-W+ are the same as for
> R-Car M3-W.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> ---
> drivers/thermal/rcar_gen3_thermal.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/thermal/rcar_gen3_thermal.c b/drivers/thermal/rcar_gen3_thermal.c
> index 72877bdc072daaed..a6b0c31f1509c45c 100644
> --- a/drivers/thermal/rcar_gen3_thermal.c
> +++ b/drivers/thermal/rcar_gen3_thermal.c
> @@ -324,6 +324,10 @@ static const struct of_device_id rcar_gen3_thermal_dt_ids[] = {
> .compatible = "renesas,r8a7796-thermal",
> .data = &rcar_gen3_ths_tj_1_m3_w,
> },
> + {
> + .compatible = "renesas,r8a77961-thermal",
> + .data = &rcar_gen3_ths_tj_1_m3_w,
> + },
> {
> .compatible = "renesas,r8a77965-thermal",
> .data = &rcar_gen3_ths_tj_1,
> --
> 2.17.1
>
--
Regards,
Niklas Söderlund
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+
2020-03-06 10:55 [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Geert Uytterhoeven
` (2 preceding siblings ...)
2020-03-06 12:11 ` [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Amit Kucheria
@ 2020-03-12 11:16 ` Daniel Lezcano
3 siblings, 0 replies; 8+ messages in thread
From: Daniel Lezcano @ 2020-03-12 11:16 UTC (permalink / raw)
To: Geert Uytterhoeven, Niklas Söderlund, Zhang Rui,
Amit Kucheria, Rob Herring
Cc: linux-pm, devicetree, linux-renesas-soc
On 06/03/2020 11:55, Geert Uytterhoeven wrote:
> Hi,
>
> This patch series adds support for the Thermal Sensor/Chip Internal
> Voltage Monitor in the R-Car M3-W+ (R8A77961) SoC.
>
> It has been tested on a Salvator-XS development board with R-Car M3-W+.
>
> Geert Uytterhoeven (2):
> dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
> thermal: rcar_gen3_thermal: Add r8a77961 support
>
> .../devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
> drivers/thermal/rcar_gen3_thermal.c | 4 ++++
> 2 files changed, 5 insertions(+)
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
2020-03-08 16:26 ` Niklas Söderlund
@ 2020-03-12 20:05 ` Rob Herring
1 sibling, 0 replies; 8+ messages in thread
From: Rob Herring @ 2020-03-12 20:05 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Niklas Söderlund, Zhang Rui, Daniel Lezcano, Amit Kucheria,
linux-pm, devicetree, linux-renesas-soc, Geert Uytterhoeven
On Fri, 6 Mar 2020 11:55:02 +0100, Geert Uytterhoeven wrote:
> Document R-Car M3-W+ (R8A77961) SoC bindings.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.txt | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-03-12 20:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06 10:55 [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Geert Uytterhoeven
2020-03-06 10:55 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support Geert Uytterhoeven
2020-03-08 16:26 ` Niklas Söderlund
2020-03-12 20:05 ` Rob Herring
2020-03-06 10:55 ` [PATCH 2/2] thermal: rcar_gen3_thermal: " Geert Uytterhoeven
2020-03-08 16:27 ` Niklas Söderlund
2020-03-06 12:11 ` [PATCH 0/2] thermal: Add support for Renesas R-Car M3-W+ Amit Kucheria
2020-03-12 11:16 ` Daniel Lezcano
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).