linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] thermal: Introduce UniPhier NX1 SoC support
@ 2021-10-18  1:34 Kunihiko Hayashi
  2021-10-18  1:34 ` [PATCH 1/2] dt-bindings: thermal: uniphier: Add binding for NX1 SoC Kunihiko Hayashi
  2021-10-18  1:34 ` [PATCH 2/2] thermal: uniphier: Add compatible string " Kunihiko Hayashi
  0 siblings, 2 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:34 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
	Rob Herring, Masami Hiramatsu
  Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

This series includes the patches to add basic support for new UniPhier NX1
SoC. NX1 SoC also has the same kinds of controls as the other UniPhier
SoCs.

Kunihiko Hayashi (2):
  dt-bindings: thermal: uniphier: Add binding for NX1 SoC
  thermal: uniphier: Add compatible string for NX1 SoC

 .../devicetree/bindings/thermal/socionext,uniphier-thermal.yaml       | 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 binding for NX1 SoC
  2021-10-18  1:34 [PATCH 0/2] thermal: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
@ 2021-10-18  1:34 ` Kunihiko Hayashi
  2021-10-18  1:34 ` [PATCH 2/2] thermal: uniphier: Add compatible string " Kunihiko Hayashi
  1 sibling, 0 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:34 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
	Rob Herring, Masami Hiramatsu
  Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

Update thermal binding document for UniPhier NX1 SoC.

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

diff --git a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
index 553c9dcdaeeb..c5b25ce44956 100644
--- a/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/socionext,uniphier-thermal.yaml
@@ -20,6 +20,7 @@ properties:
       - socionext,uniphier-pxs2-thermal
       - socionext,uniphier-ld20-thermal
       - socionext,uniphier-pxs3-thermal
+      - socionext,uniphier-nx1-thermal
 
   interrupts:
     maxItems: 1
-- 
2.7.4


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

* [PATCH 2/2] thermal: uniphier: Add compatible string for NX1 SoC
  2021-10-18  1:34 [PATCH 0/2] thermal: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
  2021-10-18  1:34 ` [PATCH 1/2] dt-bindings: thermal: uniphier: Add binding for NX1 SoC Kunihiko Hayashi
@ 2021-10-18  1:34 ` Kunihiko Hayashi
  1 sibling, 0 replies; 3+ messages in thread
From: Kunihiko Hayashi @ 2021-10-18  1:34 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui,
	Rob Herring, Masami Hiramatsu
  Cc: linux-pm, devicetree, linux-arm-kernel, linux-kernel, Kunihiko Hayashi

Add basic support for UniPhier NX1 SoC. This includes a compatible string
and the same SoC-dependent data as LD20 SoC.

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 bba2284412d3..4cae5561a2a3 100644
--- a/drivers/thermal/uniphier_thermal.c
+++ b/drivers/thermal/uniphier_thermal.c
@@ -358,6 +358,10 @@ static const struct of_device_id uniphier_tm_dt_ids[] = {
 		.compatible = "socionext,uniphier-pxs3-thermal",
 		.data       = &uniphier_ld20_tm_data,
 	},
+	{
+		.compatible = "socionext,uniphier-nx1-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:[~2021-10-18  1:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18  1:34 [PATCH 0/2] thermal: Introduce UniPhier NX1 SoC support Kunihiko Hayashi
2021-10-18  1:34 ` [PATCH 1/2] dt-bindings: thermal: uniphier: Add binding for NX1 SoC Kunihiko Hayashi
2021-10-18  1:34 ` [PATCH 2/2] thermal: uniphier: Add compatible string " 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).