From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758876AbbFBJK5 (ORCPT ); Tue, 2 Jun 2015 05:10:57 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:42128 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754071AbbFBJKt (ORCPT ); Tue, 2 Jun 2015 05:10:49 -0400 From: Roger Quadros To: , CC: , , , , , , Roger Quadros Subject: [PATCH v2 0/3] phy: ti-pipe3: dra7: sata: allow suspend to RAM (core-retention) Date: Tue, 2 Jun 2015 12:10:39 +0300 Message-ID: <1433236242-26172-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, We fix 2 things here to ensure that PHY clocks are disabled during system suspend. 1) Stop relying on pm_runtime ops to disable our clocks as they don't fit in well with the PHY framework usage scenario. This ensures that all clocks are disabled when phy_exit() is called. 2) Implement workaround for SATA errata i783 (SATA Lockup After SATA DPLL Unlock/Relock) so that we can now turn off sata_refclk to support suspend-to-ram without preventing core-retention. Changelog: v2: - Fixed pcie disable_clocks. Addressed review comments. cheers, -roger Roger Quadros (3): phy: ti-pipe3: fix suspend phy: ti-pipe3: i783 workaround for SATA lockup after dpll unlock/relock ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY Documentation/devicetree/bindings/phy/ti-phy.txt | 16 ++ arch/arm/boot/dts/dra7.dtsi | 1 + drivers/phy/phy-ti-pipe3.c | 217 +++++++++-------------- 3 files changed, 105 insertions(+), 129 deletions(-) -- 2.1.4