Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp254852lqs; Tue, 5 Mar 2024 00:31:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUFeAENb3m83y00K+oyhTEng5NekHknLIVwiRzHR1pIa1G40Xu1N/kr12dyPBSb45hSS7PW6bRJBIzpAbppFcaat39PX5zDKeeweaEphA== X-Google-Smtp-Source: AGHT+IGEy+zA3SVf2e7HG6l69PIB5mZnRsCo30JTXoftLjTOUtH3ji+jQezLgj+Zwea7dXxCANaE X-Received: by 2002:a17:906:714f:b0:a3f:20b9:2b68 with SMTP id z15-20020a170906714f00b00a3f20b92b68mr7900503ejj.10.1709627508414; Tue, 05 Mar 2024 00:31:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709627508; cv=pass; d=google.com; s=arc-20160816; b=YjLh0eTlDioeR+GWgMuBn8s3WIG/JDzOmmS72rovnBq6WJoVgeIkWlrxwl90s6JZ9r AOMWW213MR7iufZj+PnqfamecexugER7gqHDuVREeL6kUvN3RlrC7Ddc6GyL/+0P5F1f M9i9CSoyf6hh8oYE6cS8Yi01hJ79G8x4iphwX6IP+VHm98SFKK7nFYqegEJrhjxo9JX3 iIHno6s0+elDCabirZ4fDuOvgZGtGn90YIHr45sGsnnEnxlXyBDKn4oFqKFEGM4W4rO1 ubf5DhMquQY3bQc3qES9c9K2ZoPG3a1UWCf45+48c8CdK8GOJRSVy47TKRE5BWqHKJm9 xQSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=HPqo6ggfchf8Eo8IzHB61o1N1czixDrkgbYRsxezN8c=; fh=CfXIn5aU7mtoLcrlgrMXKB+66R59HaAkMHZiuuBdAuU=; b=XcBvk7pkpzBnDhMNPHBHX9EFnzgaOCYSSokrmzDqaesUFyX9pGhcxuxacXSpuwJXGz 6JQxnUrvGK1d5c9k3HXeivUx6JJFpwu+hYf6RnG0YtGTUOK/A4HkQ9f0IeCldeKRnKNd RPpYj20eYbIoi8EHbvdCooX1Yx4rpYMR+sF+gGCOGfM8xdB8LTgVnPMUirOJP5eQSau3 O0Atb0ZvgBvgB81qJn9arxZ1J0OOWjLmZAAhwsJpLmyLhbYtQRNq23U5mpmfT/+6o2Je E5vqtaf4naT9JfSWUz/KWaF5ZBgo4corWs/Hud4iUGlz2tSkRU4yWoWoY4lf4Q/sYPol xxzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oltmanns.dev header.s=MBO0001 header.b=WETvWYy8; arc=pass (i=1 spf=pass spfdomain=oltmanns.dev dkim=pass dkdomain=oltmanns.dev dmarc=pass fromdomain=oltmanns.dev); spf=pass (google.com: domain of linux-kernel+bounces-90135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oltmanns.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i20-20020a170906265400b00a3e82455348si4895200ejc.858.2024.03.05.00.31.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 00:31:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@oltmanns.dev header.s=MBO0001 header.b=WETvWYy8; arc=pass (i=1 spf=pass spfdomain=oltmanns.dev dkim=pass dkdomain=oltmanns.dev dmarc=pass fromdomain=oltmanns.dev); spf=pass (google.com: domain of linux-kernel+bounces-90135-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90135-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oltmanns.dev 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2E1FF1F21BE2 for ; Mon, 4 Mar 2024 07:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA2411427F; Mon, 4 Mar 2024 07:30:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oltmanns.dev header.i=@oltmanns.dev header.b="WETvWYy8" Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E07C17C69; Mon, 4 Mar 2024 07:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709537433; cv=none; b=oejoVK0bSPIx7PAgNbWHQDlu3G/VG/Pym3jKt4CUt/bp9nI1vMPXLHqSMHjjepPcxGBRbci3wVRd++7x6uT3kEfgRkLMhKzyCD83zI6hf9rmCC3RVVmM596Cd9MMqly2IiViEkKQwbeodIdEBuhaPKYM/52ZTRfDSBhEdAo82YQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709537433; c=relaxed/simple; bh=465cP31JRMr94nU0gRhI1fk1wJXGTQoV5XYegVLKIvk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Lg+Yy5clq/RqivEYNF6QTN9Bpi2xO/ST5BbgbkOJL1wVLK4DPC17nDpXfKYSINuPKNDV7QOnUO3cV7HHDb/yLnFuGE/05lvQo20ozSjyguB+H9muAdXNPEAUCgKjurqkAiiWvC04X4RWtG/YnnlOegdbCzy/tIoti/X7Q3wm0eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oltmanns.dev; spf=pass smtp.mailfrom=oltmanns.dev; dkim=pass (2048-bit key) header.d=oltmanns.dev header.i=@oltmanns.dev header.b=WETvWYy8; arc=none smtp.client-ip=80.241.56.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oltmanns.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oltmanns.dev Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Tp9Mm0bnbz9sQJ; Mon, 4 Mar 2024 08:30:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oltmanns.dev; s=MBO0001; t=1709537428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HPqo6ggfchf8Eo8IzHB61o1N1czixDrkgbYRsxezN8c=; b=WETvWYy8KnRKnpbEBwTCtY8rSUlT4nt1jNvhqkNc7xjfoZzwJPVQHAgNrO8QQCCfC2Ywf4 DFAprV6WH9qCU0kujsvsYd8/nRlBCUw2OwJNmuGm+QqSOENyuQ8amvQ1dhtH6x3Kg1Gl4X I2m5dRMkohZwACsniickAn39G80NZIJp/c9VBFlA5X00F+c4LUK2A1ppjrVeIb8PK7nDmg mfFNbnARLoF0iWW8pvNzbACozuHmMbXE73vyAoZeVoYyg6cf7qFuLkdjJsMPCUdkOul1uW YNzJLqC29oEqXFppvJxiup0jTTbUGYilnYIO7sh0Cn4BHpcOviVrmqqIBkAryw== From: Frank Oltmanns Date: Mon, 04 Mar 2024 08:29:21 +0100 Subject: [PATCH v3 5/5] arm64: dts: allwinner: a64: Run GPU at 432 MHz Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240304-pinephone-pll-fixes-v3-5-94ab828f269a@oltmanns.dev> References: <20240304-pinephone-pll-fixes-v3-0-94ab828f269a@oltmanns.dev> In-Reply-To: <20240304-pinephone-pll-fixes-v3-0-94ab828f269a@oltmanns.dev> To: Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?utf-8?q?Guido_G=C3=BCnther?= , Purism Kernel Team , Ondrej Jirman , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, Frank Oltmanns X-Developer-Signature: v=1; a=openpgp-sha256; l=1210; i=frank@oltmanns.dev; h=from:subject:message-id; bh=465cP31JRMr94nU0gRhI1fk1wJXGTQoV5XYegVLKIvk=; b=owEB7QES/pANAwAIAZppogiUStPHAcsmYgBl5Xhx9BxlpyXsETgIPW4+KIkZfwF26bL53VDWZ sb0uVOWRt+JAbMEAAEIAB0WIQQC/SV7f5DmuaVET5aaaaIIlErTxwUCZeV4cQAKCRCaaaIIlErT x0iXC/9kAUvpZfp08Fa9Etq3guQAB/WTkntp+YOU5esogHDIPMLVL9s8J3BmVymEMsrwcZGWYf6 /Fg40Ek4gdlb7ubQx+uwcRrSmoQlnM7iALQdSnV0PVDLR9BGdfyegX+5OkVcOVxe0eodfmqylN4 oQ/6hL7exkBjTiHjeZjtrt3nfyl5DGK8cyXLjjo+Xz1oV6C5BXsb4NMN1otFkAlhud8aV80lQgE WcQo7zr1B6odwuTnMTZVNAZMfeUdu2uc3WHI7AM4djqvj8EdkJk8Xtwm2mRehBL4gk7ezigkrDi mk+GFzrdamKg9XQEZ8STQdRlG6xq7XmefS+Vyl5hB6WnjdFZ8iW3rTYcvsBWn6UxVtXAtDNEXUn B2F6Z5ZT6oJlKqw78J0U2SkrNpUMd+7oChTyDKWGXGk7Y/yxW48gCU1r1jXw6eVkf/K7Rb3Vyor VPpbsDlGiGPIEdOUugWl5YknQ41mKlMtr1azRyBGMTeM7sW4CcVJajx2QDdwhnQMvG2cI= X-Developer-Key: i=frank@oltmanns.dev; a=openpgp; fpr=02FD257B7F90E6B9A5444F969A69A208944AD3C7 The Allwinner A64's GPU has currently three operating points. However, the BSP runs the GPU fixed at 432 MHz. In addition, at least one of the devices using that SoC - the pinephone - shows unstabilities (see link) that can be circumvented by running the GPU at a fixed rate. Therefore, remove the other two operating points from the GPU OPP table, so that the GPU runs at a fixed rate of 432 MHz. Link: https://gitlab.com/postmarketOS/pmaports/-/issues/805 Signed-off-by: Frank Oltmanns --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 57ac18738c99..c810380aab6d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -107,14 +107,6 @@ de: display-engine { gpu_opp_table: opp-table-gpu { compatible = "operating-points-v2"; - opp-120000000 { - opp-hz = /bits/ 64 <120000000>; - }; - - opp-312000000 { - opp-hz = /bits/ 64 <312000000>; - }; - opp-432000000 { opp-hz = /bits/ 64 <432000000>; }; -- 2.44.0