mbox series

[0/5] Add Thermal support for RZ/G2L

Message ID 20211116151750.24857-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Add Thermal support for RZ/G2L | expand

Message

Biju Das Nov. 16, 2021, 3:17 p.m. UTC
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