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: 9633885 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 934F3602D6 for ; Mon, 20 Mar 2017 11:26:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 872BE27F95 for ; Mon, 20 Mar 2017 11:26:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7992727FA3; Mon, 20 Mar 2017 11:26:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EB42F27F95 for ; Mon, 20 Mar 2017 11:26:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=SWXy8Ow2YaGHs4PO7KwMFG9aO2mJWbJ0AIgavMUqTqc=; b=pD1 8pMkdOMIGL8pxs1NK1ZMfdYWNIXZULhxmaVLebmWQCezAopBx/2xuW3y/gkMYjc4E2YtVVt6SKh5H lQlee/B7jso5DGIE0uZW4YOzBKMppwtOzttqwANmzwW6mPwQ0ZvITywdLY2+0++weUG0q3xzRUNSx fDwMnH9Yvff8BSNNd8EwcDqxkDCThm1Oep68hz+gocwT1X9ASldF2ZDJulN9DvgtWrsbD/NgJNRfm TLu4WB4mZ7KhDcAdRrxKeAbitC1N8RgrR244yy438Gv+YQw7j4l852JZwIcCFjQim94J4W+MmyebR 1IVtnSUfpNzbqeLOeycEIu1FUBh24LA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cpvSZ-00070e-Gl; Mon, 20 Mar 2017 11:26:47 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cpvSP-0006dQ-4E for linux-arm-kernel@lists.infradead.org; Mon, 20 Mar 2017 11:26:44 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id F344920652; Mon, 20 Mar 2017 12:26:15 +0100 (CET) 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170320_042637_655184_595FB12C X-CRM114-Status: UNSURE ( 9.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Quentin Schulz , linux-sunxi@googlegroups.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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 {