Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp494171lqb; Wed, 29 May 2024 01:44:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXoKJvltoYDIn5Ymt3Mc1u+qxLYrEVMQaq2xpq+rEp6oR4W/S9b13hrjVcQ9StEb30zkypTLqdnuMZ+wSm7Yp27mdwce0C5UxYLjtGtKw== X-Google-Smtp-Source: AGHT+IHa/biQqgvtsKFTGCzb95XxBE5+Qt5ANBc6+ZyvWXPNOtF36glh1cRvJyVtQCugsmf56U92 X-Received: by 2002:a17:902:ecc2:b0:1f4:f1c1:6495 with SMTP id d9443c01a7336-1f4f1c16797mr7628225ad.54.1716972252059; Wed, 29 May 2024 01:44:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716972252; cv=pass; d=google.com; s=arc-20160816; b=y1BacEcNX0fxkGXNYl1M4mh329sOLteNqKlQEqJGJ4sDDiDxScTG+41z0tsm4SOHRD 2iAE2U1sY2ANJm/5fAJXT13sHzA3MWTUmcNS8h8KetqctrV/Ys7c2ndR6wrlv9ARXTV/ klAogY6i0RsnZdvIpBUfZ3RwicQBFcsceUx1baecq2UGgh5in6M8FNpfWSquj1TTNDLR 23uZW8JTj/lCEAoz1zVhPMXEggO2dM0X+F0oV1DbY4l/TviMfTwMqtysLB3YRh66I+fd 3ZO9C/iauZU+w4BA/h+21icKxj+4R+AUgqzCS2y6Me2gQQeOS6MYVXcJGvYnKinxofuD DITw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=P/LaRze2iReVdITozRxpSW8O9Q/FJCbbeSJegkgQVeM=; fh=3XFn3Z9zRh7MpZQkYwfT1CcqaZ4SBg4gwGmTVhMuXro=; b=CCT6e3auuHhp7r6eub2wacN3gYw8lFdGv7O6McytZ1h2VRgHQy+vS2eLDsFHB/EXH9 /gz+CwQ9NhkxzjI7ZA/3EDfB+Dk9jvFgboyDdwjC8MGWEVahFf4Ro4/AuME5HDTnxl+K /vjjeG0j7h7KjEi8x9kz7uJkLNSSB8ngRtyiZ6C3E4LpxLOOpMT4807CISjDx2xlNgLl ncLm8wAlnnDC3i/Lk3m2FsB+nQWo+jLrL0QPWXMA9A8mzOmikE/Jm9mIkX22iY49ZJVL vZ8cDlEV3RPuK7wp1tZLUNz78ZC5HoOH9BKYl1qX/B39cyE5/QM7wB89o7q7+35y6I+D KPlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=llMMIBaE; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-193757-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193757-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c9fb09fsi94574675ad.585.2024.05.29.01.44.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 01:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193757-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=llMMIBaE; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-193757-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193757-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EBECE28331C for ; Wed, 29 May 2024 08:37:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42BA1169AC1; Wed, 29 May 2024 08:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="llMMIBaE" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9C19169398 for ; Wed, 29 May 2024 08:33:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971595; cv=none; b=BtDkyBHyHvR1bi8btdml++x2XRQgwjteSCCA+06k4WDPQYV48MOelvqFU/1NpS/R+8ojKuu3DwKaLFV8modhTIpkAHZXnOL42Sf/OLjGyBdvJpVLBQP/DRmP74qZVbglMDbexv3PmyRnEmAX8TOUcgOz4cjsCxo2JlEAzMHwkbY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716971595; c=relaxed/simple; bh=srXhUFh5PL3ztOWujk+vtJukyejJQvhmVjmJXbT1D9o=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dzfBOjHQQh5C/A63h7pZ0ta7QVYYjbT7EToJQNKnPkBm/+v9IT81rJMz1g0S25M7xtte5j5VRKeV2REBMkuj0yaKJ+k1wd6dPrYTofIQboAMKJfOBMxXcYMQFF22Kwl/ko15upP4rfjmYgEn7tFPHU6OQdH3/uSyhUPD9vWA0Po= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=llMMIBaE; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52ac99930c6so639206e87.0 for ; Wed, 29 May 2024 01:33:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1716971592; x=1717576392; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P/LaRze2iReVdITozRxpSW8O9Q/FJCbbeSJegkgQVeM=; b=llMMIBaE/32bu3ymUDYXso8809Ry1gOm5W6d8jfh+OpTOjwP55z1aF4SaricXu0KxU Sde8xVBPeORQbWCI12AZqHETPCCVjdOmwM/2cKGhvUOBrSXXBwQNktJET764omdD4QP2 0udO88jZ0kiHrh6lSEG/497W54YuR/Tod3/64= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716971592; x=1717576392; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P/LaRze2iReVdITozRxpSW8O9Q/FJCbbeSJegkgQVeM=; b=NgGNYZ6X0Iyv//2N1+s1568c3+Y1jVgSPC6lO0ogNt6ijJ/o+jwsMXkDlDlSqKMM5W AnfqqKtRHDc10kS7Ya2I18pTxGgwOfE2NlBRx3RLcpK5IW6RElMfv69FrAsqE54Hrrl0 uQZ+CGW71zNPIGJogUjgwiGJ/N2v2Qf2idUMk+o6hiqhy+oYK3eXyOZrw9sqZaEWIzfk OmOv8BjeDNYKT0jL+kSkllAu3ab7IOg+zanh4K9Dn6Uv+905HYDk5Yu90ol3ZiMlaQMn 744BkC3061y0d0R2NhZpqdZD14J1Pi27VZrN5o27pXhux4FbhRW3GDzBbwswYDuME9z9 C4Vg== X-Forwarded-Encrypted: i=1; AJvYcCW1P9yGSgnvy6juPdAKiD61gPYtdDnItCWhamxDQ3XNsKnkVZsSD2qnCgl/C1nJTv0w/bKF4GcscwTkb6JcSzd7rVcJarQRYiBHXG+S X-Gm-Message-State: AOJu0YxTfJlP2ZQzAzUK0a8haABeb4hYgWb2VZeg579cgPO4GBpZ0m2+ TIUHgJcMXiiBukwhNHDaoiLjEKSA8esTgOGSb5omxuWXjTx4E4hiDeJKBGF51leM1T68/QPXxsx ZF+F2KaB6i/0ChAVevjm1coJdVI3h/n+6iNhS X-Received: by 2002:a05:6512:4da:b0:52b:78c5:b058 with SMTP id 2adb3069b0e04-52b78c5b216mr44428e87.17.1716971592060; Wed, 29 May 2024 01:33:12 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240529-mtk-thermal-mt818x-dtsi-v6-0-0c71478a9c37@baylibre.com> <20240529-mtk-thermal-mt818x-dtsi-v6-4-0c71478a9c37@baylibre.com> <75826085-fd59-466a-b1de-b4c323c801c1@collabora.com> In-Reply-To: <75826085-fd59-466a-b1de-b4c323c801c1@collabora.com> From: Chen-Yu Tsai Date: Wed, 29 May 2024 16:33:01 +0800 Message-ID: Subject: Re: [PATCH v6 4/6] arm64: dts: mediatek: mt8186: add default thermal zones To: AngeloGioacchino Del Regno , Julien Panis Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , Daniel Lezcano , Nicolas Pitre , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-pm@vger.kernel.org, Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 29, 2024 at 4:17=E2=80=AFPM AngeloGioacchino Del Regno wrote: > > Il 29/05/24 07:57, Julien Panis ha scritto: > > From: Nicolas Pitre > > > > Inspired by the vendor kernel but adapted to the upstream thermal > > driver version. > > > > Signed-off-by: Nicolas Pitre > > Signed-off-by: Julien Panis > > Reviewed-by: AngeloGioacchino Del Regno I'm getting some crazy readings which would cause the machine to immediately shutdown during boot. Anyone else see this? Or maybe my device has bad calibration data? gpu_thermal-virtual-0 Adapter: Virtual device temp1: +229.7 C nna_thermal-virtual-0 Adapter: Virtual device temp1: +229.7 C cpu_big0_thermal-virtual-0 Adapter: Virtual device temp1: -7.2 C cpu_little2_thermal-virtual-0 Adapter: Virtual device temp1: +157.2 C cpu_little0_thermal-virtual-0 Adapter: Virtual device temp1: -277.1 C adsp_thermal-virtual-0 Adapter: Virtual device temp1: +229.7 C cpu_big1_thermal-virtual-0 Adapter: Virtual device temp1: +229.7 C cam_thermal-virtual-0 Adapter: Virtual device temp1: +45.4 C cpu_little1_thermal-virtual-0 Adapter: Virtual device temp1: -241.8 C