Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp847461imw; Mon, 4 Jul 2022 22:13:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vlaPyFGvF5NA8JgPsQdklqoNhykH88yN2Bv4nm6LqaAwLOZnZcetIPnkJy2PY3Wg0AAGH1 X-Received: by 2002:a17:907:2706:b0:72a:3216:96bd with SMTP id w6-20020a170907270600b0072a321696bdmr31246940ejk.658.1656998002632; Mon, 04 Jul 2022 22:13:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656998002; cv=none; d=google.com; s=arc-20160816; b=NKrx8bg8Afr+ieGsegyJf6LyCKj5aV8LOqDElCRmDpohiJXQ9NsGoAhVsZYTL43a9B iVoR17A9EnxaqbHLleG3i/Qt3ziI+eKnyrpPmVyVfs1WHVocjN7W1Ee5fZVCf9NRk43o noapUAI7tgDA1wlo/+wX/kapEUPZplmPnZgsD7D98YpeaNhahX8Dbuue5IIcnKFKgB9O 6piJLByTtFow7EfpFXlgU7liWsBglPL+hVKf2MlWPTVm23TQOg3147HGV0CVP7ayG9Px rfM/C7sAokAV6PHSWuLOrVaJmzMddh7s5dCVZ2Y+YDRhxZmr9N4dmu3VzwFx2oL/vNTp 7yHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:feedback-id:dkim-signature:dkim-signature; bh=9nY5RE/bGNXng/ITS0f9EUPsxcwltUGdSfZPvL271To=; b=SkzpGUGGcznf1nb4KnElKZbTMEziEqYK5DrI7EJrwb+xM/y042rK+FMl7FrusKbGAE +m+lVbVWx8ho1SrDIk7F6ejuK7FGQPrhhdtDUD/0wWrILlzZCC+rJFnl+ph6wy77vO1o NpJ8GklgJb5PDRM/2VtWYme5JAFJBFOb059XANS2ZKG7YHazTXBi4wb1LI0ZDSEzPoLQ YCIYWYUKsEIbwr1ThOLWKTrbGOID18f84qKbDQHYOYplmB4A5ktvNl/vstFK8XYtKviz gNwuRIBXrHH1/M7msII21ZOXLADdrzu6JD+cWSl0AMcX7RUPwwopTUB9GPdx0Fz5TDIe J5lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=T9k1HVY0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=iiAb0VeI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ef3-20020a05640228c300b0043a6226484asi4872010edb.473.2022.07.04.22.12.57; Mon, 04 Jul 2022 22:13:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=T9k1HVY0; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=iiAb0VeI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbiGEFH5 (ORCPT + 99 others); Tue, 5 Jul 2022 01:07:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiGEFHz (ORCPT ); Tue, 5 Jul 2022 01:07:55 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBDB013D06; Mon, 4 Jul 2022 22:07:54 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 8208B5C003B; Tue, 5 Jul 2022 01:07:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 05 Jul 2022 01:07:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1656997672; x= 1657084072; bh=9nY5RE/bGNXng/ITS0f9EUPsxcwltUGdSfZPvL271To=; b=T 9k1HVY0weVxBaMWNkBqWADMO9f51TEejqMhkprOAaWP7A+GsRVnwtSoMS6CODWNN xcrAEAnHeIc5uCfJZ38Irt9v/MBuFIgtobkKO5l9Gy1b8MdpwSRfDBfrZ8Jge9LY OxVgwJ3zNgUUdzdovDAvUaBe9mDEbgkuZ5/KOEz2r7xopV4WSIAqBgcgz7x3jZ5L 7gefundRif3T9n5pNfYJjodIi6ceVbypq8b6eedZ7R6K8Kkc6iqYdcswBMmSpyv/ y2CnHppqbMLfFF5a2aoKZysla6u0T66GuCthie4pk9HD2gXMXpGcED+RpFrkeGTh F4zn1A99TlL8RiZdmmaYQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656997672; x= 1657084072; bh=9nY5RE/bGNXng/ITS0f9EUPsxcwltUGdSfZPvL271To=; b=i iAb0VeIi7nUD5mvNBQIRan6fKs7Y5EXWQYwu1fsjqkKilP/2Gw0utNYB2RR8DvK5 pQpx+SpFC9pAi42/Gj+5OUrCwpCL2SmLpzan9srOWIhaw4GqOoSuYOxasR49O6xE 5PMIJb87MKAY6gXkMh9o6Nm9NJrJIWP4SRPX3m2xjc+mx9erNqnT38WSC1+BWfqt XziI0IsgreK39Ub/yBUPIZ/2OvOyWfw+JuDIKsV3T3r9f0kH+mWeyz8SLgyt5yen rBDZ2AR2zTQb9htKBwI4IxFYNVnwCYZSkdrmxWbf6v7nlO3KI9y2QFyAr4dxtxN+ khnQXi3Jh9Az+cgatBF1w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeitddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvvehfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefurghm uhgvlhcujfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenuc ggtffrrghtthgvrhhnpedtvefhheehgfdvkeetffeludeuudehudeuvddtveelleekvedv uedviefhkeeuheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 01:07:50 -0400 (EDT) Subject: Re: [PATCH v5 3/3] ARM: dts: sun8i-r40: Add thermal trip points/cooling maps To: qianfanguijin@163.com Cc: linux-sunxi@lists.linux.dev, Rob Herring , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , "Rafael J . Wysocki" , Viresh Kumar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org References: <20220517013607.2252-1-qianfanguijin@163.com> <20220517013607.2252-4-qianfanguijin@163.com> From: Samuel Holland Message-ID: <75c9edeb-edfd-b910-7f72-53f7694b456d@sholland.org> Date: Tue, 5 Jul 2022 00:07:49 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20220517013607.2252-4-qianfanguijin@163.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/16/22 8:36 PM, qianfanguijin@163.com wrote: > From: qianfan Zhao > > For the trip points, I used values from the BSP code. > > The critical trip point value is 30°C above the maximum recommended > ambient temperature (85°C) for the SoC from the datasheet, so there's > some headroom even at such a high ambient temperature. > > Signed-off-by: qianfan Zhao Reviewed-by: Samuel Holland Tested-by: Samuel Holland which took quite a while to hit the passive trip point: # cat /sys/class/thermal/cooling_device0/stats/time_in_state_ms state0 1374892 state1 1499 state2 0 state3 0 state4 0