Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8193858ybl; Tue, 24 Dec 2019 17:07:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwvhmbIoB4M8/ehpV162D+nmN0IO/30uz8Tx9kxdWGNJfyBciNXohSLGmH9ZRPwGbNonchD X-Received: by 2002:aca:ec4d:: with SMTP id k74mr1286724oih.64.1577236060207; Tue, 24 Dec 2019 17:07:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577236060; cv=none; d=google.com; s=arc-20160816; b=wYP3UzuR0BGldRm7NSgmHUlt37Pkb+COFRPiuIImuta6RzkuNDe3hDzNGoleJm1S3u 3fYlSqBAqVOIG19tLOM33vZQxLPkfuRBRWx2ehx9fF6RJW7iY3Jp5WNe4C5XOR0YYc7x oR7llv6aeL7brdHDFua9QHcgtnt3PClCbKJjpibz786q7gSfQxlbnI4RoLCp/RJXOPhq q/S66Yv2jESwKOGyW9njrtVdZtkyeoj9AaiJ8gxm7PDkmrgVCEg/Bx2UgWlvuWP77gCT GZAEqWUlwdcgEfKN1naURzNmyGyvPQp64zXU34i0oD5BQEsoQ4HfvUSbX8mshp1Dhrz1 JMoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3Mty/FeKQ1wDgVa8w9Nr+2aawC0goo22XNed8kugKhM=; b=r4IjrGFWOMI7drgvdhLVW3TFpmxmtqsWpxQ8fiZ32BNJTm1c0nUNtWKrvPsMPbuANu A9pEVw5kTjLJpPHtK0ikLggAdOr99bTugn27WFVbiQbakZnBRo7mHjX4O+fBHY7oSOSc fJ3eUi0HQlbCD1Lvq34toBmJSu5Mv0EbpIruJg1t7x/3WkYNOlD5p/YmRDFpmqWmuGW1 tu5hP/XuBYbho2mvsiF1BF+RV855zyPnHeRJAtWu2EMJRpNexOvSp3VLcN3fsD/9aNs+ /Mdi9p0r95oa1uakbNA10B6iLIh/7/rrXStIi2yEigjMGP8W2bpCx+vn4tp9cW3V5S6E qdaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=nsIyRfJe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u15si11894278oie.265.2019.12.24.17.07.28; Tue, 24 Dec 2019 17:07:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=nsIyRfJe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbfLYBGc (ORCPT + 99 others); Tue, 24 Dec 2019 20:06:32 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38769 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbfLYBGZ (ORCPT ); Tue, 24 Dec 2019 20:06:25 -0500 Received: by mail-wm1-f66.google.com with SMTP id u2so3518452wmc.3 for ; Tue, 24 Dec 2019 17:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Mty/FeKQ1wDgVa8w9Nr+2aawC0goo22XNed8kugKhM=; b=nsIyRfJeBDJmdHJW7QotBn8a3e4KqpfpPdrhMxitrdrEjPmQn1BokouaEDljANB+uA opRGU1cauaPWkweuiuT8vOtRcs2xf4cYnzJRW8SM8noie3rNoQhmqULNQ+YQ+yUZeszO +V+JRBXJWXFtxNpHcgrixH74Q75GI7pmz00QsxBeMau+1SBy946gjmsMc4v7VZhupoNz CNBByMQ5klAnkYFuGixbXAG77ctfE+VToqt2r2kvKHtZjYgtA4bktiPoVPaWPmDZRPLQ OCM+xY5JPtS8ee2SA+AVjndjqoDdccPHmPbAYibnU+0CgQ+2F4iEY0inxSprZAW9+RdB /DCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3Mty/FeKQ1wDgVa8w9Nr+2aawC0goo22XNed8kugKhM=; b=rVBr9CtuYIWrm2gTAnoNcsj2mN3kFBZPdTvxd4n/sYbbxvHqJUUmXsKXFckJPHblc1 QM5Z9/iUE0n6Y5JgeukhvHm/9LHC7QX1Uk2n8t0YBLHgaQTHBZclMZXfodAM/2DW5P+S 47EOZPUWVyXl8ML4jht+vx4EDKhaaKScEEMLqKNJlQHH5ZskUR4+QUx4+kwponsIKTsC fBwfsuh1jCK831fIKA1lB9ZjHmiZWjEtHQptuVJNSoA9iE26ZqvODe1X1MwlX3vLNLQD nrnzVVAAba421EpMFUJMdb+zZXPgyDoJG60qarPgIVYtlP3ekxKZFYSTLREgud9CsrOc QglQ== X-Gm-Message-State: APjAAAVY2XH8ShNtQEJsc5MQu4vL1cr7hiCiSll8cREAGzGHebNNV7Gt f5sEGYIawgM4yfquVwffaac= X-Received: by 2002:a1c:6a13:: with SMTP id f19mr6802974wmc.20.1577235983449; Tue, 24 Dec 2019 17:06:23 -0800 (PST) Received: from localhost.localdomain (p200300F1373A1900428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:373a:1900:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id x26sm4066127wmc.30.2019.12.24.17.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2019 17:06:22 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl Subject: [PATCH 2/3] ARM: dts: meson8: use the actual frequency for the GPU's 182.1MHz OPP Date: Wed, 25 Dec 2019 02:06:06 +0100 Message-Id: <20191225010607.1504239-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191225010607.1504239-1-martin.blumenstingl@googlemail.com> References: <20191225010607.1504239-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The clock setup on Meson8 cannot achieve a Mali frequency of exactly 182.15MHz. The vendor driver uses "FCLK_DIV7 / 2" for this frequency, which translates to 2550MHz / 7 / 2 = 182142857Hz. Update the GPU operating point to that specific frequency to not confuse myself when comparing the frequency from the .dts with the actual clock rate on the system. Fixes: 7d3f6b536e72c9 ("ARM: dts: meson8: add the Mali-450 MP6 GPU") Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index b35d7444c1f4..eedb92526968 100644 --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -130,8 +130,8 @@ opp-1992000000 { gpu_opp_table: gpu-opp-table { compatible = "operating-points-v2"; - opp-182150000 { - opp-hz = /bits/ 64 <182150000>; + opp-182142857 { + opp-hz = /bits/ 64 <182142857>; opp-microvolt = <1150000>; }; opp-318750000 { -- 2.24.1