Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp677334ybv; Thu, 13 Feb 2020 07:36:44 -0800 (PST) X-Google-Smtp-Source: APXvYqzTfjNzrpgULme2QnPpM51VUE2lGmZ1hELD8nsaC4dSl9j85Z6+cGscVSSzb6t5ZmZvFRtI X-Received: by 2002:a9d:4541:: with SMTP id p1mr13941982oti.199.1581608204310; Thu, 13 Feb 2020 07:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581608204; cv=none; d=google.com; s=arc-20160816; b=Okvo+VABR58KbJ7anOun11i7BZtFqi1mGjDByTurWaqQm3hM4esugkliXbpHYCC95O fwO4QolE9XoR3Tjwd3kG/0Y2XWKKmcGICqthk+6Nde3nKLMaK5ahZqfPvVH+T33MU4+P 77iEgR5FCZdM6+O8T7Xu6Opx79cQBHsk2nPYTn4hO0q/g3ctzCfChs78itSdGeLwIcCe fyAlke51xNq3rTI0va170kuJwL2fpAxusuX2JTxSVQ8F2H83LUF1F2eoEpJAqyFCARuS tryny6Cm67QCF2LfkfaC7YLlVnCm52VbJdQVKT9OLxpZANJgzRKju4idg1kDJ7tg73YB 9mMg== 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=cVOlRMzSN12F/0qaEUXUWBS9ABrSlHJjiLEJKMquLjQ=; b=TWS7RckLlCExUfimsiEsbCCXJvsNe+V9vvlWlqjbbZOfer3hBGPZIgDuGi/FVlp1vS kXzflQzPTmHXeGz+xTmRVhuG8lMjAvs7FDdjeo8kdVRjLZEC8lAbYOJOIlDOy1yqZCpU 3Rmcn9DQgxp4gEjyo3PbW2WMzaabynh0Ic1iZ4Rtcb1JRQRZHtSIgcrgkpWBKUsafsVw HzxJh6MhiMxQiqLHpkI+lwSq+SzvmAWLdLnwFDi1pzdeB06flUtd0y65nISBEj8hrEL2 Im0uMzBOZ5QWLl6s6Kz3j4H9tn2shtvuwcP3dnRBA78C3rh6H1RpX3TCcojunqdG4Xib Qm0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="gl/4ZCc/"; 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 r6si1248004otp.220.2020.02.13.07.36.31; Thu, 13 Feb 2020 07:36:44 -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="gl/4ZCc/"; 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 S1729554AbgBMPac (ORCPT + 99 others); Thu, 13 Feb 2020 10:30:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:50130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729051AbgBMP1W (ORCPT ); Thu, 13 Feb 2020 10:27:22 -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 C2F8C2468F; 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=gLEvYRahZJZvgtrz81+2AEcu4KmTQ3gESGj7mWlMQCg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gl/4ZCc/aDRntyDbWN/0FUssQd9oRB5oCcUW+3JU/LPDpANxAcMerUr4vbnAZNTfI GHDYR8vM2Y/fJzGAGGO/gfVSR39P8XdrQxQzkCJbahsd8hR9JP2T82qJMpTiflPd8E eutHTyjDgrZFLkiCr8pQ7fc/tLLPbQvHgIpJ+iJc= 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 48/96] ARM: dts: meson8b: use the actual frequency for the GPUs 364MHz OPP Date: Thu, 13 Feb 2020 07:20:55 -0800 Message-Id: <20200213151858.035142777@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 c3dd3315ab58b2cfa1916df55b0d0f9fbd94266f upstream. The clock setup on Meson8 cannot achieve a Mali frequency of exactly 182.15MHz. The vendor driver uses "FCLK_DIV7 / 1" for this frequency, which translates to 2550MHz / 7 / 1 = 364285714Hz. 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: c3ea80b6138cae ("ARM: dts: meson8b: add the Mali-450 MP2 GPU") Signed-off-by: Martin Blumenstingl Signed-off-by: Kevin Hilman Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/meson8b.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/meson8b.dtsi +++ b/arch/arm/boot/dts/meson8b.dtsi @@ -125,8 +125,8 @@ opp-hz = /bits/ 64 <255000000>; opp-microvolt = <1100000>; }; - opp-364300000 { - opp-hz = /bits/ 64 <364300000>; + opp-364285714 { + opp-hz = /bits/ 64 <364285714>; opp-microvolt = <1100000>; }; opp-425000000 {