[PATCH v2 3/4] thermal: add sandbox driver
Simon Glass
sjg at chromium.org
Sat Aug 13 16:58:54 CEST 2022
On Fri, 12 Aug 2022 at 12:16, Robert Marko <robert.marko at 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 at 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 at chromium.org>
More information about the U-Boot
mailing list