Message ID | 20210415105010.569620-16-claudiu.beznea@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=z9KK=JM=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CB70C433B4 for <linux-arm-kernel@archiver.kernel.org>; Thu, 15 Apr 2021 10:58:49 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08EE06124B for <linux-arm-kernel@archiver.kernel.org>; Thu, 15 Apr 2021 10:58:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08EE06124B Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8szH7XeQaMsvoG/x2XJNaZwtF2CElGaSQHtJaTsGBBo=; b=WsNWtiojkRValbL/DqYM22ptp hPVZ+ArvlPBc0NMlP/P5K1VErHDDotwgUXPTkUGjcRLL3eA+YEC65HNNMAnMc1nVaFfuFCJClelk/ JstwOXZKAdcq0X8bq89SB6IaaxlQrM50eIRacTNVIo5d+GNcY08JtvPvMHDuFybEg1OF8HNV6g3TS U59Djhcrgp91w1s7uZ++McCVokYEflCt3tRAZuHK9gTDMLK/iAmTlvMROx2daeMRNqwbj/c3bhYfS HeV21X8Z38luoA9j7hKl+Plf5hWs31XSepvBNywF7LPMealQuEnSR7sxNBz3fgMCC8J/T+hE42x+l jnUQpd2SQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWzg6-00FpcT-Bq; Thu, 15 Apr 2021 10:56:54 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzbI-00Fnpo-E6 for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 10:51:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=rwibbWsvn8yP169SuNGfDCqTq09R/H4BqqRdiKW6epw=; b=McW8iQQK87m5dWool/pAfYsUvo t4Y6RrekHl2E9sGPSLRp7dBPDcNbnHmDe6J6pSfPyYuDdKP/q1cCxc43hxS4Khakv951JK/tE8Bsr dW3z++0oHUnpFuT24AQMiy0fLX7l3qKxyMSPApzMCv3isOXe94BgDZ7nuJpx3b+QQVJeg0uOb2D4M QvuxOms33uf76PSFX+thKAVcEA2r8uGYxauCg0h7DtLsLgI0b2Hc6gC1zyKSnwQ+ckYt4jDdtNOm6 uShwF6CrQvrFbSKsMSjJbX47IAK+3Gy4p8EBPvywGxDFm5P7HeMeGwELB0xZKJv+ytp5e5jqEknqJ l21Om1cg==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzbG-008V48-3T for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 10:51:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1618483915; x=1650019915; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4BQZ/iTmn3jDQYiKb3oiGkOU5qXJu63VT3CwhT9FgTM=; b=xDI+qVGVkOvjai/TYG/frxC7i3MgYtJaJnT3f9EQuTUijje7895JpfiX x0G6waV0AfZAjYko0jdw7zo6mtxhjz9OAfSy4EPjNhlnHzKpMqXbJ7b4s 3Ui8XtZVi9NMEbsE/xLk93EHD49F6EbIltS3v1O1e+1lsqGtIjmiPwuhz vK48RsZqe6B8hulXaVB5IXaaCRgl2TKdJLb+V1T+RB3Xz/Shtn1OJuKPs SKEJtRcKGxDB3wYKkaYfDEFo5DjY4C3qePtD6KvTw9sfUXOzovu/dc0qT /lsn6i32JhW1/rqBko8e6NXjnohEhXV+8AIKkZL97C3SrDy8cI0cW+rmm g==; IronPort-SDR: s5AC5j6B3JNz2YhE4jIjdcCOy7+Civ7Jxx0JGuTan9EQyBYarskLhfsLXnU3u0bqRjq+VzxLuH 0TlgcHJG3bvbAmJ+lfbSTV0m9baFwsi+SAmY58xiiJsht+hwkmAjFLlPWOIaZ/PuoHFlEr+SWi DRlcwh+Zi8wABXmWPs7o212v5uU4iTGa46HJgEuV3D2sb/12njx4TJ5Wen55ydFiFmwkHzeK23 mb41w4NwDvWHSWJnYNk0bzbrNfbyXFqNB1qjmukHn2tAoQJmWJnUT8o7PeKGW0cDl5Y+8J4IWs 7hU= X-IronPort-AV: E=Sophos;i="5.82,223,1613458800"; d="scan'208";a="116551742" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Apr 2021 03:51:54 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 15 Apr 2021 03:51:53 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Thu, 15 Apr 2021 03:51:46 -0700 From: Claudiu Beznea <claudiu.beznea@microchip.com> To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <ludovic.desroches@microchip.com>, <robh+dt@kernel.org>, <linux@armlinux.org.uk> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Claudiu Beznea <claudiu.beznea@microchip.com> Subject: [PATCH v3 15/24] ARM: at91: pm: wait for ddr power mode off Date: Thu, 15 Apr 2021 13:50:01 +0300 Message-ID: <20210415105010.569620-16-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210415105010.569620-1-claudiu.beznea@microchip.com> References: <20210415105010.569620-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_035154_171213_A4B4D904 X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: at91: pm: add support for sama7g5
|
expand
|
diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S index 9c9e08fd8300..7396e18dd7e5 100644 --- a/arch/arm/mach-at91/pm_suspend.S +++ b/arch/arm/mach-at91/pm_suspend.S @@ -980,6 +980,11 @@ ulp_exit: mov tmp1, #0x1 str tmp1, [r0, #0x10] + /* Wait for it. */ +1: ldr tmp1, [r0, #0x10] + tst tmp1, #0x1 + beq 1b + /* Shutdown */ ldr r0, .shdwc mov tmp1, #0xA5000000
Wait for DDR power mode off before shutting down the core. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> --- arch/arm/mach-at91/pm_suspend.S | 5 +++++ 1 file changed, 5 insertions(+)