From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 360284A8FF1; Mon, 28 Sep 2026 11:22:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790594526; cv=none; b=FAeRt1rM9GqdKYFxea601J10dXU2hCmrwfcHHurqT9THTqLDZfBn+CZklFfi5PI5o0jbHH8U9wvCtArihkgMjkpFzSduJnfbM45URhCwiuleaxh6vZ3Xkhd74gYihmFNWbTWD6tt/8NUbDdRD87dfCAFHngGdRO6AGxXRksuPEQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790594526; c=relaxed/simple; bh=b6WX1LpMYtQYcZDgz8q1+fzkJWvOO1o/cr3VmDwwdmY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EGgNqF1Dd9Fng/FMz5fx1wehvL+cS4CR4hZZ67O9A7cjJmujmxYtm6cv2Q0o5jSJ5s1OA9venCh3tCyn0tMhDv9IXBQnh2BmmYeiDSu4jhYwb70nJ9244JfJV4JkulB/WGM1/CHid9XbEDI1xRX/llz11pWzSC6z2+yIXV1QP/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=q9dVdBUL; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="q9dVdBUL" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=pKdYDG9ZIYreeX+6zz4OdEIf0QBdQg4dPUWI4TSogo4=; b=q9dVdBULcJU9xTntkOEVgyhvRk WP8wTStXxIMuUwZGJArqEN9cc0S0sVoTReRZ9rz7DP3RRv2sLTQh5ShvL+hhjKIpqy/bLUZI3iWUB dsjakAc56PPR6/TTKZFgmk9WLhKDC04PxXyYLd6Me5i1ByEM8twoi7Vs2+69kaLjaJaJN0V5RiGFI HqGH4JCscY6x9LxN4DJVyP64pe4sx31r4WYMeYMbxURwjUA2NNG8kKnATRDHf0oeqvPtr5iiAuHDn DxSuj01n0Txa4KY+Vj3iRh+KaT1tlKDTsfCTeDtQjiN70YkycdG2QwiWJdjbiQVkzEgJPAP+AF40S iAR3EcGw==; Received: from sslproxy04.your-server.de ([78.46.152.42]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1xB9Qk-000GDI-13; Mon, 28 Sep 2026 13:21:58 +0200 Received: from localhost ([127.0.0.1]) by sslproxy04.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xB9Qj-0006Dd-14; Mon, 28 Sep 2026 13:21:57 +0200 From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: imx95-tqma9596sa: Add thermal zones Date: Mon, 28 Sep 2026 13:21:42 +0200 Message-ID: <20260928112143.294091-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260928112143.294091-1-alexander.stein@ew.tq-group.com> References: <20260928112143.294091-1-alexander.stein@ew.tq-group.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Clear (ClamAV 1.4.3/28137/Mon Sep 28 08:24:12 2026) These PMIC sensors are provided by the SCMI firmware and are independent from the mainboard. Signed-off-by: Alexander Stein --- .../boot/dts/freescale/imx95-tqma9596sa.dtsi | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi index 456129f4a6825..6ed810733ff2d 100644 --- a/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95-tqma9596sa.dtsi @@ -458,6 +458,81 @@ &scmi_bbm { linux,code = ; }; +&thermal_zones { + pf09-thermal { + polling-delay = <2000>; + polling-delay-passive = <250>; + thermal-sensors = <&scmi_sensor 2>; + + trips { + pf09_alert: trip0 { + hysteresis = <2000>; + temperature = <140000>; + type = "passive"; + }; + + pf09_crit: trip1 { + hysteresis = <2000>; + temperature = <155000>; + type = "critical"; + }; + }; + }; + + pf53arm-thermal { + polling-delay = <2000>; + polling-delay-passive = <250>; + thermal-sensors = <&scmi_sensor 4>; + + cooling-maps { + map0 { + trip = <&pf5301_alert>; + cooling-device = + <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A55_5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + + trips { + pf5301_alert: trip0 { + hysteresis = <2000>; + temperature = <140000>; + type = "passive"; + }; + + pf5301_crit: trip1 { + hysteresis = <2000>; + temperature = <155000>; + type = "critical"; + }; + }; + }; + + pf53soc-thermal { + polling-delay = <2000>; + polling-delay-passive = <250>; + thermal-sensors = <&scmi_sensor 3>; + + trips { + pf5302_alert: trip0 { + hysteresis = <2000>; + temperature = <140000>; + type = "passive"; + }; + + pf5302_crit: trip1 { + hysteresis = <2000>; + temperature = <155000>; + type = "critical"; + }; + }; + }; +}; + &tpm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm3>; -- 2.55.0