
13 Aug
2022
13 Aug
'22
4:58 p.m.
On Fri, 12 Aug 2022 at 12:16, Robert Marko robert.marko@sartura.hr wrote:
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
arch/sandbox/dts/sandbox.dtsi | 4 ++++ arch/sandbox/dts/test.dts | 4 ++++ configs/sandbox_defconfig | 2 ++ drivers/thermal/Makefile | 1 + drivers/thermal/thermal_sandbox.c | 36 +++++++++++++++++++++++++++++++ 5 files changed, 47 insertions(+) create mode 100644 drivers/thermal/thermal_sandbox.c
Reviewed-by: Simon Glass sjg@chromium.org