|
|
Log in / Subscribe / Register

thermal: renesas: Add support fot RZ/G3E

From:  John Madieu <john.madieu.xa-AT-bp.renesas.com>
To:  geert+renesas-AT-glider.be, conor+dt-AT-kernel.org, krzk+dt-AT-kernel.org, robh-AT-kernel.org, rafael-AT-kernel.org, daniel.lezcano-AT-linaro.org
Subject:  [PATCH v4 0/5] thermal: renesas: Add support fot RZ/G3E
Date:  Mon, 17 Mar 2025 15:34:27 +0100
Message-ID:  <20250317143442.100590-1-john.madieu.xa@bp.renesas.com>
Cc:  magnus.damm-AT-gmail.com, devicetree-AT-vger.kernel.org, john.madieu-AT-gmail.com, rui.zhang-AT-intel.com, linux-kernel-AT-vger.kernel.org, linux-renesas-soc-AT-vger.kernel.org, sboyd-AT-kernel.org, biju.das.jz-AT-bp.renesas.com, linux-pm-AT-vger.kernel.org, lukasz.luba-AT-arm.com, John Madieu <john.madieu.xa-AT-bp.renesas.com>
Archive-link:  Article

This series adds support for the temperature sensor unit (TSU) found on the
Renesas RZ/G3E SoC.

The series consists of 5 patches (one of which is not related to the thermal
framework) that progressively add TSU support as follows:
- patch 1/5:    adds syscon/regmap support for accessing system controller
                registers, enabling access to TSU calibration values

- patches 2-5/5:  add dt-bindings, actual driver, DT node, and config symbol.

Changes:

v1 -> v2
 * Fix yaml warnings from dt-binding
 * Update IRQ names to reflect TSU expectations

v2 -> v3
 * Remove useless 'renesas,tsu-operating-mode' property

v3 -> v4
 * Improve some commit messages
 * Fix interrupt description in YAML binding file

Regards,

John Madieu (5):
  soc: renesas: rz-sysc: add syscon/regmap support
  dt-bindings: thermal: r9a09g047-tsu: Document the TSU unit
  thermal: renesas: rzg3e: Add thermal driver for the Renesas RZ/G3E SoC
  arm64: dts: renesas: r9a09g047: Add TSU node
  arm64: defconfig: Enable the Renesas RZ/G3E thermal driver

 .../thermal/renesas,r9a09g047-tsu.yaml        |  81 ++++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/renesas/r9a09g047.dtsi    |  48 ++
 arch/arm64/configs/defconfig                  |   1 +
 drivers/soc/renesas/Kconfig                   |   1 +
 drivers/soc/renesas/r9a09g047-sys.c           |   1 +
 drivers/soc/renesas/rz-sysc.c                 |  30 +-
 drivers/soc/renesas/rz-sysc.h                 |   2 +
 drivers/thermal/renesas/Kconfig               |   7 +
 drivers/thermal/renesas/Makefile              |   1 +
 drivers/thermal/renesas/rzg3e_thermal.c       | 445 ++++++++++++++++++
 11 files changed, 623 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/thermal/renesas,r9a09g047-tsu.yaml
 create mode 100644 drivers/thermal/renesas/rzg3e_thermal.c

-- 
2.25.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds