From patchwork Thu Feb 21 07:21:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Lo X-Patchwork-Id: 10823225 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9FFA914E1 for ; Thu, 21 Feb 2019 07:23:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 851012FE5C for ; Thu, 21 Feb 2019 07:23:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 795D72FE60; Thu, 21 Feb 2019 07:23:30 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 226162FE5C for ; Thu, 21 Feb 2019 07:23:30 +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=7a7O+6DS0pGslFHcKD399zL4xaOYMR1uLzIm5N3bdW4=; b=hp3SyAXSz7M5jW OR/7yZNt0QrjEgTWjiA8LxS3Lz8SCkqX53RsWEZz82j1VUcwa445BORhSH4omSdwjV4QtXUSmD0OW yv29xpzcopZYJyb9R2OE+g5Abu1Z5w3hkClH3QqB7KYhS1CWLFzWdOvBmFJ3F2Zy/QkoELwTT/jCj celtZdKP9VuoZeWSDwI1/Z2FW2C0RGCk8rwBowto79Wpy5OQCl00mhRYT91HTY9pVdYS7AmgYLIy4 JY+DkWafMU4VdcY4YnQinVObl+zjzDO7drQa2ka+M34SIbOXTh8HbvpmePk/IfocLpnBFRF0WzZdJ lIZw5o1Oo2G2CnTI/nCA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwihb-0007Pt-An; Thu, 21 Feb 2019 07:23:27 +0000 Received: from hqemgate15.nvidia.com ([216.228.121.64]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwigN-0005v4-2f for linux-arm-kernel@lists.infradead.org; Thu, 21 Feb 2019 07:22:12 +0000 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 20 Feb 2019 23:22:09 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 20 Feb 2019 23:22:10 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 20 Feb 2019 23:22:10 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 07:22:10 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 21 Feb 2019 07:22:10 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 21 Feb 2019 07:22:10 +0000 Received: from josephl-linux.nvidia.com (Not Verified[10.19.108.132]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7, 5, 8, 10121) id ; Wed, 20 Feb 2019 23:22:10 -0800 From: Joseph Lo To: Thierry Reding , Jonathan Hunter , Daniel Lezcano , "Thomas Gleixner" Subject: [PATCH V7 7/8] arm64: tegra: Enable CPU idle support for Smaug Date: Thu, 21 Feb 2019 15:21:49 +0800 Message-ID: <20190221072150.4395-8-josephl@nvidia.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221072150.4395-1-josephl@nvidia.com> References: <20190221072150.4395-1-josephl@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1550733729; bh=KRDQj9vXKb5WlKoNng8/9HfzHsIaDhd8WrkgXmcCnjI=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:X-NVConfidentiality: Content-Transfer-Encoding:Content-Type; b=OceaUCzG5OThXNia803Z+ylIPMeCc2SkVbJpCZAyGcS6PWYPCFdK9kkqZo3Zny0wH 1z8Q+LesWyJVf3JCYU/OhXJJBfmBtWuuKyW+QSsYrJF6CuICDWRYr3Z2AZw35fcCux 8fNfoZ1x1Mo9FBou3WZLOPgVrjPoUtJyTh924QSmlv2G2TWPu/0af4SO/qJosIOhWq pdzPx6oTF2wmuUs3NWeOrljsWX7Pei75T4XWjm0Iddd8Pxv3lHOf3LCHd6IfgdCTgZ dqOuCRQCR/r7PGiZTcOf3FthFK1s6n36nVtvF2dwp9+Q8zaY3gBEEAMbbcPTenGRdV CiqLi0T5ODJWQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190220_232211_201882_E160F8EF X-CRM114-Status: UNSURE ( 6.39 ) 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: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Joseph Lo 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 Enable CPU idle support for Smaug platform. Signed-off-by: Joseph Lo Acked-by: Jon Hunter --- v7: * s/c7/cpu-sleep/ v6: * add ack tag from Jon. v5: * no change v4: * no change v3: * no change v2: * no change --- arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts index a4b8f668a6d4..25fd65b5397a 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +++ b/arch/arm64/boot/dts/nvidia/tegra210-smaug.dts @@ -1751,6 +1751,13 @@ cpu@3 { enable-method = "psci"; }; + + idle-states { + cpu-sleep { + arm,psci-suspend-param = <0x00010007>; + status = "okay"; + }; + }; }; gpio-keys {