]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am62: Get soc max temperature by grade
authorJoao Paulo Goncalves <joao.goncalves@toradex.com>
Thu, 8 Feb 2024 09:29:50 +0000 (10:29 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 18:41:04 +0000 (13:41 -0500)
commit86e770b3e01f31ca8bf08ef60de4eaa842a35a50
treec80ce7e3125e5a06dced2681dea8e6c3b9882ff5
parentf7a1e8e4e794a9b6a4d10957270876de2f8e2300
arm: mach-k3: am62: Get soc max temperature by grade

AM62x SoC is available in multiple temperature grade:
- Commercial: 0° to 95° C
- Industrial: -40° to 105° C
- Automotive: -40° to 125° C

Add a new function that returns the am62 max temperature value
accordingly to its temperature grade in Celsius.

Signed-off-by: Joao Paulo Goncalves <joao.goncalves@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
arch/arm/mach-k3/include/mach/am62_hardware.h