All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
@ 2016-01-28  2:43 Kuninori Morimoto
  2016-01-28  2:45 ` [PATCH 1/4][RESEND] thermal: rcar: enable to " Kuninori Morimoto
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2016-01-28  2:43 UTC (permalink / raw)
  To: Linux-Renesas, Eduardo Valentin
  Cc: Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel

Hi Zhang, Simon

These are resend of thermal-zone support patch for R-Car thermal driver

Kuninori Morimoto (4):
      thermal: rcar: enable to use thermal-zone on DT
      ARM: shmobile: r8a7790: enable to use thermal-zone
      ARM: shmobile: r8a7791: enable to use thermal-zone
      ARM: shmobile: r8a7793: enable to use thermal-zone

 Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 37 +++++++++++++++++++++++++++++++++++--
 arch/arm/boot/dts/r8a7790.dtsi                             | 26 ++++++++++++++++++++++++--
 arch/arm/boot/dts/r8a7791.dtsi                             | 26 ++++++++++++++++++++++++--
 arch/arm/boot/dts/r8a7793.dtsi                             | 26 ++++++++++++++++++++++++--
 drivers/thermal/rcar_thermal.c                             | 45 ++++++++++++++++++++++++++++++++++++++++-----
 5 files changed, 147 insertions(+), 13 deletions(-)

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

* [PATCH 1/4][RESEND] thermal: rcar: enable to use thermal-zone on DT
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
@ 2016-01-28  2:45 ` Kuninori Morimoto
  2016-01-28  2:45 ` [PATCH 2/4][RESEND] ARM: shmobile: r8a7790: enable to use thermal-zone Kuninori Morimoto
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2016-01-28  2:45 UTC (permalink / raw)
  To: Eduardo Valentin, Zhang Rui
  Cc: Linux-Renesas, Wolfram Sang, Simon, Magnus, Linux-Kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch enables to use thermal-zone on DT if it was calles as
"renesas,rcar-thermal-gen2".
Previous style (= non thermal-zone) is still supported by
"renesas,rcar-thermal" to keep compatibility for "git bisect".

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 .../devicetree/bindings/thermal/rcar-thermal.txt   | 37 +++++++++++++++++-
 drivers/thermal/rcar_thermal.c                     | 45 +++++++++++++++++++---
 2 files changed, 75 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
index 332e625..e5ee3f1 100644
--- a/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rcar-thermal.txt
@@ -1,8 +1,9 @@
 * Renesas R-Car Thermal
 
 Required properties:
-- compatible		: "renesas,thermal-<soctype>", "renesas,rcar-thermal"
-			  as fallback.
+- compatible		: "renesas,thermal-<soctype>",
+			   "renesas,rcar-gen2-thermal" (with thermal-zone) or
+			   "renesas,rcar-thermal" (without thermal-zone) as fallback.
 			  Examples with soctypes are:
 			    - "renesas,thermal-r8a73a4" (R-Mobile APE6)
 			    - "renesas,thermal-r8a7779" (R-Car H1)
@@ -36,3 +37,35 @@ thermal@e61f0000 {
 		0xe61f0300 0x38>;
 	interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
 };
+
+Example (with thermal-zone):
+
+thermal-zones {
+	cpu_thermal: cpu-thermal {
+		polling-delay-passive	= <1000>;
+		polling-delay		= <5000>;
+
+		thermal-sensors = <&thermal>;
+
+		trips {
+			cpu-crit {
+				temperature	= <115000>;
+				hysteresis	= <0>;
+				type		= "critical";
+			};
+		};
+		cooling-maps {
+		};
+	};
+};
+
+thermal: thermal@e61f0000 {
+	compatible =	"renesas,thermal-r8a7790",
+			"renesas,rcar-gen2-thermal",
+			"renesas,rcar-thermal";
+	reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
+	interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
+	power-domains = <&cpg_clocks>;
+	#thermal-sensor-cells = <0>;
+};
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 44b9c48..0e735ac 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -23,6 +23,7 @@
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/module.h>
+#include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/pm_runtime.h>
 #include <linux/reboot.h>
@@ -75,8 +76,10 @@ struct rcar_thermal_priv {
 #define rcar_has_irq_support(priv)	((priv)->common->base)
 #define rcar_id_to_shift(priv)		((priv)->id * 8)
 
+#define USE_OF_THERMAL	1
 static const struct of_device_id rcar_thermal_dt_ids[] = {
 	{ .compatible = "renesas,rcar-thermal", },
+	{ .compatible = "renesas,rcar-gen2-thermal", .data = (void *)USE_OF_THERMAL },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rcar_thermal_dt_ids);
@@ -200,9 +203,9 @@ err_out_unlock:
 	return ret;
 }
 
-static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp)
+static int rcar_thermal_get_current_temp(struct rcar_thermal_priv *priv,
+					 int *temp)
 {
-	struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone);
 	int tmp;
 	int ret;
 
@@ -226,6 +229,20 @@ static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp)
 	return 0;
 }
 
+static int rcar_thermal_of_get_temp(void *data, int *temp)
+{
+	struct rcar_thermal_priv *priv = data;
+
+	return rcar_thermal_get_current_temp(priv, temp);
+}
+
+static int rcar_thermal_get_temp(struct thermal_zone_device *zone, int *temp)
+{
+	struct rcar_thermal_priv *priv = rcar_zone_to_priv(zone);
+
+	return rcar_thermal_get_current_temp(priv, temp);
+}
+
 static int rcar_thermal_get_trip_type(struct thermal_zone_device *zone,
 				      int trip, enum thermal_trip_type *type)
 {
@@ -282,6 +299,10 @@ static int rcar_thermal_notify(struct thermal_zone_device *zone,
 	return 0;
 }
 
+static const struct thermal_zone_of_device_ops rcar_thermal_zone_of_ops = {
+	.get_temp	= rcar_thermal_of_get_temp,
+};
+
 static struct thermal_zone_device_ops rcar_thermal_zone_ops = {
 	.get_temp	= rcar_thermal_get_temp,
 	.get_trip_type	= rcar_thermal_get_trip_type,
@@ -318,14 +339,20 @@ static void rcar_thermal_work(struct work_struct *work)
 
 	priv = container_of(work, struct rcar_thermal_priv, work.work);
 
-	rcar_thermal_get_temp(priv->zone, &cctemp);
+	ret = rcar_thermal_get_current_temp(priv, &cctemp);
+	if (ret < 0)
+		return;
+
 	ret = rcar_thermal_update_temp(priv);
 	if (ret < 0)
 		return;
 
 	rcar_thermal_irq_enable(priv);
 
-	rcar_thermal_get_temp(priv->zone, &nctemp);
+	ret = rcar_thermal_get_current_temp(priv, &nctemp);
+	if (ret < 0)
+		return;
+
 	if (nctemp != cctemp)
 		thermal_zone_device_update(priv->zone);
 }
@@ -403,6 +430,8 @@ static int rcar_thermal_probe(struct platform_device *pdev)
 	struct rcar_thermal_priv *priv;
 	struct device *dev = &pdev->dev;
 	struct resource *res, *irq;
+	const struct of_device_id *of_id = of_match_device(rcar_thermal_dt_ids, dev);
+	unsigned long of_data = (unsigned long)of_id->data;
 	int mres = 0;
 	int i;
 	int ret = -ENODEV;
@@ -463,7 +492,13 @@ static int rcar_thermal_probe(struct platform_device *pdev)
 		if (ret < 0)
 			goto error_unregister;
 
-		priv->zone = thermal_zone_device_register("rcar_thermal",
+		if (of_data == USE_OF_THERMAL)
+			priv->zone = thermal_zone_of_sensor_register(
+						dev, i, priv,
+						&rcar_thermal_zone_of_ops);
+		else
+			priv->zone = thermal_zone_device_register(
+						"rcar_thermal",
 						1, 0, priv,
 						&rcar_thermal_zone_ops, NULL, 0,
 						idle);
-- 
1.9.1

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

* [PATCH 2/4][RESEND] ARM: shmobile: r8a7790: enable to use thermal-zone
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
  2016-01-28  2:45 ` [PATCH 1/4][RESEND] thermal: rcar: enable to " Kuninori Morimoto
