From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-13.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_PASS,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 19712C10F0E for ; Fri, 12 Apr 2019 17:02:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DD0492082E for ; Fri, 12 Apr 2019 17:02:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aHSvC3yN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD0492082E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=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=XFqybBtS9l/q8MWThKcbB5CwvA8H588NrawWkqhRKok=; b=aHSvC3yNcMl6UX GCFwfU/DChUGilWbtKCzIODog4zxlZ1UbHIJvWd7hAfoIUD2I2fzrJqfTQwiiBiJrDaS/r3dZkOYi Lb7bsuU2ByMl5AKWMvoFvLNWiih5Wv6bx6B69Oas/My1mSe8Mf8Gt1KxjFSvpsnIkEthGFms+doZd ZsC5gBjgqLwNdLQE7BMIz/1v2U2OEYstJu11TYmXw4zNBcevpR9dAqIudOWbZLR8DipwmBS6Om7Lz PhFDZisxc/c1JZbcQnj47kyTUtYQgLFJ+7BlfIW3F3C9tt0rJDbkUmuUzDLiOd0CsXYPUcRmdFsDl MK4Pv6UEancLhHKzbkSw==; 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 1hEzZg-0008U4-KD; Fri, 12 Apr 2019 17:02:48 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEzZK-00084h-Fn for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2019 17:02:28 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id B902A816A; Fri, 12 Apr 2019 17:02:41 +0000 (UTC) From: Tony Lindgren To: arm@kernel.org Subject: [GIT PULL 3/3] pm changes for am335x and am437x for v5.2 Date: Fri, 12 Apr 2019 10:02:07 -0700 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190412_100226_560730_D0E6BB5E X-CRM114-Status: GOOD ( 13.46 ) 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: Tony Lindgren , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "Tony Lindgren" The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.2/am4-pm-v2-signed for you to fetch changes up to 35667d812c38a219ea2dc6f23d33db50de57099e: Merge branch 'omap-for-v5.2/am4-ddr3' into omap-for-v5.2/am4-pm-v2 (2019-04-10 09:06:01 -0700) ---------------------------------------------------------------- PM changes for am335x and am437x This series adds support for am437x RTC-only mode in suspend. In the RTC-only mode suspend, everything is shut down except the RTC. This makes the power consumption very low for suspend mode. To support RTC-only mode, we need to export omap_rtc_power_off_program() from the rtc driver and improve PM code to save and restore the wkup domain context. As RTC-only mode depends on the device being wired properly for things like memory, we need to also check for the machine type before we allow it. We also need to run DDR3 hardware leveling on resume. Note that there is a trivial merge conflict between the RTC branch and these changes where the RTC branch makes tm2bcd() a void function and the error handling parts can be just dropped. ---------------------------------------------------------------- Dave Gerlach (2): memory: ti-emif-sram: Add ti_emif_run_hw_leveling for DDR3 hardware leveling ARM: OMAP2+: sleep43xx: Run EMIF HW leveling on resume path Keerthy (4): rtc: OMAP: Add support for rtc-only mode ARM: OMAP2+: pm33xx: Add support for rtc+ddr in self refresh mode soc: ti: pm33xx: Move the am33xx_push_sram_idle to the top soc: ti: pm33xx: AM437X: Add rtc_only with ddr in self-refresh support Tony Lindgren (1): Merge branch 'omap-for-v5.2/am4-ddr3' into omap-for-v5.2/am4-pm-v2 arch/arm/mach-omap2/pm33xx-core.c | 76 +++++++++- arch/arm/mach-omap2/sleep43xx.S | 3 + drivers/memory/emif.h | 4 + drivers/memory/ti-emif-pm.c | 3 + drivers/memory/ti-emif-sram-pm.S | 41 ++++++ drivers/rtc/rtc-omap.c | 51 +++++-- drivers/soc/ti/Kconfig | 5 +- drivers/soc/ti/pm33xx.c | 273 ++++++++++++++++++++++++++++------- include/linux/platform_data/pm33xx.h | 5 + include/linux/rtc/rtc-omap.h | 7 + include/linux/ti-emif-sram.h | 3 + 11 files changed, 409 insertions(+), 62 deletions(-) create mode 100644 include/linux/rtc/rtc-omap.h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel