Received: by 2002:a05:6500:1b8a:b0:1ef:a0f1:aef6 with SMTP id df10csp90066lqb; Sun, 10 Mar 2024 06:23:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX0XDQXrdoNB+0kx1Nok3ozB522xL4X2ceJYSje6VfW79dn8nRLkDTm3yoE97kkufjpUC4+OsL/EG0D5F/ijlz8OWP/HjwUVsOtE8C3rQ== X-Google-Smtp-Source: AGHT+IGX8XswRlfZlKJH2JWAhTxp5ByrZYvsJ5Y3yPRr2k9NZ1NwL0MabQLHOWkROwQ0HiTxco0r X-Received: by 2002:a17:90a:b887:b0:29b:a59:a12d with SMTP id o7-20020a17090ab88700b0029b0a59a12dmr2110775pjr.25.1710076998364; Sun, 10 Mar 2024 06:23:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710076998; cv=pass; d=google.com; s=arc-20160816; b=IxA0S9nYuiBLxn7dtPWTn49JBl7ENnPGiyastQALbkOfPMbGb5kzWV7zT+g/CocVJl qIx4E6EEjNCBtdH24FFMxSUqTC4S/D0ChuedfuAf3D9yZXIMezIy4Wkm5QNnn9wp8Fl0 xEgQdPaJKSgWNxdsCjRewVvpik3sV31Rf73j27s6oHhULqNSbtQ5MQQnIn4LCh6g8QHy yo2OOh5gKDk9qmEjKosNH7f0Mm5hVsTMKwspdNAXOVB1FJZhxmg5QMLx7KAez8InD5r7 1T/cp7lqjgWeXqdqMbCEVwcXqtlPyXZ3OrWswA+mfbI4yehYdJoRLsihzhg0uXubnsKl R6ew== 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=XhGwFTOxsp8TA925vZCjt+JcQqgJocjoqK3BssOmRYM=; fh=1+neSl/QOUmZkwZ73nwdeIekKKNtS3qy4PzwfNwU/zU=; b=t734kYg1fyRNf8of5thY3ZZI3Zk3FcX9XnBvHIULdjhtPkRveMAOnU7iCWRb0WbCKD vReR4Vt73RIS/7T/PTVygS5C6t0/vHxM5qwpUVKQR+4V2xOMrwl2CeJPNKL2giwJmES9 HlLgb9SAbo7lG8FZpCZM4njYMgKCRyqBwnzBf7dqUR71kMV5EjLlZgTiIz5+xLOgR4y5 2bB1/1b/MDKzEXr2UbdeUEC5mbWHJUwGYkmPW1Ig6pbNAItucprPC/Q722NLvWVIbeMA Ax7mLJ33rWhIutTludRqbNYMKoMSQ0SFuTnP+GC/+iJRlzHc+eZVOYUkss5Wd1JKT+hg WzDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oltmanns.dev header.s=MBO0001 header.b="yqpB/ZFs"; 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-98230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oltmanns.dev Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i2-20020a17090acf8200b0029ba9205138si5402641pju.54.2024.03.10.06.23.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 06:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@oltmanns.dev header.s=MBO0001 header.b="yqpB/ZFs"; 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-98230-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98230-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 45198B20D12 for ; Sun, 10 Mar 2024 13:23:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B21A2C85A; Sun, 10 Mar 2024 13:22:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oltmanns.dev header.i=@oltmanns.dev header.b="yqpB/ZFs" 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 BBB8738F9B; Sun, 10 Mar 2024 13:22:43 +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=1710076965; cv=none; b=o6vvZUBAPf8yV2L/FhwQIZ/2LPbroHDquGXdl97bSmRpkJO1QVyijJTWZuZpH3KrA1r8h/hepHFhDZcPFh+aGlsqSv49p0DC2a1lzW79SfBL4I1YiiPSvuU0NE2oR2kMUIt1Qr0LocpGyY39buvN1GnFjfdK8TR67R0LqgHc+5A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710076965; c=relaxed/simple; bh=kvvIkTmfQMw8UxSyDxPC93rn0oSCr/Quea9RAybNOn8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FFwatvMeuNWrtNYfZA2iVt6nNxbr1KerPummToTwQQVrQPVoxBcKccPAataK9/QktxypzrRfXLvPJfoxIfAgum5tHnCxyam1fCzQczXxMX1SmlJ7JNKJrxQmXKBdT2rn/RanQXdyMNkB4pYazVDrdl4lnyrO4hYCebUZE+O6TQk= 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=yqpB/ZFs; 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 smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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 4Tt0vF5gjbz9smD; Sun, 10 Mar 2024 14:22:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oltmanns.dev; s=MBO0001; t=1710076953; 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=XhGwFTOxsp8TA925vZCjt+JcQqgJocjoqK3BssOmRYM=; b=yqpB/ZFsIC3kVJiHYJxsIUj+zkEdsrbwWRpoL3s3LJXI5NXAT7uCqBmYJynZrZvLl9pG8L 6Lf3AiIu71PVNlRQ+byBfX2w5xMsh44hiyxEqL1EgviV57n1HO7SxCwMJC7nU0l4IemOnT RrgNw4P9jbLAs0TbBFnqURRsmlFipUNhVn5S4doXCmEOhZm/oSXdrr1vjURggphMfKkvQC 5dpf5rQfqOhf+emT9gpdPE3El/+kMKAt1LpILKsR3l49okaMcqcMlZNVVwjrCyXNXwxrdm PycJixMcrT0d1HVm7iYFxB74VZA1c+dD7Yza54IEYi2w6i6csV3XqrYbMO7WTw== From: Frank Oltmanns Date: Sun, 10 Mar 2024 14:21:15 +0100 Subject: [PATCH v4 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: <20240310-pinephone-pll-fixes-v4-5-46fc80c83637@oltmanns.dev> References: <20240310-pinephone-pll-fixes-v4-0-46fc80c83637@oltmanns.dev> In-Reply-To: <20240310-pinephone-pll-fixes-v4-0-46fc80c83637@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 , Erico Nunes X-Developer-Signature: v=1; a=openpgp-sha256; l=1257; i=frank@oltmanns.dev; h=from:subject:message-id; bh=kvvIkTmfQMw8UxSyDxPC93rn0oSCr/Quea9RAybNOn8=; b=owEB7QES/pANAwAIAZppogiUStPHAcsmYgBl7bP6p2D/0yVAajHJzxsF2A2zeZMiqWXbGyGZ0 py+R4ILTJuJAbMEAAEIAB0WIQQC/SV7f5DmuaVET5aaaaIIlErTxwUCZe2z+gAKCRCaaaIIlErT xzQeC/9jShpjnftS4GkyabYSB2tpbtKkzT+oFr9HD819N1UtksrEvwfmCRDtWbZkHg+E+Id2EFl 5cwQX+IXyN5BYzWsPCCw/Jxf3LqYdbEmmwYWS7YMLBE8VVjpycE3jloPFsYVc4yOxjRW7+MCJxl 5/29M0HefgdbSERNfRe40HeZZGjZHUu4KdUa69QIixrQTZLrLsCFm42Z/UqQJ3VkPn5NiiyJr6E z40Tg+9Ga/rU2uaDcforPsLl/l0y9ayLBoK0UA9C3LijM2DxATNpeWz3iWPwg/YIRp6MvTKNW18 YiHtgkixh18DiLRJBl2Z3G0dhWGU3g9e6EfYoV93t/YeHSmXCxp91JSM+cwxNsgHLKCoZ1jIWsP 82JDNAdA0LyExvZXF5171VphDgB353vTAiSQlb0BlupDKjDFbKCbOfIpcJTDS63WGJ+pBlEi0Xa t/JoCa19Y8thObe2+u87zj51in6LJCujRj8DHXUmwhVWJgMTIO93b65RqRGapzoBPecpg= 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 Acked-by: Erico Nunes 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