Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6175521yba; Wed, 1 May 2019 07:22:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0enD5xS/ym42LezCuFMQIiMv0h2cCOR0FwgGepdhDJkgKVLr+Mr95BbtNZCtwWxgX4tOW X-Received: by 2002:a17:902:7d91:: with SMTP id a17mr77310001plm.338.1556720534360; Wed, 01 May 2019 07:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556720534; cv=none; d=google.com; s=arc-20160816; b=pbIY1h/iCKLVywqqUBUEcKC44LphyiaWUKT4bV+ddUl6kQfYCLklFk3fF+EVt35k93 BuJnLI3ZfLuWgc7fD75Dy1KwzkG5sPUkaPtfCWHFT5hIRuymeZjOpg9O+ajP1jo5YGZD wJ7hb7vOYNCPULLTc2QGMfCa9Qw2NTUJfOzp9EG4hYTTFXbrN8iQ/5/siZ8TVeWJEVot 5hFujuCrST6VCow8OecjzrZs2WjE4zmOgDz96yXbaA4QFrVUZrhkpidmZFf5YDgZXVO2 2o62IWBTz9WoApcGv+zGnkG358tMEoMod10kybOuoOZY3ZmqTT622PF+MiCNfgCbMaFW tpsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=ede81XA/XGfG6SEX75o2NlqxWS4waubzkJXr/+/bwhw=; b=tSmPpTYTQK1/BTaxC2MPLaCcEpos4QMw7MkA96TSMvTzTFHVRc1T1KCfEaxMVzGv8N v2Wi6/RtqAOiodHa7LjIpRarxsA11EhfQ4fgTgOKbh9IzDECdVp+1tnaLMJhoCL571bK uz2/o4R3pgwpsQoc3i9vFxkls/tSlVxJcgFgCAdO4C/x+WuOvnjYqTvr3CornoXQiDYL Lx5k6qN4wp/XWKQ08+4J2EgPwLY81qZEQUMwfxyfIOLbB29r8dEyictMjGu8+PoZqlMs rJY2jsrzVJvBvyxP+a1xv8dK0Sc+mc0enDOAt/IjTBRwvlgS1D1w0WGCpgzmox0bnQHH 5RwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="WFZP/jMk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=j11ayQuR; 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 d2si38015700pgv.22.2019.05.01.07.21.58; Wed, 01 May 2019 07:22:14 -0700 (PDT) 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="WFZP/jMk"; dkim=pass header.i=@codeaurora.org header.s=default header.b=j11ayQuR; 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 S1726610AbfEAORN (ORCPT + 99 others); Wed, 1 May 2019 10:17:13 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57958 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbfEAORN (ORCPT ); Wed, 1 May 2019 10:17:13 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A11AD60452; Wed, 1 May 2019 14:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1556720231; bh=d6UUKM7/SG8Hy+mLxnm6Mk0DPCGJl1FTJg3uSxE3ecU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WFZP/jMkk8dr94XkDB0jzb9l/YW4WlvFQSUVwwUxP4thdC3KQsymridmRG9kL387n 6gr9pnFcjObbGHnUuwWl9UIVW3dkX5sX324dhtkdMm3Hla6rpE7+R8jI7E7NF9CP8v XPYrlsiiMqM9kc9DhJwSsp6fbSxzTu9A2u7tggVw= 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 autolearn=no autolearn_force=no version=3.4.0 Received: from [10.226.58.28] (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 745BE602F8; Wed, 1 May 2019 14:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1556720230; bh=d6UUKM7/SG8Hy+mLxnm6Mk0DPCGJl1FTJg3uSxE3ecU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=j11ayQuR2WWeXLjnF2qzTelbpemno5LaE5FmMR5ThsiM+sSohRMyhZKv+n1WDeRTB oTg+DPEeba189RF6FvTjTmnisqU5IovRKLRJ4yuq/knAyXxqRDK4ACSWni6LhyihD9 fVichSYoX4sdm77M0bcC36ps6b0T5L7Ez3iGwDyQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 745BE602F8 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 Subject: Re: [PATCH v3 1/6] dt-bindings: clock: Document external clocks for MSM8998 gcc To: Bjorn Andersson Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, agross@kernel.org, marc.w.gonzalez@free.fr, david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <1556677404-29194-1-git-send-email-jhugo@codeaurora.org> <1556677473-29242-1-git-send-email-jhugo@codeaurora.org> <20190501033430.GB2938@tuxbook-pro> From: Jeffrey Hugo Message-ID: <807e0789-6a7d-28b5-2811-df8e7e4ae393@codeaurora.org> Date: Wed, 1 May 2019 08:17:09 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.0 MIME-Version: 1.0 In-Reply-To: <20190501033430.GB2938@tuxbook-pro> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/30/2019 9:34 PM, Bjorn Andersson wrote: > On Tue 30 Apr 19:24 PDT 2019, Jeffrey Hugo wrote: > >> The global clock controller on MSM8998 can consume a number of external >> clocks. Document them. >> >> Signed-off-by: Jeffrey Hugo >> --- >> Documentation/devicetree/bindings/clock/qcom,gcc.txt | 10 ++++++++++ >> 1 file changed, 10 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.txt b/Documentation/devicetree/bindings/clock/qcom,gcc.txt >> index 8661c3c..7d45323 100644 >> --- a/Documentation/devicetree/bindings/clock/qcom,gcc.txt >> +++ b/Documentation/devicetree/bindings/clock/qcom,gcc.txt >> @@ -28,6 +28,16 @@ Required properties : >> - #clock-cells : shall contain 1 >> - #reset-cells : shall contain 1 >> >> +For MSM8998 only: >> + - clocks: a list of phandles and clock-specifier pairs, >> + one for each entry in clock-names. >> + - clock-names: "xo" (required) >> + "usb3_pipe" (optional) >> + "ufs_rx_symbol0" (optional) >> + "ufs_rx_symbol1" (optional) >> + "ufs_tx_symbol0" (optional) >> + "pcie0_pipe" (optional) > > The optional clocks here comes from hardware blocks that in turn depends > on the gcc, so we would need to resolve them lazily (in contrast to xo). > > We typically don't list these in DT, but if this is close to the > complete list of incoming clocks then I like the explicitness of it. I reviewed the hardware documentation, and this is a complete list, except for some "aud_ref_clk" which I can't tell exactly where it comes from, and I see no use for it. As near as I can tell, this list should cover all the needs going forward. > > Reviewed-by: Bjorn Andersson > > Regards, > Bjorn > >> + >> Optional properties : >> - #power-domain-cells : shall contain 1 >> - Qualcomm TSENS (thermal sensor device) on some devices can >> -- >> Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. >> Qualcomm Technologies, Inc. is a member of the >> Code Aurora Forum, a Linux Foundation Collaborative Project. >> -- Jeffrey Hugo Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.