linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add thermal monitor support for UniPhier PXs3 SoC
@ 2018-03-30  3:51 Kunihiko Hayashi
  2018-03-30  3:51 ` [PATCH 1/2] dt-bindings: thermal: uniphier: add a compatible string for PXs3 Kunihiko Hayashi
  2018-03-30  3:51 ` [PATCH 2/2] thermal: uniphier: add UniPhier PXs3 support Kunihiko Hayashi
  0 siblings, 2 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2018-03-30  3:51 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin, Masahiro Yamada, linux-pm,
	Rob Herring, Mark Rutland
  Cc: linux-arm-kernel, linux-kernel, Masami Hiramatsu, Jassi Brar,
	Kunihiko Hayashi

Add support for thermal monitor implemented on UniPhier PXs3 SoC.

Kunihiko Hayashi (2):
  dt-bindings: thermal: uniphier: add a compatible string for PXs3
  thermal: uniphier: add UniPhier PXs3 support

 Documentation/devicetree/bindings/thermal/uniphier-thermal.txt | 1 +
 drivers/thermal/uniphier_thermal.c                             | 4 ++++
 2 files changed, 5 insertions(+)

-- 
2.7.4

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

* [PATCH 1/2] dt-bindings: thermal: uniphier: add a compatible string for PXs3
  2018-03-30  3:51 [PATCH 0/2] add thermal monitor support for UniPhier PXs3 SoC Kunihiko Hayashi
@ 2018-03-30  3:51 ` Kunihiko Hayashi
  2018-03-30  3:51 ` [PATCH 2/2] thermal: uniphier: add UniPhier PXs3 support Kunihiko Hayashi
  1 sibling, 0 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2018-03-30  3:51 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin, Masahiro Yamada, linux-pm,
	Rob Herring, Mark Rutland
  Cc: linux-arm-kernel, linux-kernel, Masami Hiramatsu, Jassi Brar,
	Kunihiko Hayashi

Add a compatible string for thermal monitor implemented on
UniPhier PXs3 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 Documentation/devicetree/bindings/thermal/uniphier-thermal.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/thermal/uniphier-thermal.txt b/Documentation/devicetree/bindings/thermal/uniphier-thermal.txt
index 686c0b4..ceb92a9 100644
--- a/Documentation/devicetree/bindings/thermal/uniphier-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/uniphier-thermal.txt
@@ -8,6 +8,7 @@ Required properties:
 - compatible :
   - "socionext,uniphier-pxs2-thermal" : For UniPhier PXs2 SoC
   - "socionext,uniphier-ld20-thermal" : For UniPhier LD20 SoC
+  - "socionext,uniphier-pxs3-thermal" : For UniPhier PXs3 SoC
 - interrupts : IRQ for the temperature alarm
 - #thermal-sensor-cells : Should be 0. See ./thermal.txt for details.
 
-- 
2.7.4

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

* [PATCH 2/2] thermal: uniphier: add UniPhier PXs3 support
  2018-03-30  3:51 [PATCH 0/2] add thermal monitor support for UniPhier PXs3 SoC Kunihiko Hayashi
  2018-03-30  3:51 ` [PATCH 1/2] dt-bindings: thermal: uniphier: add a compatible string for PXs3 Kunihiko Hayashi
@ 2018-03-30  3:51 ` Kunihiko Hayashi
  1 sibling, 0 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2018-03-30  3:51 UTC (permalink / raw)
  To: Zhang Rui, Eduardo Valentin, Masahiro Yamada, linux-pm,
	Rob Herring, Mark Rutland
  Cc: linux-arm-kernel, linux-kernel, Masami Hiramatsu, Jassi Brar,
	Kunihiko Hayashi

Add support for UniPhier PXs3 SoC. It is equivalent to LD20.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 drivers/thermal/uniphier_thermal.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/thermal/uniphier_thermal.c b/drivers/thermal/uniphier_thermal.c
index 9570473..55477d7 100644
--- a/drivers/thermal/uniphier_thermal.c
+++ b/drivers/thermal/uniphier_thermal.c
@@ -365,6 +365,10 @@ static const struct of_device_id uniphier_tm_dt_ids[] = {
 		.compatible = "socionext,uniphier-ld20-thermal",
 		.data       = &uniphier_ld20_tm_data,
 	},
+	{
+		.compatible = "socionext,uniphier-pxs3-thermal",
+		.data       = &uniphier_ld20_tm_data,
+	},
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, uniphier_tm_dt_ids);
-- 
2.7.4

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

end of thread, other threads:[~2018-03-30  3:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-30  3:51 [PATCH 0/2] add thermal monitor support for UniPhier PXs3 SoC Kunihiko Hayashi
2018-03-30  3:51 ` [PATCH 1/2] dt-bindings: thermal: uniphier: add a compatible string for PXs3 Kunihiko Hayashi
2018-03-30  3:51 ` [PATCH 2/2] thermal: uniphier: add UniPhier PXs3 support Kunihiko Hayashi

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