From patchwork Wed Dec 7 11:32:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarrah X-Patchwork-Id: 13067024 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 982F4C4708D for ; Wed, 7 Dec 2022 11:34:22 +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:MIME-Version:Message-Id:Date:Subject:Cc :To: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=LX4DXnRZ/0qm70vJqNhqbCnw0P/4pkhjJYDFpzbRpHo=; b=OmAadMt4H0TvPu WkdgG8WySm3KhEmk+y14iAVg4vpP8IfFf+0h8v5uBFgUFXBFiox5+AKIobuZvgshZb58iLlKloKbt vmWpiY7xLXkksD72pOrxlHXRL/85GAOTTO/VFAmNjx59dBbMhXdfaZZNrS8rVuIaNIRHeSJZi5bGI /655Ev5yhzl2QZ1ZBEFormZSra1cJ6izark4iD0eCtzXXBudcFMDeGhdxLY4RJ9geGV2MUxFgNVoI Ek2eePZ4+g9Tmqk3KfKeZ3MJUp3QFcGavx9agTaPk/L8awI7VPMR51yFCLXtYOk2uDv1F4WBUIJB/ H0FIKwKA4lalk2+HeTNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2sfl-000u59-CJ; Wed, 07 Dec 2022 11:33:09 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2sfg-000tjA-Ql; Wed, 07 Dec 2022 11:33:06 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 426913200488; Wed, 7 Dec 2022 06:32:56 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 07 Dec 2022 06:32:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undef.tools; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1670412775; x=1670499175; bh=CndWv91ai/XOQYpVh5b+BeS2Z BrDaMbdKpng8qtdwuU=; b=KCWVvlna4+Kb/EdluMoXPN+WtKMPd2F0iC/h6qFzV 5ekt6iS6PAnrlui8yC5eUwTswNKpZGNwy+ZgqJPAMjljhCRIhLJ9AVHEErV1FgYr /d11+gKvO9tfCRMarMNr6bCKSBfbIEmLNJTIqsEHaPCMVn63de5i5pemxWSNGxnH 23MFkYwwPgcSK+gPcnf7DzA6k/E3O98aSlwKAcDDsfyTCrE1Y6/UKdw+ZHFGuMWe mMoEohagvvRKGYN9qPu8xMmx2Av8fdgqBh3PqAcW7GQvHf3hcMVNe5R4YJcjdki7 Zc4P8E0A2lWbiBhg/Jn85ilNUEfAWR41crlTdaazC2SDw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1670412775; x=1670499175; bh=CndWv91ai/XOQYpVh5b+BeS2ZBrDaMbdKpn g8qtdwuU=; b=dcNfwfUVrYO0aBWmUSrvu2CLE2bZBGW9WFnw6bwpotVvBmNplAy Qd0R08POgiSxoVtRaL5KCqHbZ42LZ+0FjoVxN26gBif4NTpnLLbGLkbh4vugPlH0 V/wEOVP/xFGqYuZHyBwbIj50XcvW/9QqP9VMe2kQEFmoc576MApYNbahomtQYkbq fuxzahzGuGQXcU8R/ZYlmRvSMEMiCb7mjNQLskxMKBvxhlSt+MPmGJxACrnzUEqw 3oToofMgqV6WXdE+7dRdtmCejTGhK9IuDqs5J2VcrtPdwDyjQD35lBNwV9v07pMi TQCX7ODUi1KIZnRUmsINba/NhXQxBEXZ0vQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudekgdeftdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeflrghrrhgrhhcu ifhoshgsvghllhcuoehkvghrnhgvlhesuhhnuggvfhdrthhoohhlsheqnecuggftrfgrth htvghrnhepjeeuvefgjeefgefhhfefhedvffelteehkeekvdefheeiteeutdehveeghfeg kefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkh gvrhhnvghlsehunhguvghfrdhtohholhhs X-ME-Proxy: Feedback-ID: id76147eb:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Dec 2022 06:32:52 -0500 (EST) From: Jarrah Gosbell To: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: phone-devel@vger.kernel.org, Jarrah Gosbell Subject: [PATCH] arm64: dts: rk3399-pinephone-pro: reduce thermal limits Date: Wed, 7 Dec 2022 11:32:13 +0000 Message-Id: <20221207113212.8216-1-kernel@undef.tools> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221207_033305_355975_6751EF6D X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. 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 While this device uses the rk3399 it is also enclosed in a tight package and cooled through the screen and back case. The default rk3399 thermal limits can result in a burnt screen. These lower limits have resulted in the existing burn not expanding and will hopefully result in future devices not experiencing the issue. Signed-off-by: Jarrah Gosbell --- arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index 2e058c315025..fccc2b2f327d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -83,6 +83,13 @@ vcc1v8_codec: vcc1v8-codec-regulator { }; }; +&cpu_alert0 { + temperature = <65000>; +}; +&cpu_alert1 { + temperature = <68000>; +}; + &cpu_l0 { cpu-supply = <&vdd_cpu_l>; };