From patchwork Sun Jun 12 23:24:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: christopher.spinrath@rwth-aachen.de X-Patchwork-Id: 9171779 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 2ED9760573 for ; Sun, 12 Jun 2016 23:27:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FF1A20855 for ; Sun, 12 Jun 2016 23:27:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14C7A21C9A; Sun, 12 Jun 2016 23:27:59 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BB1D620855 for ; Sun, 12 Jun 2016 23:27:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCElJ-0000iH-L7; Sun, 12 Jun 2016 23:25:49 +0000 Received: from mx-out-2.rwth-aachen.de ([134.130.5.187]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bCElH-0000gz-5o for linux-arm-kernel@lists.infradead.org; Sun, 12 Jun 2016 23:25:48 +0000 X-IronPort-AV: E=Sophos;i="5.26,463,1459807200"; d="scan'208";a="444066637" Received: from rwthex-s1-b.rwth-ad.de ([134.130.26.153]) by mx-2.rz.rwth-aachen.de with ESMTP; 13 Jun 2016 01:25:25 +0200 Received: from snowflake.lan (94.220.153.11) by rwthex-s1-b.rwth-ad.de (2002:8682:1a99::8682:1a99) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 13 Jun 2016 01:25:19 +0200 From: To: , Subject: [PATCH v3 1/2] ARM: dts: imx6q-cm-fx6: fix the operation points Date: Mon, 13 Jun 2016 01:24:55 +0200 X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 X-ClientProxiedBy: rwthex-s2-b.rwth-ad.de (2002:8682:1a9b::8682:1a9b) To rwthex-s1-b.rwth-ad.de (2002:8682:1a99::8682:1a99) Message-ID: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160612_162547_635037_B6D462C8 X-CRM114-Status: UNSURE ( 9.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, Christopher Spinrath , pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux@armlinux.org.uk, robh+dt@kernel.org, grinberg@compulab.co.il, Valentin Raevsky , galak@codeaurora.org, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org 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 From: Valentin Raevsky The current ldo settings of the cm-fx6 do not allow 1.2GHz cpu frequency. At this frequency the module behaves unstable. But the imx6q fuse indicates that 1.2GHz operation is possible. Hence, remove the 1.2GHz operation point in the device tree. Signed-off-by: Valentin Raevsky [christopher.spinrath@rwth-aachen.de: enhance commit message, adjust remaining operation points to match the ones in imx6q.dtsi and add a comment in the device tree] Signed-off-by: Christopher Spinrath Reviewed-by: Fabio Estevam --- Notes: Changes since v2: - fix comment style - add Fabio's Reviewed-By Changes since v1: - Enhance commit message to explain that we cannot rely on the imx6q fuse to restrict the frequency - put the same information into a comment in the device tree - fix the remaining operation points to match the ones given in imx6q.dtsi arch/arm/boot/dts/imx6q-cm-fx6.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-cm-fx6.dts b/arch/arm/boot/dts/imx6q-cm-fx6.dts index 6d8d5e9..b5de7e6 100644 --- a/arch/arm/boot/dts/imx6q-cm-fx6.dts +++ b/arch/arm/boot/dts/imx6q-cm-fx6.dts @@ -91,6 +91,28 @@ }; }; +&cpu0 { + /* + * Although the imx6q fuse indicates that 1.2GHz operation is possible, + * the module behaves unstable at this frequency. Hence, remove the + * 1.2GHz operation point here. + */ + operating-points = < + /* kHz uV */ + 996000 1250000 + 852000 1250000 + 792000 1175000 + 396000 975000 + >; + fsl,soc-operating-points = < + /* ARM kHz SOC-PU uV */ + 996000 1250000 + 852000 1250000 + 792000 1175000 + 396000 1175000 + >; +}; + &ecspi1 { fsl,spi-num-chipselects = <2>; cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio3 19 GPIO_ACTIVE_HIGH>;