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: 115757 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp613497qgn; Fri, 13 Oct 2017 04:26:43 -0700 (PDT) X-Received: by 10.84.173.4 with SMTP id o4mr1089601plb.17.1507894003017; Fri, 13 Oct 2017 04:26:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507894003; cv=none; d=google.com; s=arc-20160816; b=nYWxndNGWIAUQgUyo+ScAJ0FvNAlgNcvNwNB0hJG/t8TwU6+cLN/HDT+KUcdQZlfO+ Ltg5o1twsfYr2aPXIIowKb6b9OU/CSVFzNSUfGS0FGZ1Ca/zFy3V2VfAND2uVGj0hQsB p4sEPgN6xQp3ZAhXEd9Z0dSv/GcUjAgvZsbVYkyliBGEeyjJsejBXC4Fp69V2gXSL6tD ElaAnYN3OcsOYb35fRWeGAyW1oQ2wIEbwN0XXYYXOmWeLygzt/s7LGIZ39CmdPSPPgF/ i0EXatFSXebDtmde8NAkRyBEatw3bpyyOE6DduOTtfhgHtRinMrPrUvbaDiTe17gEsHV uMgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=DjWuopltvBlktCveIHQfx4irT24icJbnQz193IaIzDY=; b=gD6Ve7DIH01htG6uoNvELACop3SYoA9P9pyYti5ObNvzli95UVGQDuj7M8cPnyvgkn lh/9Slb//PPsz0RTCnyBmYu/hxWZ6BLLLC61XgVyzWgs/645S43zXLMim+j3Q4RzJ+N2 MrpJoU0YM+uphvoftue+e3g7WTNcHT4/SXA0RoJNQ1180At70WRSvdtUu34RVGm0uk9Q 9weVfCviltZ09AUrZax7O0szyB2CHiSqfIaPJ+telDZgmsrHGPh/GHsk5Y1hZaM8moNB DS0Rqxvnf0uvzqpwVwV4uj/c/WEz25Hx9vl/cpOhX/Nw3A7XNDavd4EaJm9yL70Hqw0L +MJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=dXOBsSqq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si464000pgn.429.2017.10.13.04.26.42; Fri, 13 Oct 2017 04:26:43 -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 header.s=google header.b=dXOBsSqq; 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 S1751575AbdJML0l (ORCPT + 6 others); Fri, 13 Oct 2017 07:26:41 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:46585 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751607AbdJML0k (ORCPT ); Fri, 13 Oct 2017 07:26:40 -0400 Received: by mail-lf0-f46.google.com with SMTP id g70so9231442lfl.3 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=KchE7DWCw1OBXQaD0GXBbSA6l40p49RgMmRrsnqVkqPknyMPo/KY7ErqIvR10sDCmu 8NxxnQY3MzhmuXAtFlvWCie3KBhc1bdl9w29KKZbWXVGI/R8s21H7/59r2lLhGhoIsZG L53+6zX8MfWXgjAuWv+31e2LRMP5hL4BJkaUB+U6txT5jVHVrdzYyAfHeyQe0L97a26E V0UMKWjxrCCqG+4Gjig4yvjtpQeUFG6ar4KQ5/BrQ/79ak2wVvF926VT9T6Suf0Wx+Q5 Ry3bFJvUBVZD6Et7w5Rt0RwDfYTapuPsozJ0JNSwEZYqzXrCYQG0XJtR7vTYT1SYW031 KSfA== X-Gm-Message-State: AMCzsaVbgKZdfd/up287w+IjacJQ1TXGczwPxAiTqBYePKUGUQ3a8p+h cDC0i78ySfmwBwqG3AOqx+nqkw== 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: 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 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(+) -- 2.13.5 -- 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 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";