From patchwork Wed Apr 19 09:13:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 97613 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp229316qgf; Wed, 19 Apr 2017 02:13:49 -0700 (PDT) X-Received: by 10.98.133.145 with SMTP id m17mr2057209pfk.51.1492593229151; Wed, 19 Apr 2017 02:13:49 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si1875942plk.180.2017.04.19.02.13.48; Wed, 19 Apr 2017 02:13:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1761459AbdDSJNr (ORCPT + 7 others); Wed, 19 Apr 2017 05:13:47 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:32885 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761160AbdDSJNn (ORCPT ); Wed, 19 Apr 2017 05:13:43 -0400 Received: by mail-lf0-f45.google.com with SMTP id 88so8963852lfr.0 for ; Wed, 19 Apr 2017 02:13:43 -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=PgETqM952biaqqfvaIoAE4aJdUmy1SCZZ9C+fbnKP+A=; b=bs+NfVxMpnJ6BnPBLaA/9CfgLqwh2ZDlnht3rNScrLvG0K/E+tLiUI8+L7fJiWoBRE ivleoLtzs4VaNjiWytWfR8E3bTsxVcnXp8gphXK/oXyyfpJZQYB9lpjmA4Lu+LUokpLv zZmVlzewY00VthBwVowQf/vzwmdNv3jgeC79I= 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:in-reply-to :references; bh=PgETqM952biaqqfvaIoAE4aJdUmy1SCZZ9C+fbnKP+A=; b=QJhS+OQMhzFQJ4lwGXGnOMh5282RDDn9POQ/Sbb0SUNA/veEgc5KtCNSH//Tac072h 4as6IHbCj4j7PH8TjzYWAjXeqDwUFZA9jVuXRXV3C7OV2AGhtZHJ0dCyL0LvqgE+n0Qp 4sKeoXtV3sdde/vLclqhL50tU4TOUdwy9Fkl5K+jx1yddBXempX0v5g4TC5Matee/hpG aZo1VNvWm2nfUoUf0shoHg+rGHraFdgrMZ0Hq/g2a2w0d82ircYuiTLL2rebmCZ+pA5g dTmdn7o4ZR5x3hX13mSZhKm06clrnoef+PHdQpzrpiUnrclIU0yCKLmQW2P48YGu0gN8 UZ0Q== X-Gm-Message-State: AN3rC/6cBcEQcHBYBKCinRjL2IVcN0OchvdWusj2BpeT7tgJe3K45jqh ctVfciTK0UWrnlgy X-Received: by 10.25.196.133 with SMTP id u127mr742000lff.88.1492593222273; Wed, 19 Apr 2017 02:13:42 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q123sm303230ljb.18.2017.04.19.02.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 02:13:41 -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/5 v2] clk: qcom: Elaborate on "active" clocks in the RPM clock bindings Date: Wed, 19 Apr 2017 11:13:23 +0200 Message-Id: <20170419091326.11226-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170419091326.11226-1-linus.walleij@linaro.org> References: <20170419091326.11226-1-linus.walleij@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 --- ChangeLog v1->v2: - Reword slighty in accordance with Stephens feedback. --- 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 devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Rob Herring diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index d470a0187035..833a89f06ae0 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 apps CPU subsystem is active, i.e. not +suspended or in deep idle. 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";