All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFT 0/2] thermal: add suport for R8A77990
@ 2018-10-15 14:11 Yoshihiro Kaneko
  2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Yoshihiro Kaneko @ 2018-10-15 14:11 UTC (permalink / raw)
  To: linux-pm
  Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, devicetree, linux-renesas-soc

This series adds thermal support for R-Car E3 (R8A77990).

This series is based on the next branch of Eduardo Valentin's linux-soc-thermal
tree.

Yoshihiro Kaneko (2):
  dt-bindings: thermal: rcar-thermal: add R8A77990 support
  thermal: rcar_thermal: add R8A77990 support

 Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
 drivers/thermal/rcar_thermal.c                             | 4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)

-- 
1.9.1

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

* [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support
  2018-10-15 14:11 [PATCH/RFT 0/2] thermal: add suport for R8A77990 Yoshihiro Kaneko
@ 2018-10-15 14:11 ` Yoshihiro Kaneko
  2018-10-25  0:09   ` Rob Herring
  2018-11-13 12:13   ` Wolfram Sang
  2018-10-15 14:11 ` [PATCH/RFT 2/2] thermal: rcar_thermal: " Yoshihiro Kaneko
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 10+ messages in thread
From: Yoshihiro Kaneko @ 2018-10-15 14:11 UTC (permalink / raw)
  To: linux-pm
  Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, devicetree, linux-renesas-soc

Document the R-Car E3 (R8A77990) SoC bindings.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
---
 Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
index 67c563f..18353b9 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
@@ -4,7 +4,7 @@ Required properties:
 - compatible		: "renesas,thermal-<soctype>",
 			   "renesas,rcar-gen2-thermal" (with thermal-zone) or
 			   "renesas,rcar-thermal" (without thermal-zone) as
-                           fallback except R-Car D3.
+                           fallback except R-Car E3/D3.
 			  Examples with soctypes are:
 			    - "renesas,thermal-r8a73a4" (R-Mobile APE6)
 			    - "renesas,thermal-r8a7743" (RZ/G1M)
@@ -13,6 +13,7 @@ Required properties:
 			    - "renesas,thermal-r8a7791" (R-Car M2-W)
 			    - "renesas,thermal-r8a7792" (R-Car V2H)
 			    - "renesas,thermal-r8a7793" (R-Car M2-N)
+			    - "renesas,thermal-r8a77990" (R-Car E3)
 			    - "renesas,thermal-r8a77995" (R-Car D3)
 - reg			: Address range of the thermal registers.
 			  The 1st reg will be recognized as common register
@@ -21,7 +22,7 @@ Required properties:
 Option properties:
 
 - interrupts		: If present should contain 3 interrupts for
-                          R-Car D3 or 1 interrupt otherwise.
+                          R-Car E3/D3 or 1 interrupt otherwise.
 
 Example (non interrupt support):
 
-- 
1.9.1

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

* [PATCH/RFT 2/2] thermal: rcar_thermal: add R8A77990 support
  2018-10-15 14:11 [PATCH/RFT 0/2] thermal: add suport for R8A77990 Yoshihiro Kaneko
  2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
@ 2018-10-15 14:11 ` Yoshihiro Kaneko
  2018-11-13 12:14   ` Wolfram Sang
  2018-10-17  9:53 ` [PATCH/RFT 0/2] thermal: add suport for R8A77990 Simon Horman
  2018-12-05  6:12 ` Eduardo Valentin
  3 siblings, 1 reply; 10+ messages in thread
From: Yoshihiro Kaneko @ 2018-10-15 14:11 UTC (permalink / raw)
  To: linux-pm
  Cc: Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, devicetree, linux-renesas-soc

Add support for R-Car E3 (R8A77990) thermal support.

Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
---
 drivers/thermal/rcar_thermal.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 78f9328..b1bc5c1 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -113,6 +113,10 @@ struct rcar_thermal_priv {
 		 .data = &rcar_gen2_thermal,
 	},
 	{
+		.compatible = "renesas,thermal-r8a77990",
+		.data = &rcar_gen3_thermal,
+	},
+	{
 		.compatible = "renesas,thermal-r8a77995",
 		.data = &rcar_gen3_thermal,
 	},
-- 
1.9.1

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

* Re: [PATCH/RFT 0/2] thermal: add suport for R8A77990
  2018-10-15 14:11 [PATCH/RFT 0/2] thermal: add suport for R8A77990 Yoshihiro Kaneko
  2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
  2018-10-15 14:11 ` [PATCH/RFT 2/2] thermal: rcar_thermal: " Yoshihiro Kaneko
@ 2018-10-17  9:53 ` Simon Horman
  2018-12-05  6:12 ` Eduardo Valentin
  3 siblings, 0 replies; 10+ messages in thread
From: Simon Horman @ 2018-10-17  9:53 UTC (permalink / raw)
  To: Yoshihiro Kaneko
  Cc: linux-pm, Zhang Rui, Eduardo Valentin, Rob Herring, Magnus Damm,
	devicetree, linux-renesas-soc

On Mon, Oct 15, 2018 at 11:11:57PM +0900, Yoshihiro Kaneko wrote:
> This series adds thermal support for R-Car E3 (R8A77990).
> 
> This series is based on the next branch of Eduardo Valentin's linux-soc-thermal
> tree.
> 
> Yoshihiro Kaneko (2):
>   dt-bindings: thermal: rcar-thermal: add R8A77990 support
>   thermal: rcar_thermal: add R8A77990 support

Tested in conjunction with "[PATCH/RFT] arm64: dts: renesas: r8a77990: add
thermal device support".

# X=1000000; while [ "$X" -gt 0 ]; do X=$(($X -1 )); done; cat
# /sys/devices/virtual/thermal/thermal_zone0/temp; sleep 1; cat
# /sys/devices/virtual/thermal/thermal_zone0/temp
30000
25000


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

> 
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
>  drivers/thermal/rcar_thermal.c                             | 4 ++++
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 
> -- 
> 1.9.1
> 

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

* Re: [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support
  2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
@ 2018-10-25  0:09   ` Rob Herring
  2018-11-13 12:13   ` Wolfram Sang
  1 sibling, 0 replies; 10+ messages in thread
From: Rob Herring @ 2018-10-25  0:09 UTC (permalink / raw)
  To: Yoshihiro Kaneko
  Cc: linux-pm, Zhang Rui, Eduardo Valentin, Simon Horman, Magnus Damm,
	devicetree, linux-renesas-soc

On Mon, 15 Oct 2018 23:11:58 +0900, Yoshihiro Kaneko wrote:
> Document the R-Car E3 (R8A77990) SoC bindings.
> 
> Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
> ---
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 

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

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

* Re: [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support
  2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
  2018-10-25  0:09   ` Rob Herring
@ 2018-11-13 12:13   ` Wolfram Sang
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2018-11-13 12:13 UTC (permalink / raw)
  To: Yoshihiro Kaneko
  Cc: linux-pm, Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, devicetree, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]


Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH/RFT 2/2] thermal: rcar_thermal: add R8A77990 support
  2018-10-15 14:11 ` [PATCH/RFT 2/2] thermal: rcar_thermal: " Yoshihiro Kaneko
@ 2018-11-13 12:14   ` Wolfram Sang
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2018-11-13 12:14 UTC (permalink / raw)
  To: Yoshihiro Kaneko
  Cc: linux-pm, Zhang Rui, Eduardo Valentin, Rob Herring, Simon Horman,
	Magnus Damm, devicetree, linux-renesas-soc

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]


Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH/RFT 0/2] thermal: add suport for R8A77990
  2018-10-15 14:11 [PATCH/RFT 0/2] thermal: add suport for R8A77990 Yoshihiro Kaneko
                   ` (2 preceding siblings ...)
  2018-10-17  9:53 ` [PATCH/RFT 0/2] thermal: add suport for R8A77990 Simon Horman
@ 2018-12-05  6:12 ` Eduardo Valentin
  2018-12-17 12:58     ` Yoshihiro Kaneko
  3 siblings, 1 reply; 10+ messages in thread
From: Eduardo Valentin @ 2018-12-05  6:12 UTC (permalink / raw)
  To: Yoshihiro Kaneko
  Cc: linux-pm, Zhang Rui, Rob Herring, Simon Horman, Magnus Damm,
	devicetree, linux-renesas-soc

Hello Yoshihiro,

On Mon, Oct 15, 2018 at 11:11:57PM +0900, Yoshihiro Kaneko wrote:
> This series adds thermal support for R-Car E3 (R8A77990).
> 
> This series is based on the next branch of Eduardo Valentin's linux-soc-thermal
> tree.

Sorry for the late response, but would you be able to refresh your
series to latest linus master branch?

> 
> Yoshihiro Kaneko (2):
>   dt-bindings: thermal: rcar-thermal: add R8A77990 support
>   thermal: rcar_thermal: add R8A77990 support
> 
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
>  drivers/thermal/rcar_thermal.c                             | 4 ++++
>  2 files changed, 7 insertions(+), 2 deletions(-)
> 
> -- 
> 1.9.1
> 

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

* Re: [PATCH/RFT 0/2] thermal: add suport for R8A77990
  2018-12-05  6:12 ` Eduardo Valentin
@ 2018-12-17 12:58     ` Yoshihiro Kaneko
  0 siblings, 0 replies; 10+ messages in thread
From: Yoshihiro Kaneko @ 2018-12-17 12:58 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: Linux PM list, Zhang Rui, Rob Herring, Simon Horman, Magnus Damm,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux-Renesas

Hello Eduardo,

I am sorry for my late replay.

2018年12月5日(水) 15:12 Eduardo Valentin <edubezval@gmail.com>:
>
> Hello Yoshihiro,
>
> On Mon, Oct 15, 2018 at 11:11:57PM +0900, Yoshihiro Kaneko wrote:
> > This series adds thermal support for R-Car E3 (R8A77990).
> >
> > This series is based on the next branch of Eduardo Valentin's linux-soc-thermal
> > tree.
>
> Sorry for the late response, but would you be able to refresh your
> series to latest linus master branch?

Yes, I will do it.

Best regards,
Kaneko

>
> >
> > Yoshihiro Kaneko (2):
> >   dt-bindings: thermal: rcar-thermal: add R8A77990 support
> >   thermal: rcar_thermal: add R8A77990 support
> >
> >  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
> >  drivers/thermal/rcar_thermal.c                             | 4 ++++
> >  2 files changed, 7 insertions(+), 2 deletions(-)
> >
> > --
> > 1.9.1
> >

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

* Re: [PATCH/RFT 0/2] thermal: add suport for R8A77990
@ 2018-12-17 12:58     ` Yoshihiro Kaneko
  0 siblings, 0 replies; 10+ messages in thread
From: Yoshihiro Kaneko @ 2018-12-17 12:58 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: Linux PM list, Zhang Rui, Rob Herring, Simon Horman, Magnus Damm,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Linux-Renesas

Hello Eduardo,

I am sorry for my late replay.

2018年12月5日(水) 15:12 Eduardo Valentin <edubezval@gmail.com>:
>
> Hello Yoshihiro,
>
> On Mon, Oct 15, 2018 at 11:11:57PM +0900, Yoshihiro Kaneko wrote:
> > This series adds thermal support for R-Car E3 (R8A77990).
> >
> > This series is based on the next branch of Eduardo Valentin's linux-soc-thermal
> > tree.
>
> Sorry for the late response, but would you be able to refresh your
> series to latest linus master branch?

Yes, I will do it.

Best regards,
Kaneko

>
> >
> > Yoshihiro Kaneko (2):
> >   dt-bindings: thermal: rcar-thermal: add R8A77990 support
> >   thermal: rcar_thermal: add R8A77990 support
> >
> >  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 5 +++--
> >  drivers/thermal/rcar_thermal.c                             | 4 ++++
> >  2 files changed, 7 insertions(+), 2 deletions(-)
> >
> > --
> > 1.9.1
> >

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

end of thread, other threads:[~2018-12-17 12:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 14:11 [PATCH/RFT 0/2] thermal: add suport for R8A77990 Yoshihiro Kaneko
2018-10-15 14:11 ` [PATCH/RFT 1/2] dt-bindings: thermal: rcar-thermal: add R8A77990 support Yoshihiro Kaneko
2018-10-25  0:09   ` Rob Herring
2018-11-13 12:13   ` Wolfram Sang
2018-10-15 14:11 ` [PATCH/RFT 2/2] thermal: rcar_thermal: " Yoshihiro Kaneko
2018-11-13 12:14   ` Wolfram Sang
2018-10-17  9:53 ` [PATCH/RFT 0/2] thermal: add suport for R8A77990 Simon Horman
2018-12-05  6:12 ` Eduardo Valentin
2018-12-17 12:58   ` Yoshihiro Kaneko
2018-12-17 12:58     ` Yoshihiro Kaneko

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.