From patchwork Wed Apr 10 06:20:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13623611 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B4DABCD1297 for ; Wed, 10 Apr 2024 06:20:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Message-Id:MIME-Version:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HZw/FFtbYgQ3xYMnSx+Diqi6ZIs2rVbHzccdcZ/QPzg=; b=bL1tLwy096uSOI 2JyR+s7XRnvlwEKDpm2MuCYJ1w95ElatJ1AAQVrPyyOZbnhJr+Wziz58fU8vmKITocZoL9FeS37nv tjjW0Won/jxRM3It62HjuwLYYe1FLCChZjKtNvfIhwOQKadRf5J6AL0VH3taY6R7FSvbPnt2S9R1+ TrlpYPJ+WXxyf4XjWGBWMAJAC9s4DV/m4W6nPu5yAqCOWiQ+tCMJhoWIU/PJEDaMATySxBV76/73n KctxP8BLLsL7TEY0//E7/2nt+UjJmcRjRHmQZeLeuZ4h/I7ETrQAk+Svzib7Vh1AJas/3XCXSlmoc iwv1YA9HMA/LdQRxYpQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruRJu-00000005M74-2B0O; Wed, 10 Apr 2024 06:20:30 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruRJr-00000005M62-2S47 for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2024 06:20:29 +0000 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6eaf9565e6bso4475099b3a.2 for ; Tue, 09 Apr 2024 23:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712730026; x=1713334826; darn=lists.infradead.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=e5v4LfNlblo2WKgRAn2D3NW7xqD55htd+EO/6vEx8Ak=; b=oCjSww4RIqjJ+swGipsSyavesOKx0loas9rA1j2Rk6L7+5UeOxJNjgmAqgXP47FxkP 13HLN4AuVOMViUaWKFeaG3FS0zrB5T23huhGxZUKLQFXVwTT49q9OfnCCKFFBAD18VtK 8M3UACPifJZJi5v11rVV1nhHwIQwbvkWzv2hg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712730026; x=1713334826; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=e5v4LfNlblo2WKgRAn2D3NW7xqD55htd+EO/6vEx8Ak=; b=tc7addX/ggnNP5Q9EN4lYgQq9OkAgl3Q4wppCJEXsL3Yes84E03jQSHzIZo5RM2LIS Qn/mhjnRmbzihs3geBrzvQsvLnkRHPZ2Y7GG6Kg0XXbzwq780e6apX5HbXbBunYFDqj4 ERjHfSw8OS6L9E0pM8nTL5dc3TA/Rdm0RdpEwiddocdvkUeEgXHtNM4+LMuFnBX7VG6G y3D7HP4OUabziGK9GX9CZZAWBdnOw4ny/ChKwms97HDQdyDrcezfvyTJFU0W0+bgz6eE bbTD5MQgfApQC3YflF3Nhu2nmNuoJFceiGgPPBNtBf50wd01xzAkX0xMwEDZFFWFvsUk Pl7A== X-Forwarded-Encrypted: i=1; AJvYcCWcCnIEV73eybhoUCoMpV8+pEZQBJuVzu4QG9PQ/xZF875Ylc1bc++jZYnWghXL+GDQ8gU0XmH/kz7j9PayAXBVV7vUhZfBtk8cTLL89Q6erVI5sQ0= X-Gm-Message-State: AOJu0YylQ0sGDTkNwYxQJdSb7qKkscPiaHNSL0RM4dJLJ4CUXRuefsl1 vIFsNG2hNVqYtHR6A34kt+8DylbTuxpixzVTfA3TSC2c3TGX6tZMs1ZvdJjUuQ== X-Google-Smtp-Source: AGHT+IHAta98FxLNG/x0sc1YsRsry9ENklaCOvy0ZnfjzpSfwTLrCO0ZpnFeZ9TC6+QWoa+lKUCVCQ== X-Received: by 2002:a05:6a00:21c9:b0:6ec:ee7c:141c with SMTP id t9-20020a056a0021c900b006ecee7c141cmr2087534pfj.16.1712730025858; Tue, 09 Apr 2024 23:20:25 -0700 (PDT) Received: from yuanhsinte1.c.googlers.com (88.216.124.34.bc.googleusercontent.com. [34.124.216.88]) by smtp.gmail.com with ESMTPSA id lb14-20020a056a004f0e00b006ead47a65d1sm9411384pfb.109.2024.04.09.23.20.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 23:20:25 -0700 (PDT) From: Hsin-Te Yuan Date: Wed, 10 Apr 2024 06:20:20 +0000 Subject: [PATCH] arm64: dts: mediatek: mt8192: Add missing trip point in thermal zone MIME-Version: 1.0 Message-Id: <20240410-upstream-torvalds-master-v1-1-852e903f0cec@chromium.org> X-B4-Tracking: v=1; b=H4sIAKMvFmYC/x3MTQqEMAxA4atI1gZa6Sh4FXERajoT8I+kiiDe3 TLLb/HeDcYqbNBXNyifYrKtBb6uIP5o/TLKVAyNa4IL3uGxW1amBfOmJ82T4UKWWTE44pQ+wbe xg5Lvykmu/3oYn+cFMVnATGoAAAA= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , =?utf-8?q?Bernhard_Rosenkr=C3=A4nzer?= , Balsam CHIHI , Alexandre Mergnat Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240409_232027_688195_EB157F5D X-CRM114-Status: GOOD ( 11.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the missing passive trip point which is expected by kernel. Fixes: c7a728051f4e ("arm64: dts: mediatek: mt8192: Add thermal nodes and thermal zones") Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) --- base-commit: 20cb38a7af88dc40095da7c2c9094da3873fea23 change-id: 20240410-upstream-torvalds-master-40aeff5416c7 Best regards, diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 05e401670bced..08d8bccc84669 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -1959,6 +1959,11 @@ cpu0-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_LITTLE_CPU0>; trips { + cpu0_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu0_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -1989,6 +1994,11 @@ cpu1-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_LITTLE_CPU1>; trips { + cpu1_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu1_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2019,6 +2029,11 @@ cpu2-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_LITTLE_CPU2>; trips { + cpu2_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu2_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2049,6 +2064,11 @@ cpu3-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_LITTLE_CPU3>; trips { + cpu3_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu3_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2079,6 +2099,11 @@ cpu4-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_BIG_CPU0>; trips { + cpu4_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu4_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2109,6 +2134,11 @@ cpu5-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_BIG_CPU1>; trips { + cpu5_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu5_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2139,6 +2169,11 @@ cpu6-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_BIG_CPU2>; trips { + cpu6_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu6_alert: trip-alert { temperature = <85000>; hysteresis = <2000>; @@ -2169,6 +2204,11 @@ cpu7-thermal { thermal-sensors = <&lvts_mcu MT8192_MCU_BIG_CPU3>; trips { + cpu7_thres: trip-point { + temperature = <68000>; + hysteresis = <2000>; + type = "passive"; + }; cpu7_alert: trip-alert { temperature = <85000>; hysteresis = <2000>;