Add Nuvoton MA35D1 thermal sensor support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | dt-bindings: reset: nuvoton,ma35d1-reset: Add #thermal-sensor-cellsDocumentation/ | +10 | 1 reply | |
| 2/4 | reset: ma35d1: Register auxiliary device for the temperature sensordrivers/ drivers/ | +11 | 0 replies | |
| 3/4 | thermal/drivers/ma35d1: Add Nuvoton MA35D1 thermal sensor driverdrivers/ drivers/ drivers/ | +161 | 2 replies | |
| 4/4 | arm64: dts: nuvoton: ma35d1: Add thermal zonearch/ | +16 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Add Nuvoton MA35D1 thermal sensor support
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
Signature · 1 line
2.34.1