From nobody Mon Feb 9 15:26:43 2026 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 050162E62C8; Wed, 12 Nov 2025 21:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762983747; cv=none; b=DSet25xW1N5kvSg9c9l8yZl+6Ql8jktmWLhx80TSnuUCO7MSJpKfaXJzAJHnI5bJvmJXnhS57aoLwacxBohUGJxG5eFqYlzmWjHKJfQPehq+S7Aafi/111YmqZqM0EBlCALJ1j3NYBHhTqjb363CLPMdA2Bs4JAyyuLrDVb2a+0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762983747; c=relaxed/simple; bh=DK1eafKflS1VMkgKFpYRZQJtGcCG+9RUeQyxkEG/CZY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b8RjfOEhLQNYRvTMyDnOUYRfahqLugmPCjH/BIXyw4u0xM9b66Vv8gBDJRShdMVsQen+hgr8BCK7dOzHWlL0ro8zaFlgRBZyGirm0TaIEb8vwKekDJVQNVA77mBgMh2vrUBizYRZsxUGUWfyhbqpvtVF0YorKXnkX5+SBJpQPxo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=DFNhLwlI; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="DFNhLwlI" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=OH1cdcIwLbHj9b9TDgmclt0bqqFEVSxJAiUw7x5ysn8=; b=DFNhLwlIRszZU9r7d4ezh8o+ad yndVqckm12b0swcgiYdWseZkNhPYGO+/77Jdsmj91UY11vzb9SrvF1XlLgCIHqAU9LjcIRVA698+h flZI6ojhrTfDC4QInIbZsJvmzGmPqLP+X5tuB6ZGv2CosDrdSbwq7Mw26JM0jv6pkmljbe4C3pyAx DTxLX8D1v/vaWWBwWKnOlr2FcKWmA/ynYersxRPd4sdzChnX5aalYHk/f2vwsJsQF0SsUL9aMyjlI 58v8b8ENh6+eSUctszeO/+7E71NbChtIl9LN2sFMvTgP7XQVLN1caMUe6shU10waDpxj7n659f+qk 7yXtWOiQ==; Received: from i53875b63.versanet.de ([83.135.91.99] helo=phil..) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vJIbY-0003tg-FX; Wed, 12 Nov 2025 22:42:16 +0100 From: Heiko Stuebner To: heiko@sntech.de Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, ukleinek@debian.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v2 1/5] arm64: dts: rockchip: move cpu_thermal node to the correct position Date: Wed, 12 Nov 2025 22:42:02 +0100 Message-ID: <20251112214206.423244-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20251112214206.423244-1-heiko@sntech.de> References: <20251112214206.423244-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The &cpu_thermal node was added at the wrong position, move it to the correctly sorted one. Signed-off-by: Heiko Stuebner --- .../boot/dts/rockchip/rk3568-qnap-ts433.dts | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm6= 4/boot/dts/rockchip/rk3568-qnap-ts433.dts index 6ae4316761c4..5656554ca284 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts @@ -196,6 +196,54 @@ &cpu3 { cpu-supply =3D <&vdd_cpu>; }; =20 +/* + * The MCU can provide system temperature too, but only by polling and of + * course also cannot set trip points. So attach to the cpu thermal-zone + * instead to control the fan. + */ +&cpu_thermal { + trips { + case_fan0: case-fan0 { + hysteresis =3D <2000>; + temperature =3D <35000>; + type =3D "active"; + }; + + case_fan1: case-fan1 { + hysteresis =3D <2000>; + temperature =3D <45000>; + type =3D "active"; + }; + + case_fan2: case-fan2 { + hysteresis =3D <2000>; + temperature =3D <65000>; + type =3D "active"; + }; + }; + + cooling-maps { + /* + * Always provide some air movement, due to small case + * full of harddrives. + */ + map1 { + cooling-device =3D <&fan THERMAL_NO_LIMIT 1>; + trip =3D <&case_fan0>; + }; + + map2 { + cooling-device =3D <&fan 2 3>; + trip =3D <&case_fan1>; + }; + + map3 { + cooling-device =3D <&fan 4 THERMAL_NO_LIMIT>; + trip =3D <&case_fan2>; + }; + }; +}; + &gmac0 { assigned-clocks =3D <&cru SCLK_GMAC0_RX_TX>, <&cru SCLK_GMAC0>; assigned-clock-parents =3D <&cru SCLK_GMAC0_RGMII_SPEED>, <&cru CLK_MAC0_= 2TOP>; @@ -492,54 +540,6 @@ rgmii_phy0: ethernet-phy@3 { }; }; =20 -/* - * The MCU can provide system temperature too, but only by polling and of - * course also cannot set trip points. So attach to the cpu thermal-zone - * instead to control the fan. - */ -&cpu_thermal { - trips { - case_fan0: case-fan0 { - hysteresis =3D <2000>; - temperature =3D <35000>; - type =3D "active"; - }; - - case_fan1: case-fan1 { - hysteresis =3D <2000>; - temperature =3D <45000>; - type =3D "active"; - }; - - case_fan2: case-fan2 { - hysteresis =3D <2000>; - temperature =3D <65000>; - type =3D "active"; - }; - }; - - cooling-maps { - /* - * Always provide some air movement, due to small case - * full of harddrives. - */ - map1 { - cooling-device =3D <&fan THERMAL_NO_LIMIT 1>; - trip =3D <&case_fan0>; - }; - - map2 { - cooling-device =3D <&fan 2 3>; - trip =3D <&case_fan1>; - }; - - map3 { - cooling-device =3D <&fan 4 THERMAL_NO_LIMIT>; - trip =3D <&case_fan2>; - }; - }; -}; - &pcie30phy { data-lanes =3D <1 2>; status =3D "okay"; --=20 2.47.2