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: 9638217 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 4C87D60329 for ; Wed, 22 Mar 2017 08:20:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A8E027317 for ; Wed, 22 Mar 2017 08:20:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 290F6283F3; Wed, 22 Mar 2017 08:20:24 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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 BA8BA27FA8 for ; Wed, 22 Mar 2017 08:20:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758920AbdCVIUN (ORCPT ); Wed, 22 Mar 2017 04:20:13 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:34444 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759010AbdCVISs (ORCPT ); Wed, 22 Mar 2017 04:18:48 -0400 Received: by mail-wm0-f43.google.com with SMTP id 196so6815125wmm.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=PPr/n7iddCI9bQDp8Wy7xJhIaHRgBt+aezUKH2RRslEV8qvO2enUz7TvrOZVhqmaD7 UBf+k+ZOipbAJq5A9vqvUw8YPO4NMKEgCLBWEp+OQePJ0LaA7V6iUmkCYonVBR4EcYxN xjHKs+RIO8EhXhNjVJPNbcR6FH2OB60bl7/ar1YgkM6Z1DtFNU/LTBsbPYgR8w3paUu3 ZJw8tuc3iX2E4qiUo7xOzcPQVk55MFeDvS5QzOXslgQfGu2ZZHX1HshBOdDmf8gFWmdG uoVvtv+FuyzFcPimmhHbMiZMiUc1HBn7qGWRoEB2J+VM2QF4pjFLuBKiX589JM9XEZkX ZM8g== X-Gm-Message-State: AFeK/H223ZBWfBk3C79g/VUhtf5ey9yR3RrK/J9fionkwlirVczBnPXcYQpcy6n8Eg/Cpdl9 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-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 --- 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..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";