From patchwork Mon Mar 20 11:25:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 95516 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp898321qgd; Mon, 20 Mar 2017 04:42:04 -0700 (PDT) X-Received: by 10.98.79.150 with SMTP id f22mr32419111pfj.201.1490010124797; Mon, 20 Mar 2017 04:42:04 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y92si4467027plb.281.2017.03.20.04.42.04; Mon, 20 Mar 2017 04:42:04 -0700 (PDT) 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; 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 S1754291AbdCTLjU (ORCPT + 22 others); Mon, 20 Mar 2017 07:39:20 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:49363 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753075AbdCTLiz (ORCPT ); Mon, 20 Mar 2017 07:38:55 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id F344920652; Mon, 20 Mar 2017 12:26:15 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from qschulz.home (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 4C2D420425; Mon, 20 Mar 2017 12:26:04 +0100 (CET) From: Quentin Schulz To: robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.u, maxime.ripard@free-electrons.com, wens@csie.org, icenowy@aosc.xyz Cc: Quentin Schulz , linux-sunxi@googlegroups.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, thomas.petazzoni@free-electrons.com Subject: [PATCH] ARM: sun8i: a33: remove highest OPP to fix CPU crashes Date: Mon, 20 Mar 2017 12:25:51 +0100 Message-Id: <20170320112551.25825-1-quentin.schulz@free-electrons.com> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The highest supported frequency (1.2GHz) requires to "overvolt" the CPU. However, some boards still do not have the cpu-supply DT property in the cpu DT node which means that the CPU will always run with the same input voltage but try to run at 1.2GHz frequency. This is the source of (experienced) CPU crashes. Remove the OPP which requires overvolting the CPU until all boards have a cpu-supply property. Fixes: 03749eb88e635ad67818827adde8e5eea7b64571 ("ARM: dts: sun8i: add opp-v2 table for A33") Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun8i-a33.dtsi | 6 ------ 1 file changed, 6 deletions(-) -- 2.9.3 diff --git a/arch/arm/boot/dts/sun8i-a33.dtsi b/arch/arm/boot/dts/sun8i-a33.dtsi index 9d82414..463b2b3 100644 --- a/arch/arm/boot/dts/sun8i-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a33.dtsi @@ -121,12 +121,6 @@ opp-microvolt = <1200000>; clock-latency-ns = <244144>; /* 8 32k periods */ }; - - opp@1200000000 { - opp-hz = /bits/ 64 <1200000000>; - opp-microvolt = <1320000>; - clock-latency-ns = <244144>; /* 8 32k periods */ - }; }; cpus {