]> git.baikalelectronics.ru Git - uboot.git/commit
thermal: add sandbox driver
authorRobert Marko <robimarko@gmail.com>
Tue, 6 Sep 2022 11:30:35 +0000 (13:30 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 11 Oct 2022 20:03:03 +0000 (16:03 -0400)
commit68c5f7a5c726a98594cc9539025c43edaba8bd37
treea00251f882d95cce0e5e422b5b33299cda9390c0
parentdbb38d226e05ef0ef39f13feee9c17e646b8ae55
thermal: add sandbox driver

Provide a simple sandbox driver for the thermal uclass.
It simply registers and returns 100 degrees C if requested.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dtsi
arch/sandbox/dts/test.dts
configs/sandbox_defconfig
configs/sandbox_flattree_defconfig
configs/sandbox_noinst_defconfig
configs/sandbox_spl_defconfig
configs/sandbox_vpl_defconfig
drivers/thermal/Makefile
drivers/thermal/thermal_sandbox.c [new file with mode: 0644]