From patchwork Mon Mar 6 15:23:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Gerlach X-Patchwork-Id: 9607047 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 17EB1601D2 for ; Mon, 6 Mar 2017 15:45:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 074AF2845C for ; Mon, 6 Mar 2017 15:45:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F01CB28460; Mon, 6 Mar 2017 15:45:01 +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 834F82845C for ; Mon, 6 Mar 2017 15:45:01 +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=5xa7RMmHz9/4rAFPJ9jcmPR+OQfH2sdjWoFuTe+Mlhc=; b=G7yut377wEUHMp KEEfshktptibp39UVjdo5WzFn3O5SApmVaDMC5bU1pahFy+U96JeHEzRFy9dWyAqWi80qX6twf8q+ yhrxm+vhxbY8w9IyP1crMGxkrR2gnruaVlnsRMQVee9Ey8YVauUArP81XPaZ8Af0Iib/HMbIW5UJh B/Z/MXv/uc/YIwkuDnMmLl2bUaucRWmj4Y3T7RtUJ8urS3xPPLRNFHx7b1g/o4BzPi1c26o55tz78 FnQs8gu8aSyKLJ0Q1Qoms6YXpkWkq3xpLTt8+cB/WkwWSwHbDa8jZG180By8XnRyCtcGWEyEc9WAW EygwyZd06ZPpAB03tO+Q==; 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 1ckuog-0002bz-DU; Mon, 06 Mar 2017 15:44:54 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckunt-0002SE-N5 for linux-arm-kernel@bombadil.infradead.org; Mon, 06 Mar 2017 15:44:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xgoMC+LgYtwUnCzX0c2g7aV53zq+uFSxjMTDvRBLcGI=; b=nNACS5jKm1I6ZVylqPRPIaYIx ePF0VpnjfPiCBrL+OeuzB/drd/CN0hlxbuuQdOWGODElbm/BH1hyFfdfypPNiuFT4/eu25NaC8jld sq6lZq0lR5LmIIl0dhUMA4RfRgldingF6xIDByaUeGySqopl9RFLj5iriaImj9OOLAVc6RZoiOLZl FEUksBGaVkfRWOnMdZv7Lak1EONt7SKtZg/UPyNyRU78ZVf913ZsadsZXrj14n2gjGNfk6IZoSPSa /TCwereefi8cfnYaruUwXo5Y9qlBfn++X+HJFBdKp5j/9EDrP34XBxJ5cZ7HNs1LN+YDAn388kI9+ C35EBVcSw==; Received: from fllnx209.ext.ti.com ([198.47.19.16]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ckuWB-0006s1-DJ for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2017 15:25:48 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v26FO7CZ025369; Mon, 6 Mar 2017 09:24:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1488813847; bh=k9qR1pWiHiEoC+YipGwH9/ihLBy3nQRFyoWCFSqhyNk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uWfUlHrk5pwxJLGLdnl+1fTU/WvOIJkh802QzLX62I2wEIiIDlxEalhf4WhJPCmsB S6VH9AwlD5c0IyJLbysr5gsfS2UbCTObeN5dQ5kQXMzTlJN0BU0zOKt7KwwxGLHn6R KgOetAJp9HUOPeOUiBsgKJ8tAfbKshzKlYMwQXrY= Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v26FO2A1005994; Mon, 6 Mar 2017 09:24:02 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Mon, 6 Mar 2017 09:24:01 -0600 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v26FO1md017818; Mon, 6 Mar 2017 09:24:01 -0600 Received: from localhost (uda0274052.am.dhcp.ti.com [128.247.83.19]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id v26FO1306446; Mon, 6 Mar 2017 09:24:01 -0600 (CST) From: Dave Gerlach To: Tony Lindgren Subject: [PATCH 2/5] ARM: dts: am335x-boneblack: Enable 1GHz OPP for cpu Date: Mon, 6 Mar 2017 09:23:39 -0600 Message-ID: <1488813822-26042-3-git-send-email-d-gerlach@ti.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1488813822-26042-1-git-send-email-d-gerlach@ti.com> References: <1488813822-26042-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170306_102547_561733_CF8E2171 X-CRM114-Status: UNSURE ( 8.37 ) 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: Nishanth Menon , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Viresh Kumar , Dave Gerlach , Lukasz Majewski , Yegor Yefremov , Rob Herring , linux-omap@vger.kernel.org, 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 Although all PG2.0 silicon may not support 1GHz OPP for the MPU, older Beaglebone Blacks may have PG2.0 silicon populated and these particular parts are guaranteed to support the OPP, so enable it for PG2.0 on am335x-boneblack only. Signed-off-by: Dave Gerlach Reviewed-by: Lukasz Majewski --- arch/arm/boot/dts/am335x-boneblack.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts b/arch/arm/boot/dts/am335x-boneblack.dts index 77273df1a028..935ed17d22e4 100644 --- a/arch/arm/boot/dts/am335x-boneblack.dts +++ b/arch/arm/boot/dts/am335x-boneblack.dts @@ -15,3 +15,14 @@ model = "TI AM335x BeagleBone Black"; compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; }; + +&cpu0_opp_table { + /* + * All PG 2.0 silicon may not support 1GHz but some of the early + * BeagleBone Blacks have PG 2.0 silicon which is guaranteed + * to support 1GHz OPP so enable it for PG 2.0 on this board. + */ + oppnitro@1000000000 { + opp-supported-hw = <0x06 0x0100>; + }; +};