From 88812ddfa78e878f590dc39dec5553abcccd5d10 Mon Sep 17 00:00:00 2001 From: Yi-Wei Wang Date: Fri, 7 Jul 2023 23:53:25 +0800 Subject: [PATCH] overlay: header: Copy thermal.h DT binding header Copy thermal.h DT binding header file from core kernel which is needed for the thermal overlay. Bug 4035713 Signed-off-by: Yi-Wei Wang Change-Id: I596e182bb1bb94bc90a9a2812dafafe6f1c4fbf3 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2952085 (cherry picked from commit 2f4bb5bc45f6f41dbebf399c20fbc87f1bbcce4f) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2933110 Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/tegra-public-dts/+/3168933 Tested-by: Laxman Dewangan --- include/kernel/dt-bindings/thermal/thermal.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/kernel/dt-bindings/thermal/thermal.h diff --git a/include/kernel/dt-bindings/thermal/thermal.h b/include/kernel/dt-bindings/thermal/thermal.h new file mode 100644 index 0000000..bc7babb --- /dev/null +++ b/include/kernel/dt-bindings/thermal/thermal.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * This header provides constants for most thermal bindings. + * + * Copyright (C) 2013 Texas Instruments + * Eduardo Valentin + */ + +#ifndef _DT_BINDINGS_THERMAL_THERMAL_H +#define _DT_BINDINGS_THERMAL_THERMAL_H + +/* On cooling devices upper and lower limits */ +#define THERMAL_NO_LIMIT (~0) + +#endif +