From patchwork Fri Oct 14 17:47:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lina Iyer X-Patchwork-Id: 77685 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp401713qge; Fri, 14 Oct 2016 10:48:27 -0700 (PDT) X-Received: by 10.66.22.105 with SMTP id c9mr12436497paf.56.1476467307464; Fri, 14 Oct 2016 10:48:27 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i5si19376328pfe.24.2016.10.14.10.48.27; Fri, 14 Oct 2016 10:48:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932249AbcJNRsW (ORCPT + 9 others); Fri, 14 Oct 2016 13:48:22 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:35109 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932417AbcJNRsU (ORCPT ); Fri, 14 Oct 2016 13:48:20 -0400 Received: by mail-pf0-f179.google.com with SMTP id s8so52673070pfj.2 for ; Fri, 14 Oct 2016 10:48:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=l+crD+IkVtaBToE68+JLi58sMwSO2JDHEusl76vfUwg=; b=Cv2NT4ASTY6v3XpPAwNN5BXDwRkZTPObhx/pKuUmgYbpLz+N/4cR09MNF9gPSPa6DZ IOSXulXBGwbmgA+GQNocDLqiIZWEspOvttUtl7vofJv6Vw5TLQOis6onm3GrAS5vdL0E iwHi/w+6tOceZ6KeF6rcsUDRN1eRAgm2mbfgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=l+crD+IkVtaBToE68+JLi58sMwSO2JDHEusl76vfUwg=; b=TgyD+JL+CKLcF8Ipa7Yrje/K8dJ7b3DejrwSrnalXTS+qNbUqoEB0Agzmv2/wQXOge t0QMoEWBDJAwJ71xFFWK85SwnRg2vvgFTXjQuhWoRLK/ej2PPoclq2eFJLhQljYb3RMs kf1BrW3ShqQJfTYKlV1/D+aN6ohCWTHWJYUwCa3sVSOWalAbA1XnobAjqbVr0kPSVjTO jePx+lcL+mJ+5oPxJkGh2geY+pdnOiBSeaWvk5Qn9M/ZIqRGl+/XDEV7L3fdBdcFJOao /7GUsqdRZltn82OgTniXC1Wy1DLUPZojrPIen2IBM67pQnQgL9u7Lht7rvNz1Bf1lk9o YS9A== X-Gm-Message-State: AA6/9RkNcQqdVxw4bCcfDeAYiIs6jrFQE8vDW8mFqjJ8G5jRXi3znGgcUvktWgjoKUiVMRH7 X-Received: by 10.98.131.71 with SMTP id h68mr19965239pfe.166.1476467300059; Fri, 14 Oct 2016 10:48:20 -0700 (PDT) Received: from ubuntu.localdomain (i-global254.qualcomm.com. [199.106.103.254]) by smtp.gmail.com with ESMTPSA id q12sm6725466pfd.7.2016.10.14.10.48.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Oct 2016 10:48:19 -0700 (PDT) From: Lina Iyer To: ulf.hansson@linaro.org, khilman@kernel.org, rjw@rjwysocki.net, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: andy.gross@linaro.org, sboyd@codeaurora.org, linux-arm-msm@vger.kernel.org, brendan.jackman@arm.com, lorenzo.pieralisi@arm.com, sudeep.holla@arm.com, Juri.Lelli@arm.com, Lina Iyer Subject: [PATCH v3 8/8] PM / doc: Update device documentation for devices in IRQ safe PM domains Date: Fri, 14 Oct 2016 10:47:56 -0700 Message-Id: <1476467276-75094-9-git-send-email-lina.iyer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476467276-75094-1-git-send-email-lina.iyer@linaro.org> References: <1476467276-75094-1-git-send-email-lina.iyer@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Update documentation to reflect the changes made to support IRQ safe PM domains. Signed-off-by: Lina Iyer Acked-by: Ulf Hansson --- Documentation/power/devices.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/power/devices.txt b/Documentation/power/devices.txt index 8ba6625..0401b53 100644 --- a/Documentation/power/devices.txt +++ b/Documentation/power/devices.txt @@ -607,7 +607,14 @@ individually. Instead, a set of devices sharing a power resource can be put into a low-power state together at the same time by turning off the shared power resource. Of course, they also need to be put into the full-power state together, by turning the shared power resource on. A set of devices with this -property is often referred to as a power domain. +property is often referred to as a power domain. A power domain may also be +nested inside another power domain. + +Devices and PM domains may be defined as IRQ-safe, if they can be powered +on/off even when the IRQs are disabled. An IRQ-safe device in a domain will +disallow power management on the domain, unless the domain is also defined as +IRQ-safe. The restriction this framework imposes on the parent domain of an +IRQ-safe domain is that it must also be defined as IRQ-safe. Support for power domains is provided through the pm_domain field of struct device. This field is a pointer to an object of type struct dev_pm_domain,