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: 10115643 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 5624B60327 for ; Fri, 15 Dec 2017 17:18:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A9282A083 for ; Fri, 15 Dec 2017 17:18:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2F16B2A0BD; Fri, 15 Dec 2017 17:18:25 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE52C2A083 for ; Fri, 15 Dec 2017 17:18:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755419AbdLORSX (ORCPT ); Fri, 15 Dec 2017 12:18:23 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:21774 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361AbdLORSW (ORCPT ); Fri, 15 Dec 2017 12:18:22 -0500 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 CC: , , , Dave Gerlach 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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; + }; +};