[PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support

Zi-Yu Chen zychennvt at gmail.com
Mon Nov 16 22:04:57 PST 2026


This series adds support for the on-chip temperature sensor of the
Nuvoton MA35D1 SoC.

The sensor has no register region of its own; it is controlled through
a single register in the system management (SYS) block, which is
already described in DT and bound to the MA35D1 reset driver. Rather
than adding a child node that would only exist to instantiate a driver,
the SYS node is made the thermal sensor provider, and the reset driver
creates an auxiliary device that the thermal driver binds to.

Patch 1 documents #thermal-sensor-cells for the SYS node, patch 2 makes
the reset driver create the auxiliary device, patch 3 adds the thermal
driver and patch 4 adds the thermal zone to the SoC dtsi.

Tested on the MA35D1-SOM board.

Zi-Yu Chen (4):
  dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cells
  reset: ma35d1: Register auxiliary device for the temperature sensor
  thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driver
  arm64: dts: nuvoton: ma35d1: Add thermal zone

 .../bindings/reset/nuvoton,ma35d1-reset.yaml  |  13 +-
 arch/arm64/boot/dts/nuvoton/ma35d1.dtsi       |  16 ++
 drivers/reset/Kconfig                         |   1 +
 drivers/reset/reset-ma35d1.c                  |  11 +-
 drivers/thermal/Kconfig                       |  11 ++
 drivers/thermal/Makefile                      |   1 +
 drivers/thermal/ma35d1_thermal.c              | 149 ++++++++++++++++++
 7 files changed, 198 insertions(+), 4 deletions(-)
 create mode 100644 drivers/thermal/ma35d1_thermal.c

-- 
2.34.1




More information about the linux-arm-kernel mailing list