This patch adds support for new flag which indicates
that trip point triggers IRQ when temperature is met.
Change existing trip points to be expicitly marked with the new flag.

Cc: Kukjin Kim <kg...@kernel.org>
Cc: Krzysztof Kozlowski <k...@kernel.org>
Cc: devicet...@vger.kernel.org
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-samsung-...@vger.kernel.org
Signed-off-by: Lukasz Luba <l.l...@partner.samsung.com>
---
 arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi 
b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi
index d3301b8..39185af 100644
--- a/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7-trip-points.dtsi
@@ -11,40 +11,48 @@ trips {
                temperature = <75000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-1 {
                temperature = <80000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-2 {
                temperature = <85000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-3 {
                temperature = <90000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-4 {
                temperature = <95000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-5 {
                temperature = <100000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-alert-6 {
                temperature = <110000>; /* millicelsius */
                hysteresis = <10000>; /* millicelsius */
                type = "passive";
+               irq-mode;
        };
        cpu-crit-0 {
                temperature = <115000>; /* millicelsius */
                hysteresis = <0>; /* millicelsius */
                type = "critical";
+               irq-mode;
        };
 };
-- 
2.7.4

Reply via email to