]> git.dujemihanovic.xyz Git - u-boot.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)
commit1fad2cb852581ff34c2f115ec07b1bba9eef8342
treea00251f882d95cce0e5e422b5b33299cda9390c0
parent0995e81e10c10fda32c6dec350d14473d6d1d23e
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]