@ 2016-01-28  2:45 ` Kuninori Morimoto
  2016-01-28  2:46 ` [PATCH 3/4][RESEND] ARM: shmobile: r8a7791: " Kuninori Morimoto
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2016-01-28  2:45 UTC (permalink / raw)
  To: Eduardo Valentin, Zhang Rui
  Cc: Linux-Renesas, Wolfram Sang, Simon, Magnus, Linux-Kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch enables to use thermal-zone on r8a7790.
This thermal sensor can measure temperature from -40000 to 125000,
but over 117000 can be critical on this chip.
Thus, default critical temperature is now set as 115000 (this driver
is using 5000 steps) (Current critical temperature is using it as
90000, but there is no big reason about it)

And it doesn't check thermal zone periodically (same as current
behavior). You can exchange it by modifying polling-delay[-passive]
property.

You can set trip temp if your kernel has CONFIG_THERMAL_WRITABLE_TRIPS,
but you need to take care to use it, since it will call
orderly_poweroff() it it reaches to the value.
echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/boot/dts/r8a7790.dtsi | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 7dfd393..d371660 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -112,6 +112,25 @@
 		};
 	};
 
+	thermal-zones {
+		cpu_thermal: cpu-thermal {
+			polling-delay-passive	= <0>;
+			polling-delay		= <0>;
+
+			thermal-sensors = <&thermal>;
+
+			trips {
+				cpu-crit {
+					temperature	= <115000>;
+					hysteresis	= <0>;
+					type		= "critical";
+				};
+			};
+			cooling-maps {
+			};
+		};
+	};
+
 	gic: interrupt-controller@f1001000 {
 		compatible = "arm,gic-400";
 		#interrupt-cells = <3>;
@@ -202,12 +221,15 @@
 		power-domains = <&cpg_clocks>;
 	};
 
