Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3047714ybx; Fri, 8 Nov 2019 13:14:51 -0800 (PST) X-Google-Smtp-Source: APXvYqyuJWt+LQMup3/Yyt/tg9Oc31EOhgFC135CtdBkMq81G84NPRAvfJXXvdpX595kEQ/cuJfD X-Received: by 2002:a17:906:1982:: with SMTP id g2mr10955994ejd.254.1573247691423; Fri, 08 Nov 2019 13:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573247691; cv=none; d=google.com; s=arc-20160816; b=qgYjkXfbOXnPUfBgps01JnR6Un38fh2AmnJoeWTs0rAv4XrMnL4HYfx295ptU7Svho lHIbsKyx9BKVB5zjYLFReFh5E53ToG+0QhXNxA02TvTmqsc2WEiZBwexnU7DPZDDM0zA pOuQFi25zmQJRQhKLX5gD2MOogcZGCDMcRgT3NfGf1Yus2tTdQpJbH32q2TqpwdsJ5tY fjE/mGjvCz/HiVlEVly6t8jNXx4CMa2wya9UnCN2eGxT4Be0WJFzbx2xncWx+q3bDccO ZGIMMRUr8/f47hhJ6vc2voWubBaJ5gmTStbY3bU/nkw/HP5M/QNVme/ObCblDeVzLKY9 UgQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature; bh=48Lz3HsghdocIc680csUc87U7f9BXoCXYlSmcFgCatA=; b=aWYCjwYQ8bavHWHjeonM5no2CIUolVvU9OPKWRJhQH8FUPSnLNWm9LCPKEXObEzv6D DIjh8HN1Y+40obVvEuygXXx2KsEWCUQ9iduc+zZbqQ4CavfUNVlQ5WEcLoze4A1xtnM3 kYkOxn5I1sF7gTIjIoRPj9cmXoJeTinA0Xlls+EgqYEi8ou9D5OGY/ZoaT8TYHoeP7D6 R+fzOFJzZQOCEkojooxcTymI+YnhYUCG0Rhb1sMW7rR2LkoOQzVAceswdFIV78zPI1bM mYcvYld7SWEsnm8tC0KNBys8R46HPXX+/nczOACEOCUtWdmCOP6g810QF/ZnHg8sZGWn o4WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="Xe/gL0fX"; dkim=pass header.i=@codeaurora.org header.s=default header.b=S+dMcuDF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si4703323eda.160.2019.11.08.13.14.27; Fri, 08 Nov 2019 13:14:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="Xe/gL0fX"; dkim=pass header.i=@codeaurora.org header.s=default header.b=S+dMcuDF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732147AbfKHVMN (ORCPT + 99 others); Fri, 8 Nov 2019 16:12:13 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33656 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731366AbfKHVMM (ORCPT ); Fri, 8 Nov 2019 16:12:12 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 3CE1E61287; Fri, 8 Nov 2019 21:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573247531; bh=kIPutEfqgY7Kz4haUaBk0dPvawxBf8Awq+g288SKpvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xe/gL0fX96JCsVAFTSGDIzGbZ9fOwwTCpyXB0MPT4QJe12iUM/IbD6UE/8WtFuPjB 0MZvH57JIA+iyrI0VAyIHEuInyDmkWih5Gk0rPHHtGSgkRY1JkfzWMauHUg1OooiF/ he2xIiqWUT71pa8MXhSo7G9QIVt0TPxevFsVj+P0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E599A60D9B; Fri, 8 Nov 2019 21:12:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1573247530; bh=kIPutEfqgY7Kz4haUaBk0dPvawxBf8Awq+g288SKpvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S+dMcuDFKLn0K5FLaavuAd3FR9kGGgfbe7iyiJ/dcFlFC7GXT5YwcjzxG1f92mveP Z2OrJZS5Mw0hpkO0UfCCIvyyLxbHA7FDGr2VS+v+3EqOnIssowuCwP1brXTmDxBX4I v63D3i9RDV2rNqA5Nua9jzqc6sqO+lpZrEHvdFHM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E599A60D9B Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: agross@kernel.org, bjorn.andersson@linaro.org, marc.w.gonzalez@free.fr, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jeffrey Hugo Subject: [PATCH v7 1/6] dt-bindings: clock: Document external clocks for MSM8998 gcc Date: Fri, 8 Nov 2019 14:11:58 -0700 Message-Id: <1573247518-19801-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1573247450-19738-1-git-send-email-jhugo@codeaurora.org> References: <1573247450-19738-1-git-send-email-jhugo@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The global clock controller on MSM8998 can consume a number of external clocks. Document them. Signed-off-by: Jeffrey Hugo --- .../devicetree/bindings/clock/qcom,gcc.yaml | 47 +++++++++++++------ 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml index e73a56fb60ca..2f3512b6a035 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml @@ -40,20 +40,38 @@ properties: - qcom,gcc-sm8150 clocks: - minItems: 1 - maxItems: 3 - items: - - description: Board XO source - - description: Board active XO source - - description: Sleep clock source + oneOf: + #qcom,gcc-sm8150 + #qcom,gcc-sc7180 + - items: + - description: Board XO source + - description: Board active XO source + - description: Sleep clock source + #qcom,gcc-msm8998 + - items: + - description: Board XO source + - description: USB 3.0 phy pipe clock + - description: UFS phy rx symbol clock for pipe 0 + - description: UFS phy rx symbol clock for pipe 1 + - description: UFS phy tx symbol clock + - description: PCIE phy pipe clock clock-names: - minItems: 1 - maxItems: 3 - items: - - const: bi_tcxo - - const: bi_tcxo_ao - - const: sleep_clk + oneOf: + #qcom,gcc-sm8150 + #qcom,gcc-sc7180 + - items: + - const: bi_tcxo + - const: bi_tcxo_ao + - const: sleep_clk + #qcom,gcc-msm8998 + - items: + - const: xo + - const: usb3_pipe + - const: ufs_rx_symbol0 + - const: ufs_rx_symbol1 + - const: ufs_tx_symbol0 + - const: pcie0_pipe '#clock-cells': const: 1 @@ -118,6 +136,7 @@ else: compatible: contains: enum: + - qcom,gcc-msm8998 - qcom,gcc-sm8150 - qcom,gcc-sc7180 then: @@ -179,8 +198,8 @@ examples: clock-controller@100000 { compatible = "qcom,gcc-sc7180"; reg = <0x100000 0x1f0000>; - clocks = <&rpmhcc 0>, <&rpmhcc 1>; - clock-names = "bi_tcxo", "bi_tcxo_ao"; + clocks = <&rpmhcc 0>, <&rpmhcc 1>, <0>; + clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; #clock-cells = <1>; #reset-cells = <1>; #power-domain-cells = <1>; -- 2.17.1