From patchwork Thu Mar 31 13:50:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 64789 Delivered-To: patches@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp169784lbc; Thu, 31 Mar 2016 06:50:31 -0700 (PDT) X-Received: by 10.25.21.231 with SMTP id 100mr6657848lfv.146.1459432231874; Thu, 31 Mar 2016 06:50:31 -0700 (PDT) Return-Path: Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com. [2a00:1450:4010:c07::22e]) by mx.google.com with ESMTPS id e187si5449394lfg.36.2016.03.31.06.50.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 06:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22e as permitted sender) client-ip=2a00:1450:4010:c07::22e; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::22e as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x22e.google.com with SMTP id e133so60069759lfe.3 for ; Thu, 31 Mar 2016 06:50:31 -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; bh=VwoxAAZNht6zoH+LYjSSajje77SU+Cp2oEhh+HobMDY=; b=NvZAtcLSWdrS5jDNo+4sAXTC9noXOv8UK9MHsaRyy3iv3E5Qs0fXOAEzFTTnj9TxFB clZQXhR5/wx2uO/rEVMhCeWEy4OdhICviuohqagzfzPzYf023FKgeB68iSBMcfo/mug9 qn+SkoFeCMgVYkb4+uMUNVwzuZxQNJtUf1sWE= 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; bh=VwoxAAZNht6zoH+LYjSSajje77SU+Cp2oEhh+HobMDY=; b=IyNtp2qAd9AzdNSawxw1f0vEWxoWzP89f1pGUOsLuCLBXQmaNgZ0rbNRyvnAlcen7a 3ZWKEJXipfVXlGG6hNJUhXC6sDR2N/5Alk+78CwyryrddSaFrLLAsJiOvqfIrVJNy21l ZwAESjHlvOtVC4a1u9kL4Rstv9vITcjNvtgf2FFAQe3dZP14qouKiPUQ8wsU7D9A462b IYW6tF50KU0PKhInIeHBFHtv+wgOix8mJHE1IHg59XdGTFmHbwTtRADc4KoB0jAKKENp 531n6WUR6spH7y09kJ54sin+0i8TuKhLQ1yrmJuUd+rIx+P0xAT8M/n4BCweqIsFyPbu 03Ug== X-Gm-Message-State: AD7BkJKguCL6VPjKi4GI5/zGr27EE2Iqludd0vBx352e8Bkg8c24aPrRkTSF3Iu8M+VikvI0iro= X-Received: by 10.25.82.65 with SMTP id g62mr6693234lfb.142.1459432231660; Thu, 31 Mar 2016 06:50:31 -0700 (PDT) Return-Path: Received: from uffe-Latitude-E6430s.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id iy8sm1336622lbc.20.2016.03.31.06.50.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 31 Mar 2016 06:50:30 -0700 (PDT) From: Ulf Hansson To: "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , Rob Herring , linux-pm@vger.kernel.org Cc: Len Brown , Pavel Machek , Geert Uytterhoeven , Lina Iyer , Axel Haslam , Marek Szyprowski , Jon Hunter , devicetree@vger.kernel.org Subject: [PATCH 1/2] PM / Domains: Define DT bindings for PM QoS device latencies Date: Thu, 31 Mar 2016 15:50:25 +0200 Message-Id: <1459432226-22562-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 PM QoS device latencies are properties of the hardware. Let's define some DT bindings for them. Suggested-by: Geert Uytterhoeven Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/power/power_domain.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 1.9.1 diff --git a/Documentation/devicetree/bindings/power/power_domain.txt b/Documentation/devicetree/bindings/power/power_domain.txt index 025b5e7..b101a20 100644 --- a/Documentation/devicetree/bindings/power/power_domain.txt +++ b/Documentation/devicetree/bindings/power/power_domain.txt @@ -65,12 +65,18 @@ Required properties: - power-domains : A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. +Optional properties: + - suspend-latency: Suspend latency of the device in ns. + - resume-latency: Resume latency of the device in ns. + Example: leaky-device@12350000 { compatible = "foo,i-leak-current"; reg = <0x12350000 0x1000>; power-domains = <&power 0>; + suspend-latency = <250000>; + resume-latency = <250000>; }; The node above defines a typical PM domain consumer device, which is located