Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp687013ybv; Thu, 13 Feb 2020 07:46:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxXY8SDeeIvenGy7nvGATyz4SgDa9HL0b0j4pECw6xFbHpvXhb2yp1lypDy0FSy927w1JOi X-Received: by 2002:a05:6808:9a4:: with SMTP id e4mr3341157oig.127.1581608795596; Thu, 13 Feb 2020 07:46:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581608795; cv=none; d=google.com; s=arc-20160816; b=Z3CG5iBtAWY6ORbfc565Sscx1qCGBRLClSldRK6JZNFkbn/JNyeVq/7jB/ZqiDDE14 DttdvhL6XiynDU8DI9mXJzgWJSbkHpjin0OHCXanzplLVRv9PFbGCPZf2/7bxIH46BVh fz+xKD/9m3ja5gbQdBGWSttTMCfbgm0/rsAJqWW+HJO1gXRYWw7lovM3nwnwQE/iJxHH 6nFM9p1YarkCXSYp4s3dTStFKervcDr4fPcbk38yIkiOdJ9+7oth4tRomlAsbr31Sgfi X93x8MM5amWnbBCTi+wXTgsrYdl13MZg+UHbsV4SvERGcxYEbUIwRWdqiWHvTxs6ta2m 4Iuw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qY+l54k/OWXcdLRYnUbh3GPytVj++1icu9l6KcCbftY=; b=O3FAgtRP8OqDQ64r/koWlSOPRe4kUAtIrtzRQ2Q5nK23C9fptyHYZ4wjSi3Xt0MmOw 5kWy2e+4CuJgmkPwLZAI0fGRzFCeUQbrqBfLFxISEkgdtvX5OJ5vI1NdiD3Hebgv1wIh Cfg3X2SGgU2hIPu7JEAvlItnXQahuuD6s3KuxylGOD9OMnpDU8fkJibZn1y0WMTPppAO /2/ptjAp/d0SvDk6jMRGALErQAILv5wQEtSVJEHzfDxSvd3PpkLyGScXNVk0N8lM2y2U I5cxbLlSAKoyTD5ySX/XGaHjoL/EaUbuYGcSgu7ZM2+Yqo75ph0UzrGZIJQDFPf5sOdb xpzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UD9RkW9Z; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si1313915otp.84.2020.02.13.07.46.23; Thu, 13 Feb 2020 07:46:35 -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=@kernel.org header.s=default header.b=UD9RkW9Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729594AbgBMPqG (ORCPT + 99 others); Thu, 13 Feb 2020 10:46:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:50066 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbgBMP1V (ORCPT ); Thu, 13 Feb 2020 10:27:21 -0500 Received: from localhost (unknown [104.132.1.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 241042468D; Thu, 13 Feb 2020 15:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581607641; bh=AzyPehGb52ECJ+zdCScD6NmW/QG6jNq0X+C2XumulvU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UD9RkW9ZPiByenwQGM5HJNouJp1Kw4K5aUAfD9URzEiDlqb40CM6aEUaoYLqujZ7e sXI9klPcv34wAX3PmUxyBuwTUfSHP05LEObI9hLT0W2+IE8Pa9ruxvFjq1YLvDc97M uwGwz8/+NQEldGUcK8KcFvQXPt6tG5/RgZVJnZd4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Martin Blumenstingl , Kevin Hilman Subject: [PATCH 5.4 47/96] ARM: dts: meson8: use the actual frequency for the GPUs 182.1MHz OPP Date: Thu, 13 Feb 2020 07:20:54 -0800 Message-Id: <20200213151857.588130768@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200213151839.156309910@linuxfoundation.org> References: <20200213151839.156309910@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Martin Blumenstingl commit fe634a7a9a57fb736e39fb71aa9adc6448a90f94 upstream. 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 Signed-off-by: Kevin Hilman Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/meson8.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/meson8.dtsi +++ b/arch/arm/boot/dts/meson8.dtsi @@ -129,8 +129,8 @@ 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 {