From b530fb9d073c4c4d436d674a6071c9540b986223 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Sat, 6 Jan 2024 00:34:50 +0530 Subject: [PATCH] ARM: dts: qcom: enable userspace cooling device for display fps Enable userspace cooling device for display fps mitigation. It enables to monitor any thermal zone sensor and trigger display fps mitigation. Change-Id: Ic2a0d0a2be462d9ed2032c8dbc49208d6c431a08 Signed-off-by: Manaf Meethalavalappu Pallikunhi --- qcom/sun-thermal.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/qcom/sun-thermal.dtsi b/qcom/sun-thermal.dtsi index 18a22c63..ccec009f 100644 --- a/qcom/sun-thermal.dtsi +++ b/qcom/sun-thermal.dtsi @@ -264,6 +264,15 @@ }; }; }; + + qcom,userspace-cdev { + compatible = "qcom,userspace-cooling-devices"; + + display_fps: display-fps { + qcom,max-level = <16>; + #cooling-cells = <2>; + }; + }; }; #include "sun-thermal-modem.dtsi"