-	thermal@e61f0000 {
-		compatible = "renesas,thermal-r8a7790", "renesas,rcar-thermal";
+	thermal: thermal@e61f0000 {
+		compatible =	"renesas,thermal-r8a7790",
+				"renesas,rcar-gen2-thermal",
+				"renesas,rcar-thermal";
 		reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
 		interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp5_clks R8A7790_CLK_THERMAL>;
 		power-domains = <&cpg_clocks>;
+		#thermal-sensor-cells = <0>;
 	};
 
 	timer {
-- 
1.9.1

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

* [PATCH 3/4][RESEND] ARM: shmobile: r8a7791: enable to use thermal-zone
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
  2016-01-28  2:45 ` [PATCH 1/4][RESEND] thermal: rcar: enable to " Kuninori Morimoto
  2016-01-28  2:45 ` [PATCH 2/4][RESEND] ARM: shmobile: r8a7790: enable to use thermal-zone Kuninori Morimoto
@ 2016-01-28  2:46 ` Kuninori Morimoto
  2016-01-28  2:46 ` [PATCH 4/4][RESEND] ARM: shmobile: r8a7793: " Kuninori Morimoto
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2016-01-28  2:46 UTC (permalink / raw)
  To: Eduardo Valentin, Zhang Rui
  Cc: Linux-Renesas, Wolfram Sang, Simon, Magnus, Linux-Kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch enables to use thermal-zone on r8a7791.
This thermal sensor can measure temperature from -40000 to 125000,
but over 117000 can be critical on this chip.
Thus, default critical temperature is now set as 115000 (this driver
is using 5000 steps) (Current critical temperature is using it as
90000, but there is no big reason about it)

And it doesn't check thermal zone periodically (same as current
behavior). You can exchange it by modifying polling-delay[-passive]
property.

You can set trip temp if your kernel has CONFIG_THERMAL_WRITABLE_TRIPS,
but you need to take care to use it, since it will call
orderly_poweroff() it it reaches to the value.
echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/boot/dts/r8a7791.dtsi | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 2a369dd..3acebc8 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -69,6 +69,25 @@
 		};
 	};
 
