From patchwork Wed Mar 22 08:18:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 95703 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp104396obz; Wed, 22 Mar 2017 01:20:15 -0700 (PDT) X-Received: by 10.84.254.68 with SMTP id a4mr44223820pln.57.1490170815620; Wed, 22 Mar 2017 01:20:15 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5si876706pls.60.2017.03.22.01.20.15; Wed, 22 Mar 2017 01:20:15 -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 sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759008AbdCVIUN (ORCPT + 9 others); Wed, 22 Mar 2017 04:20:13 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:34444 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759011AbdCVISs (ORCPT ); Wed, 22 Mar 2017 04:18:48 -0400 Received: by mail-wm0-f44.google.com with SMTP id 196so6815127wmm.1 for ; Wed, 22 Mar 2017 01:18:47 -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=zMbZ3eWFF6P4T9EN0nV49eLdmH6xm8UXkiY8uh3p+dk=; b=TxNu3NgEqYSeYDkWhjlSH9xVq4SsghTDhTPNsbWTfU4YTf/Dl4SUYqMcwmqYr5ptE7 YTqJrXD4gt2vuJVYbx7/dAWKX0Ry1ctx4T1Wp2Bxc+izrBRTNYeujR8u7HYj5mAP00md 7xdEFs00P/UPOpx7vEsFWY7uqvPKwX2p+sTiU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zMbZ3eWFF6P4T9EN0nV49eLdmH6xm8UXkiY8uh3p+dk=; b=Ibqq85twHUw4R9kqjIChxta2nwnzIScgIs8jH0BjPLjJQZezg0vTD9cxwzqg+RxUpY dxUA547JdRp+PgJpHdUHLSr8L+jPs62dTkNYUVGyZSicLhKUFuM3VkLE3d8koxyWktpc 4P78OyoxqttsOSIt7hcZBF+Pped7F8AY4nsHt6WpxIEN16OOJXQMXXOZSUcmUcA+c0Nm 6hMo8K1MKi444I5NETUWcKryp7xlVGMaCBbLWJpRA/hMXmkLwYxyW47FDj13s30qvIzt EomLnbjBuSzgdgYln8lSkJNqN2gTvwter4NXPKOvga3JYG3F1VSfoWXc6NSwZ1cG3jJP mb0Q== X-Gm-Message-State: AFeK/H1SE7j59J88Nqd/0/Ry5CSvMXcAyre00uJjz5zuIgueJcWXtrXrRBRjwjRd13xiF0Hy X-Received: by 10.25.225.79 with SMTP id y76mr9553920lfg.96.1490170726191; Wed, 22 Mar 2017 01:18:46 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id p81sm232464lfd.47.2017.03.22.01.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 01:18:44 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 2/3] clk: qcom: Elaborate on "active" clocks in the RPM clock bindings Date: Wed, 22 Mar 2017 09:18:42 +0100 Message-Id: <20170322081842.20495-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The concept of "active" clocks is just explained in a bried comment in the device driver, let's explain it a bit more in the device tree bindings so everyone understands this. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.9.3 -- 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/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index d470a0187035..cf80a00b7ff2 100644 --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt @@ -18,6 +18,14 @@ Required properties : - #clock-cells : shall contain 1 +The clock enumerators are defined in +and come in pairs: FOO_CLK followed by FOO_A_CLK. The latter clock +is an "active" clock, which means that the consumer only care that the +clock is available when the system is active, i.e. not suspended. If +it is important that the clock keeps running during system suspend, +you need to specify the non-active clock, the one not containing +*_A_* in the enumerator name. + Example: smd { compatible = "qcom,smd";