From patchwork Thu Jun 1 13:44:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 688474 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C51D9C7EE23 for ; Thu, 1 Jun 2023 13:44:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233573AbjFANov (ORCPT ); Thu, 1 Jun 2023 09:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233300AbjFANor (ORCPT ); Thu, 1 Jun 2023 09:44:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FA7F13E; Thu, 1 Jun 2023 06:44:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C9F4463958; Thu, 1 Jun 2023 13:44:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59DABC433A4; Thu, 1 Jun 2023 13:44:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685627085; bh=q6w4UUDjOmOOezIJ0otzADnOnzbMQRuEIJyRnoatvfk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KL+9vHOICSZeUlx4L7ytO0wuNrH/rOWgGlc6ATUHpY9KIUFIRL9s5W/lB/1eRaVrk +G+YsHCFcUspFilEYonT5Vm4NHn1Wm5cOQmRUOm5qEZwFaUkrPH28pvPctqYWeuYtF XaLre8ws8zN1UAjO7VSiyakQ0j9Wcm02aK6ng7Fn1v0lW+os/XxyT+Lt7t4RClTV/W qZsM7Gibgru0dz2mNKn71IAPc3r//1kEzxqZkTKNXeeIBFYb7JU+34yZHl8tXQnluU 8wl9V6Rp65gbjDXBJpB3X5FyI/tPnxFf/qH18ML6XcLoLPICXQOVUuaTUTAr4MFFZK URWzjzitA4caQ== From: matthias.bgg@kernel.org To: rafael@kernel.org, Daniel Lezcano , Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno Cc: devicetree@vger.kernel.org, Amit Kucheria , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Zhang Rui , linux-arm-kernel@lists.infradead.org, Matthias Brugger Subject: [PATCH v2 2/2] arm64: dts: mt8173: Update thermal node Date: Thu, 1 Jun 2023 15:44:25 +0200 Message-Id: <20230601134425.29499-2-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230601134425.29499-1-matthias.bgg@kernel.org> References: <20230601134425.29499-1-matthias.bgg@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Matthias Brugger Following the binding description, update to use thermal-sensor-cells = 1 While at it also fix the node name of the CPU critical trip point. Signed-off-by: Matthias Brugger Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - fix node name of CPU critical trip point arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index c47d7d900f28..d760776e3daf 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -270,7 +270,7 @@ cpu_thermal: cpu-thermal { polling-delay-passive = <1000>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ - thermal-sensors = <&thermal>; + thermal-sensors = <&thermal 0>; sustainable-power = <1500>; /* milliwatts */ trips { @@ -286,7 +286,7 @@ target: trip-point1 { type = "passive"; }; - cpu_crit: cpu_crit0 { + cpu_crit: cpu-crit0 { temperature = <115000>; hysteresis = <2000>; type = "critical"; @@ -766,7 +766,7 @@ spi: spi@1100a000 { }; thermal: thermal@1100b000 { - #thermal-sensor-cells = <0>; + #thermal-sensor-cells = <1>; compatible = "mediatek,mt8173-thermal"; reg = <0 0x1100b000 0 0x1000>; interrupts = <0 70 IRQ_TYPE_LEVEL_LOW>;