| From: |
| Biju Das <biju.das.jz-AT-bp.renesas.com> |
| To: |
| Rob Herring <robh+dt-AT-kernel.org>, Philipp Zabel <p.zabel-AT-pengutronix.de> |
| Subject: |
| [PATCH 0/5] Add Thermal support for RZ/G2L |
| Date: |
| Tue, 16 Nov 2021 15:17:45 +0000 |
| Message-ID: |
| <20211116151750.24857-1-biju.das.jz@bp.renesas.com> |
| Cc: |
| Biju Das <biju.das.jz-AT-bp.renesas.com>, "Rafael J. Wysocki" <rafael-AT-kernel.org>, Daniel Lezcano <daniel.lezcano-AT-linaro.org>, Amit Kucheria <amitk-AT-kernel.org>, Zhang Rui <rui.zhang-AT-intel.com>, linux-pm-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, Geert Uytterhoeven <geert+renesas-AT-glider.be>, Chris Paterson <Chris.Paterson2-AT-renesas.com>, Biju Das <biju.das-AT-bp.renesas.com>, Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj-AT-bp.renesas.com>, linux-renesas-soc-AT-vger.kernel.org |
| Archive-link: |
| Article |
RZ/G2L SoC incorporates a thermal sensor unit (TSU) that measures
the temperature inside the LSI.
The thermal sensor in this unit measures temperatures in the range from
−40°C to 125°C with an accuracy of ±3°C. The TSU repeats measurement at
20-µs intervals, and automatically updates the results of measurement.
The TSU has no external pins as well as no interrupts.
This patch series aims to add TSU driver support for RZ/G2L SoC.
Biju Das (5):
clk: renesas: r9a07g044: Add TSU clock and reset entries
dt-bindings: thermal: Document Renesas RZ/G2L TSU
thermal/drivers: Add TSU driver for RZ/G2L
arm64: dts: renesas: r9a07g044: Add TSU node
arm64: dts: renesas: r9a07g044: Create thermal zone to support IPA
.../bindings/thermal/rzg2l-thermal.yaml | 76 ++++++
arch/arm64/boot/dts/renesas/r9a07g044.dtsi | 42 +++
drivers/clk/renesas/r9a07g044-cpg.c | 3 +
drivers/thermal/Kconfig | 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/rzg2l_thermal.c | 239 ++++++++++++++++++
6 files changed, 370 insertions(+)
create mode 100644 Documentation/devicetree/bindings/thermal/rzg2l-thermal.yaml
create mode 100644 drivers/thermal/rzg2l_thermal.c
--
2.17.1