From patchwork Fri Dec 15 17:16:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 10115645 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 6079C60327 for ; Fri, 15 Dec 2017 17:18:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43F062A083 for ; Fri, 15 Dec 2017 17:18:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38B052A0BD; Fri, 15 Dec 2017 17:18:46 +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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 D90532A083 for ; Fri, 15 Dec 2017 17:18:44 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=eLQx26R9e9LCrGlkV2WjKNNrr2MnDtZAuegFraKRGiY=; b=J0Qxmh+Mu9ff+A bHMQ/UheZhBOO88yeG+XjDE7tkHmb+oyDDgaQ/mgNJ5q3wfOf8bvZB371i4iYPz49lFMYs/EWlWaw d26m0GrrNPgh6t5ApquAqGfQLMYqnItSjp9Sia0jTlvdK6XSKfQ5Qf3XBrNBSpsBwXi++TfD5Annt /BJBk4FSTTYUuO6gaFwLrt+x7Kt/4uJtLuWgRVc/klbSUxJCw3nfMEnYj5GbRpYNgcaEbXq+XwIZ0 W2Emdm+o3yU4xKMSxmkRnjGAOSaX7frHUiaS4IbuYocUJ3ratyflX/COeeg8N6UBh2PE5bClw3vJJ 4LG9gU7Dh9FmMVLx/gfg==; 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 1ePtcu-0003c8-Dh; Fri, 15 Dec 2017 17:18:24 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePtca-0003MP-7M for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 17:18:17 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBFHGvS4022358; Fri, 15 Dec 2017 11:16:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513358217; bh=GOsd042AvkzTyqoLTFvtqyA0SdCqbAWUwE0taaZ7nE8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=rHs0n28raZPz0aXhW4kIUsUoGdMg7qwS8GFbjhnSpFVX2jnk84X1dpB91Gn6KOPUl 2tDzs0Xc/Bvricv6rIgiMy0pnqVdMa+RMZmdgSEj1h21OIOILm5+i1tkeApqYMyWCl gEHF+7p6dVSSKPQWmNnHeSPaemKaKP2xlruEFKo8= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBFHGq4m023696; Fri, 15 Dec 2017 11:16:52 -0600 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 15 Dec 2017 11:16:52 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 15 Dec 2017 11:16:52 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBFHGqfm023061; Fri, 15 Dec 2017 11:16:52 -0600 Received: from localhost (uda0274052.dhcp.ti.com [128.247.59.203]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id vBFHGqx08183; Fri, 15 Dec 2017 11:16:52 -0600 (CST) From: Dave Gerlach To: Tony Lindgren Subject: [PATCH 1/2] ARM: dts: am437x-idk-evm: Disable OPP50 for MPU Date: Fri, 15 Dec 2017 11:16:42 -0600 Message-ID: <20171215171643.8345-2-d-gerlach@ti.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171215171643.8345-1-d-gerlach@ti.com> References: <20171215171643.8345-1-d-gerlach@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171215_091804_815266_139CFFC6 X-CRM114-Status: UNSURE ( 7.22 ) 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: devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dave Gerlach 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 AM437x IDK has a TPS386000 supply voltage supervisor on the VDD_MPU rail set to trigger undervoltage condition at 0.96V. Because of this, OPP50, which is normally configured to 300MHz at 0.95V, must be disabled to avoid triggering the undervoltage condition. Also mark OPP100 as the suspend-opp as it is now our lowest OPP. Signed-off-by: Dave Gerlach --- arch/arm/boot/dts/am437x-idk-evm.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts index 5e364473067f..20132477a871 100644 --- a/arch/arm/boot/dts/am437x-idk-evm.dts +++ b/arch/arm/boot/dts/am437x-idk-evm.dts @@ -519,3 +519,17 @@ &cpu { cpu0-supply = <&tps>; }; + +&cpu0_opp_table { + /* + * Supply voltage supervisor on board will not allow opp50 so + * disable it and set opp100 as suspend OPP. + */ + opp50@300000000 { + status = "disabled"; + }; + + opp100@600000000 { + opp-suspend; + }; +};