+	thermal-zones {
+		cpu_thermal: cpu-thermal {
+			polling-delay-passive	= <0>;
+			polling-delay		= <0>;
+
+			thermal-sensors = <&thermal>;
+
+			trips {
+				cpu-crit {
+					temperature	= <115000>;
+					hysteresis	= <0>;
+					type		= "critical";
+				};
+			};
+			cooling-maps {
+			};
+		};
+	};
+
 	gic: interrupt-controller@f1001000 {
 		compatible = "arm,gic-400";
 		#interrupt-cells = <3>;
@@ -185,12 +204,15 @@
 		power-domains = <&cpg_clocks>;
 	};
 
-	thermal@e61f0000 {
-		compatible = "renesas,thermal-r8a7791", "renesas,rcar-thermal";
+	thermal: thermal@e61f0000 {
+		compatible =	"renesas,thermal-r8a7791",
+				"renesas,rcar-gen2-thermal",
+				"renesas,rcar-thermal";
 		reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
 		interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp5_clks R8A7791_CLK_THERMAL>;
 		power-domains = <&cpg_clocks>;
+		#thermal-sensor-cells = <0>;
 	};
 
 	timer {
-- 
1.9.1

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

* [PATCH 4/4][RESEND] ARM: shmobile: r8a7793: enable to use thermal-zone
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
                   ` (2 preceding siblings ...)
  2016-01-28  2:46 ` [PATCH 3/4][RESEND] ARM: shmobile: r8a7791: " Kuninori Morimoto
@ 2016-01-28  2:46 ` Kuninori Morimoto
  2016-02-09  1:56 ` [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
  2016-02-09 22:06 ` Eduardo Valentin
  5 siblings, 0 replies; 11+ messages in thread
From: Kuninori Morimoto @ 2016-01-28  2:46 UTC (permalink / raw)
  To: Eduardo Valentin, Zhang Rui
  Cc: Linux-Renesas, Wolfram Sang, Simon, Magnus, Linux-Kernel


From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

This patch enables to use thermal-zone on r8a7793.
This thermal sensor can measure temperature from -40000 to 125000,
but over 117000 can be critical on this chip.
Thus, default critical temperature is now set as 115000 (this driver
is using 5000 steps) (Current critical temperature is using it as
90000, but there is no big reason about it)

And it doesn't check thermal zone periodically (same as current
behavior). You can exchange it by modifying polling-delay[-passive]
property.

You can set trip temp if your kernel has CONFIG_THERMAL_WRITABLE_TRIPS,
but you need to take care to use it, since it will call
orderly_poweroff() it it reaches to the value.
echo $temp > /sys/class/thermal/thermal_zone0/trip_point_0_temp

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/boot/dts/r8a7793.dtsi | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7793.dtsi b/arch/arm/boot/dts/r8a7793.dtsi
index aef9e69..56a459a 100644
--- a/arch/arm/boot/dts/r8a7793.dtsi
+++ b/arch/arm/boot/dts/r8a7793.dtsi
@@ -45,6 +45,25 @@
 		};
 	};
 
+	thermal-zones {
+		cpu_thermal: cpu-thermal {
+			polling-delay-passive	= <0>;
+			polling-delay		= <0>;
+
+			thermal-sensors = <&thermal>;
+
+			trips {
+				cpu-crit {
+					temperature	= <115000>;
+					hysteresis	= <0>;
+					type		= "critical";
+				};
+			};
+			cooling-maps {
+			};
+		};
+	};
+
 	gic: interrupt-controller@f1001000 {
 		compatible = "arm,gic-400";
 		#interrupt-cells = <3>;
@@ -161,12 +180,15 @@
 		power-domains = <&cpg_clocks>;
 	};
 
-	thermal@e61f0000 {
-		compatible = "renesas,thermal-r8a7793", "renesas,rcar-thermal";
+	thermal: thermal@e61f0000 {
+		compatible =	"renesas,thermal-r8a7793",
+				"renesas,rcar-gen2-thermal",
+				"renesas,rcar-thermal";
 		reg = <0 0xe61f0000 0 0x14>, <0 0xe61f0100 0 0x38>;
 		interrupts = <0 69 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp5_clks R8A7793_CLK_THERMAL>;
 		power-domains = <&cpg_clocks>;
+		#thermal-sensor-cells = <0>;
 	};
 
 	timer {
-- 
1.9.1

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
                   ` (3 preceding siblings ...)
  2016-01-28  2:46 ` [PATCH 4/4][RESEND] ARM: shmobile: r8a7793: " Kuninori Morimoto
@ 2016-02-09  1:56 ` Kuninori Morimoto
  2016-02-09 21:33   ` Eduardo Valentin
  2016-02-09 22:06 ` Eduardo Valentin
  5 siblings, 1 reply; 11+ messages in thread
From: Kuninori Morimoto @ 2016-02-09  1:56 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: Linux-Renesas, Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel


Hi Eduardo

I'm sorry I didn't mention you.
Can you please check these patches ?

[R] 森本 wrote:
> 
> Hi Zhang, Simon
> 
> These are resend of thermal-zone support patch for R-Car thermal driver
> 
> Kuninori Morimoto (4):
>       thermal: rcar: enable to use thermal-zone on DT
>       ARM: shmobile: r8a7790: enable to use thermal-zone
>       ARM: shmobile: r8a7791: enable to use thermal-zone
>       ARM: shmobile: r8a7793: enable to use thermal-zone
> 
>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 37 +++++++++++++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7790.dtsi                             | 26 ++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7791.dtsi                             | 26 ++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7793.dtsi                             | 26 ++++++++++++++++++++++++--
>  drivers/thermal/rcar_thermal.c                             | 45 ++++++++++++++++++++++++++++++++++++++++-----
>  5 files changed, 147 insertions(+), 13 deletions(-)

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-02-09  1:56 ` [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
@ 2016-02-09 21:33   ` Eduardo Valentin
  2016-02-09 22:05     ` Eduardo Valentin
  0 siblings, 1 reply; 11+ messages in thread
From: Eduardo Valentin @ 2016-02-09 21:33 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Linux-Renesas, Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel

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

On Tue, Feb 09, 2016 at 01:56:19AM +0000, Kuninori Morimoto wrote:
> 
> Hi Eduardo
> 
> I'm sorry I didn't mention you.
> Can you please check these patches ?

Yes Morimoto, they are now on my todo list.

Thanks.

Eduardo Valentin


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-02-09 21:33   ` Eduardo Valentin
@ 2016-02-09 22:05     ` Eduardo Valentin
  2016-02-10  0:34       ` Kuninori Morimoto
  0 siblings, 1 reply; 11+ messages in thread
From: Eduardo Valentin @ 2016-02-09 22:05 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Linux-Renesas, Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel

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

On Tue, Feb 09, 2016 at 01:33:17PM -0800, Eduardo Valentin wrote:
> On Tue, Feb 09, 2016 at 01:56:19AM +0000, Kuninori Morimoto wrote:
> > 
> > Hi Eduardo
> > 
> > I'm sorry I didn't mention you.
> > Can you please check these patches ?
> 
> Yes Morimoto, they are now on my todo list.


Applied first one.

> 
> Thanks.
> 
> Eduardo Valentin
> 



[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
                   ` (4 preceding siblings ...)
  2016-02-09  1:56 ` [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
@ 2016-02-09 22:06 ` Eduardo Valentin
  5 siblings, 0 replies; 11+ messages in thread
From: Eduardo Valentin @ 2016-02-09 22:06 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Linux-Renesas, Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel

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

On Thu, Jan 28, 2016 at 02:43:55AM +0000, Kuninori Morimoto wrote:
> Hi Zhang, Simon
> 
> These are resend of thermal-zone support patch for R-Car thermal driver
> 
> Kuninori Morimoto (4):
>       thermal: rcar: enable to use thermal-zone on DT
>       ARM: shmobile: r8a7790: enable to use thermal-zone
>       ARM: shmobile: r8a7791: enable to use thermal-zone
>       ARM: shmobile: r8a7793: enable to use thermal-zone
> 

For the DT part:

Acked-by: Eduardo Valentin <edubezval@gmail.com>

>  Documentation/devicetree/bindings/thermal/rcar-thermal.txt | 37 +++++++++++++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7790.dtsi                             | 26 ++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7791.dtsi                             | 26 ++++++++++++++++++++++++--
>  arch/arm/boot/dts/r8a7793.dtsi                             | 26 ++++++++++++++++++++++++--
>  drivers/thermal/rcar_thermal.c                             | 45 ++++++++++++++++++++++++++++++++++++++++-----
>  5 files changed, 147 insertions(+), 13 deletions(-)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-02-09 22:05     ` Eduardo Valentin
@ 2016-02-10  0:34       ` Kuninori Morimoto
  2016-02-16  1:50         ` Simon Horman
  0 siblings, 1 reply; 11+ messages in thread
From: Kuninori Morimoto @ 2016-02-10  0:34 UTC (permalink / raw)
  To: Eduardo Valentin
  Cc: Linux-Renesas, Zhang Rui, Wolfram Sang, Simon, Magnus, Linux-Kernel


Hi Eduardo, Simon

> > > Hi Eduardo
> > > 
> > > I'm sorry I didn't mention you.
> > > Can you please check these patches ?
> > 
> > Yes Morimoto, they are now on my todo list.
> 
> 
> Applied first one.

Thank you very much !!

Simon, can you please check other patches ?
These are for SH-ARM boards

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

* Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT
  2016-02-10  0:34       ` Kuninori Morimoto
@ 2016-02-16  1:50         ` Simon Horman
  0 siblings, 0 replies; 11+ messages in thread
From: Simon Horman @ 2016-02-16  1:50 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Eduardo Valentin, Linux-Renesas, Zhang Rui, Wolfram Sang, Magnus,
	Linux-Kernel

On Wed, Feb 10, 2016 at 12:34:13AM +0000, Kuninori Morimoto wrote:
> 
> Hi Eduardo, Simon
> 
> > > > Hi Eduardo
> > > > 
> > > > I'm sorry I didn't mention you.
> > > > Can you please check these patches ?
> > > 
> > > Yes Morimoto, they are now on my todo list.
> > 
> > 
> > Applied first one.
> 
> Thank you very much !!
> 
> Simon, can you please check other patches ?
> These are for SH-ARM boards

Sorry for the delay, I have queued up those patches.

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

end of thread, other threads:[~2016-02-16  1:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28  2:43 [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
2016-01-28  2:45 ` [PATCH 1/4][RESEND] thermal: rcar: enable to " Kuninori Morimoto
2016-01-28  2:45 ` [PATCH 2/4][RESEND] ARM: shmobile: r8a7790: enable to use thermal-zone Kuninori Morimoto
2016-01-28  2:46 ` [PATCH 3/4][RESEND] ARM: shmobile: r8a7791: " Kuninori Morimoto
2016-01-28  2:46 ` [PATCH 4/4][RESEND] ARM: shmobile: r8a7793: " Kuninori Morimoto
2016-02-09  1:56 ` [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT Kuninori Morimoto
2016-02-09 21:33   ` Eduardo Valentin
2016-02-09 22:05     ` Eduardo Valentin
2016-02-10  0:34       ` Kuninori Morimoto
2016-02-16  1:50         ` Simon Horman
2016-02-09 22:06 ` Eduardo Valentin

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.