[PATCH v2] thermal: imx_tmu: extend with QorIQ/Layerscape TMU

Peng Fan peng.fan at oss.nxp.com
Tue Jun 9 18:10:39 CEST 2026


On Thu, May 28, 2026 at 02:57:07PM +0200, Vincent Jardin wrote:
>Add support for the on-die Thermal Monitoring Unit (TMU) of the
>new QorIQ/Layerscape SoCs (LX2160A, LS1028A, LS1088A, ...):
>
>examples on a lx2160:
>  => temperature list
>  | Device                  | Driver  | Parent
>  | tmu at 1f80000             | imx_tmu | root_driver
>  | cluster67-thermal       | imx_tmu | tmu at 1f80000
>  | ddr1-cluster5-thermal   | imx_tmu | tmu at 1f80000
>  | wriop-thermal           | imx_tmu | tmu at 1f80000
>  | dce-qbman-hsio2-thermal | imx_tmu | tmu at 1f80000
>  | ccn-dpaa-tbu-thermal    | imx_tmu | tmu at 1f80000
>  | cluster4-hsio3-thermal  | imx_tmu | tmu at 1f80000
>  | cluster23-thermal       | imx_tmu | tmu at 1f80000
>
>  => temperature get tmu at 1f80000
>  tmu at 1f80000: 82000 mC
>
>  => temperature get wriop-thermal
>  wriop-thermal: 81000 mC
>
>The parent tmu at ... node owns the MMIO and calibration; one
>UCLASS_THERMAL device is bound per/thermal-zones site so each shows
>up by its zone name:
>
>  => dm tree
>   ...
>   thermal   2  [ + ]   imx_tmu   |-- tmu at 1f80000
>   thermal   3  [ + ]   imx_tmu   |   |-- cluster67-thermal
>   thermal   4  [ + ]   imx_tmu   |   |-- ddr1-cluster5-thermal
>   thermal   5  [ + ]   imx_tmu   |   |-- wriop-thermal
>   thermal   6  [ + ]   imx_tmu   |   |-- dce-qbman-hsio2-thermal
>   thermal   7  [ + ]   imx_tmu   |   |-- ccn-dpaa-tbu-thermal
>   thermal   8  [ + ]   imx_tmu   |   |-- cluster4-hsio3-thermal
>   thermal   9  [ + ]   imx_tmu   |   `-- cluster23-thermal
>   ...
>
>The dtsi additions mirror the existing fsl-ls1028a.dtsi: the LX2160A
>SoC dtsi gains the tmu at 1f80000 node plus a thermal-zones hierarchy
>with 7 sites:
>
>  cluster67-thermal       site 0  A72 clusters 6 + 7
>  ddr1-cluster5-thermal   site 1  DDR1 + A72 cluster 5
>  wriop-thermal           site 2  WRIOP
>  dce-qbman-hsio2-thermal site 3  DCE + QBMAN + HSIO2
>  ccn-dpaa-tbu-thermal    site 4  CCN508 + DPAA + TBU
>  cluster4-hsio3-thermal  site 5  A72 cluster 4 + HSIO3
>  cluster23-thermal       site 6  A72 clusters 2 + 3
>
>Signed-off-by: Vincent Jardin <vjardin at free.fr>
>Suggested-by: Tom Rini <trini at konsulko.com>
>Inspired-by: Peng Fan <peng.fan at oss.nxp.com>
>

Applied to fsl-qoriq/next.

Thanks
Peng


More information about the U-Boot mailing list