From patchwork Fri Oct 13 11:26:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10004279 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 765B660216 for ; Fri, 13 Oct 2017 11:26:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 692872900B for ; Fri, 13 Oct 2017 11:26:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DF5A2902E; Fri, 13 Oct 2017 11:26:42 +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 D52B22900B for ; Fri, 13 Oct 2017 11:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753258AbdJML0l (ORCPT ); Fri, 13 Oct 2017 07:26:41 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:48038 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751575AbdJML0k (ORCPT ); Fri, 13 Oct 2017 07:26:40 -0400 Received: by mail-lf0-f48.google.com with SMTP id k40so9229046lfi.4 for ; Fri, 13 Oct 2017 04:26:40 -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=n9zIFSDpr+bO9dEY66+f9I3TQNbnUDyJSYKUebNsN64=; b=dXOBsSqqGNhOAhYc3wx5t9m0V7EBe21JXxEFtbvoAS3OdmjRFmlTSa6FwtR7aGYUYP uxDS8pDp4hDnmozm2/cwDlX6hO7zGQ63FRW8YCkEtAhI55frEOFnxb+BcGILfq2gk/W3 R1hiH9fWjy+EixZoFHJH1pIuuMP10895AtZOo= 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=n9zIFSDpr+bO9dEY66+f9I3TQNbnUDyJSYKUebNsN64=; b=BEJJppm4Fb8uSNQOPEe9sDzAGffLA7dVt3C8sHBa0dY58qr71KIkdfxekPFaA6eabF aWTbQMW34/+hbFDEstoROWlHIOqw0SKPn0ihY5qL/IXLSEAahWEdPWZLtvrhFEDHoz5n LSGX6inFtz7r6KwA66IoO1L9tfYZjXz3JAipPn6BbSbnBxpkcdWOyNBfGpD21BHwD/4X mOx4H2nydmU5O2s7EsNKpI3GduXjy27qOFCiLanUef5haNUq9oMp0Xp1SdPTFnEZyIZ4 QXSNEjOZpFrhMDQK/h9+B7TwYnR/GcjoeAqGJ30MI7AsMmCURLAYxVcHWmZ/Qb7sslUm ud+w== X-Gm-Message-State: AMCzsaXjkLabODKP+VaX3na8QUUy5mjXImC1/M+8pGEtp077mUMiNe9Q xA5s89YPN6SPv13FoJ1pZHoNVw== X-Google-Smtp-Source: ABhQp+Tu5PpuuAKh3BPDp3byH5QpIp9QIeGyhqHqGeR0obrEd7126Aj1C8eGjfxLjvxcMzrZ9lEezw== X-Received: by 10.46.42.196 with SMTP id q187mr507551ljq.59.1507893999393; Fri, 13 Oct 2017 04:26:39 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id l17sm138406lfe.76.2017.10.13.04.26.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 04:26:38 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH v3] clk: qcom: Elaborate on "active" clocks in the RPM clock bindings Date: Fri, 13 Oct 2017 13:26:35 +0200 Message-Id: <20171013112635.32296-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 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 Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v2->v3: - Collect Rob's ACK. 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 a7235e9e1c97..32c6e9ce64c3 100644 --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt @@ -16,6 +16,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";