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: 9687097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8FD4160375 for ; Wed, 19 Apr 2017 09:13:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8157C28342 for ; Wed, 19 Apr 2017 09:13:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76370283E2; Wed, 19 Apr 2017 09:13:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 18B2C28342 for ; Wed, 19 Apr 2017 09:13:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761455AbdDSJNr (ORCPT ); Wed, 19 Apr 2017 05:13:47 -0400 Received: from mail-lf0-f45.google.com ([209.85.215.45]:34827 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761055AbdDSJNn (ORCPT ); Wed, 19 Apr 2017 05:13:43 -0400 Received: by mail-lf0-f45.google.com with SMTP id 75so8933144lfs.2 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=PknnfHzxo8AZlsW4LYLN1TgvDy60jYwhVfXtVNP99Q4Ub+g/FHfQoaS3OietZ0dL2T I00UY/dOT9U4dhNwXyg0LsueDmrqSvHwTWCkbxDxFT96TpqqzKCEUJOSd7t6nENZyKCC Y04tzgDuOCeuaNj5JNINWyLVWpZE9QaIfdXbR9pNK+PdHXbwpxi7Qpb1Y1YBHqy8UC7T 11XRpUgvLsQjgDD3HI5RT+OVJTt8y25l/D8n63xnaBDrZTdLzJ5QFtC9YnuOam0VyI3+ YCQvbdH18yGNGlgYnpDjgqWQUpvdOWgbr8OQ0c3U/d4YI6CkhZFyw7ZF1Vif+2YT7Lsj +8eA== X-Gm-Message-State: AN3rC/6ZyPyIOcafN1E+0By7ETmW1gM+JtS4WvW7DIyfY7R2LxSp/Ypa K4K86ytXBynr/4wv 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: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Rob Herring --- ChangeLog v1->v2: - Reword slighty in accordance with Stephens feedback. --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 8 ++++++++ 1 file changed, 8 insertions(+) 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";