All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] thermal: rcar_gen3_thermal: add r8a77965 support
@ 2018-04-17 21:00 Niklas Söderlund
  2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
  2018-04-17 21:00 ` [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
  0 siblings, 2 replies; 8+ messages in thread
From: Niklas Söderlund @ 2018-04-17 21:00 UTC (permalink / raw)
  To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
  Cc: linux-renesas-soc, Niklas Söderlund

From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

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(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965
  2018-04-17 21:00 [PATCH 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
@ 2018-04-17 21:00 ` Niklas Söderlund
  2018-04-18  8:40   ` Geert Uytterhoeven
                     ` (2 more replies)
  2018-04-17 21:00 ` [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
  1 sibling, 3 replies; 8+ messages in thread
From: Niklas Söderlund @ 2018-04-17 21:00 UTC (permalink / raw)
  To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
  Cc: linux-renesas-soc, Niklas Söderlund

From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Based on previous work by Ryo Kataoka <ryo.kataoka.wt@renesas.com>.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 .../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 39e7d4e61a63c038..de834c4442d5f213 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 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.
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support
  2018-04-17 21:00 [PATCH 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
  2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
@ 2018-04-17 21:00 ` Niklas Söderlund
  2018-04-18  8:40   ` Geert Uytterhoeven
  2018-04-24  5:57   ` Simon Horman
  1 sibling, 2 replies; 8+ messages in thread
From: Niklas Söderlund @ 2018-04-17 21:00 UTC (permalink / raw)
  To: Rob Herring, Eduardo Valentin, linux-pm, devicetree
  Cc: linux-renesas-soc, Niklas Söderlund

From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
---
 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] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965
  2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
@ 2018-04-18  8:40   ` Geert Uytterhoeven
  2018-04-24  5:57   ` Simon Horman
  2018-04-24 14:30   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2018-04-18  8:40 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Rob Herring, Eduardo Valentin, Linux PM list,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux-Renesas, Niklas Söderlund

On Tue, Apr 17, 2018 at 11:00 PM, Niklas Söderlund
<niklas.soderlund@ragnatech.se> wrote:
> From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
>
> 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>

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 2/2] thermal: rcar_gen3_thermal: add r8a77965 support
  2018-04-17 21:00 ` [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
@ 2018-04-18  8:40   ` Geert Uytterhoeven
  2018-04-24  5:57   ` Simon Horman
  1 sibling, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2018-04-18  8:40 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Rob Herring, Eduardo Valentin, Linux PM list,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux-Renesas, Niklas Söderlund

On Tue, Apr 17, 2018 at 11:00 PM, Niklas Söderlund
<niklas.soderlund@ragnatech.se> wrote:
> From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
>
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

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

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 r8a77965
  2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
  2018-04-18  8:40   ` Geert Uytterhoeven
@ 2018-04-24  5:57   ` Simon Horman
  2018-04-24 14:30   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2018-04-24  5:57 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Rob Herring, Eduardo Valentin, linux-pm, devicetree,
	linux-renesas-soc, Niklas Söderlund

On Tue, Apr 17, 2018 at 11:00:44PM +0200, Niklas Söderlund wrote:
> From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> Based on previous work by Ryo Kataoka <ryo.kataoka.wt@renesas.com>.
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

With the nit below resolved please feel free to add:

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

> ---
>  .../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 39e7d4e61a63c038..de834c4442d5f213 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 and M3-W, M3-N)

nit: ... 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	[flat|nested] 8+ messages in thread

* Re: [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support
  2018-04-17 21:00 ` [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
  2018-04-18  8:40   ` Geert Uytterhoeven
@ 2018-04-24  5:57   ` Simon Horman
  1 sibling, 0 replies; 8+ messages in thread
From: Simon Horman @ 2018-04-24  5:57 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Rob Herring, Eduardo Valentin, linux-pm, devicetree,
	linux-renesas-soc, Niklas Söderlund

On Tue, Apr 17, 2018 at 11:00:45PM +0200, Niklas Söderlund wrote:
> From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965
  2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
  2018-04-18  8:40   ` Geert Uytterhoeven
  2018-04-24  5:57   ` Simon Horman
@ 2018-04-24 14:30   ` Rob Herring
  2 siblings, 0 replies; 8+ messages in thread
From: Rob Herring @ 2018-04-24 14:30 UTC (permalink / raw)
  To: Niklas Söderlund
  Cc: Eduardo Valentin, linux-pm, devicetree, linux-renesas-soc,
	Niklas Söderlund

On Tue, Apr 17, 2018 at 11:00:44PM +0200, Niklas S�derlund wrote:
> From: Niklas S�derlund <niklas.soderlund+renesas@ragnatech.se>
> 
> Based on previous work by Ryo Kataoka <ryo.kataoka.wt@renesas.com>.
> 
> Signed-off-by: Niklas S�derlund <niklas.soderlund+renesas@ragnatech.se>
> ---
>  .../devicetree/bindings/thermal/rcar-gen3-thermal.txt          | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-24 14:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17 21:00 [PATCH 0/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
2018-04-17 21:00 ` [PATCH 1/2] dt-bindings: thermal: rcar-gen3-thermal: add r8a77965 Niklas Söderlund
2018-04-18  8:40   ` Geert Uytterhoeven
2018-04-24  5:57   ` Simon Horman
2018-04-24 14:30   ` Rob Herring
2018-04-17 21:00 ` [PATCH 2/2] thermal: rcar_gen3_thermal: add r8a77965 support Niklas Söderlund
2018-04-18  8:40   ` Geert Uytterhoeven
2018-04-24  5:57   ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.