Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2958314ybh; Mon, 16 Mar 2020 13:00:36 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtoI9IxAjU4t4N6sIjAYw5dQ0+pxNJQJGVAf7q+d28AMNcCDUsufLL3npSVIej7IuTUJ4FB X-Received: by 2002:a05:6830:1087:: with SMTP id y7mr759207oto.342.1584388836633; Mon, 16 Mar 2020 13:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584388836; cv=none; d=google.com; s=arc-20160816; b=C/aHJxdSgNKsD0JHFPX5ZmtXacXZcI6sb7IemN1eHuxw82P67CisiyyksFiJI6Ceac 6+6qv96Uf7i0ayiMI9Mi36I3KKbgPUClLRyBEqv5YYRCoIhuAlf1PFg4AcS3tBSwxvaT 6KnVMLYfZVF2DnDg6Frg6YP2+XPDVbGDTyE5xhhxS/7MPeGTN+hlrUGPSYsdvPKjCxj2 Oms/7fWspbyIsOxyWACQRDeqy0BOVYY+M+82PkhSXVtI72yzybDNDZ3MToyFFptWYyDz NUY6/kK1+q1C7DhfaNNvs1tKQawUOcG1yiaSWgDHnnVq0CTmU5P6oN1h/PhwxQz/EzZT mR0w== 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; bh=0jutu2TrYwknNeBbhpvzrOvPcmG3lvgPL/hDLeN1Qxs=; b=Q9m7Qtz4vo212UUz5UufSWcrkaD47oWzYqxt0nLM58EULxSWpnvqCacdTCkWaL4KOg nVmdkH+OJSW24lyB3p3YOjiV0X35YTsoQvb5LtHXZYIqWBYG6QlruJoKNfT77IVBHoOk W/96C/KYiaDCKjhdFOxEBhZXPLgOMQUXDcqYWPlBPbj2Q0Qq9t88w2ZIvlpY0CldSpdI 1xlELeuOyrO+0Q6mNZ/adgjJBeuP9Jc093g7TKnxUizpyrbaiaacwLrzwsDI9hdaKP+v YZRFs8QyYqLz6g9eIQfoWdBYaBc4N/M4c5e2rVzv2aL6cuzcdgxTSjIvkh74+gzTB+kd hNIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sdwPEF5J; 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 r23si438808otq.255.2020.03.16.13.00.09; Mon, 16 Mar 2020 13:00:36 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=sdwPEF5J; 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 S1732503AbgCPT6N (ORCPT + 99 others); Mon, 16 Mar 2020 15:58:13 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:35802 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732476AbgCPT6N (ORCPT ); Mon, 16 Mar 2020 15:58:13 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1584388692; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=0jutu2TrYwknNeBbhpvzrOvPcmG3lvgPL/hDLeN1Qxs=; b=sdwPEF5JYYpmIvY+1ndJDjIKpG793RznbT+4iQvxl5B/tREo5roHmPPPXZJ0jF2Q1BwY5Srw 1wtBlztx7UdiY/oNclhNP2rV/JPZ2+OPZxIVJpStgDWN5glUZxiFZHq9JhRWzSHB7mVuof4e DhFJr8HSXnyaT0BvofEsm8Ri5TU= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e6fda52.7fbaa5492d50-smtp-out-n03; Mon, 16 Mar 2020 19:58:10 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 5EF4EC433BA; Mon, 16 Mar 2020 19:58:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [192.168.1.9] (cpe-75-80-185-151.san.res.rr.com [75.80.185.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 53466C433CB; Mon, 16 Mar 2020 19:58:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 53466C433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=wcheng@codeaurora.org Subject: Re: [PATCH 2/3] clk: qcom: gcc: Add USB3 PIPE clock operations To: Stephen Boyd , agross@kernel.org, bjorn.andersson@linaro.org, mark.rutland@arm.com, mturquette@baylibre.com, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <1584172319-24843-1-git-send-email-wcheng@codeaurora.org> <1584172319-24843-3-git-send-email-wcheng@codeaurora.org> <158437819409.88485.6326749791923076608@swboyd.mtv.corp.google.com> From: Wesley Cheng Message-ID: <9707b6f5-89d4-9800-bee2-825877b535ac@codeaurora.org> Date: Mon, 16 Mar 2020 12:58:07 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <158437819409.88485.6326749791923076608@swboyd.mtv.corp.google.com> Content-Type: text/plain; charset=utf-8 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 Hi Stephen, Thanks for the feedback. On 3/16/2020 10:03 AM, Stephen Boyd wrote: > Quoting Wesley Cheng (2020-03-14 00:51:58) >> Add the USB3 PIPE clock structures, so that the USB driver can >> vote for the GCC to enable/disable it when required. This clock >> is needed for SSUSB operation. >> >> Signed-off-by: Wesley Cheng >> --- >> drivers/clk/qcom/gcc-sm8150.c | 26 ++++++++++++++++++++++++++ > > Can you please combine these two patches and add sm8150 in the subject? > Sure, I'll combine the two patches into one and include the SM8150 tag in the subject on the next patch series. >> 1 file changed, 26 insertions(+) >> >> diff --git a/drivers/clk/qcom/gcc-sm8150.c b/drivers/clk/qcom/gcc-sm8150.c >> index d0cd03d..ef98fdc 100644 >> --- a/drivers/clk/qcom/gcc-sm8150.c >> +++ b/drivers/clk/qcom/gcc-sm8150.c >> @@ -3172,6 +3172,18 @@ enum { >> }, >> }; >> >> +static struct clk_branch gcc_usb3_prim_phy_pipe_clk = { >> + .halt_check = BRANCH_HALT_SKIP, >> + .clkr = { >> + .enable_reg = 0xf058, >> + .enable_mask = BIT(0), >> + .hw.init = &(struct clk_init_data){ >> + .name = "gcc_usb3_prim_phy_pipe_clk", >> + .ops = &clk_branch2_ops, >> + }, >> + }, >> +}; >> + >> static struct clk_branch gcc_usb3_sec_clkref_clk = { >> .halt_reg = 0x8c028, >> .halt_check = BRANCH_HALT, >> @@ -3219,6 +3231,18 @@ enum { >> }, >> }; >> >> +static struct clk_branch gcc_usb3_sec_phy_pipe_clk = { >> + .halt_check = BRANCH_HALT_SKIP, > > Sad to see that we'll never resolve this. > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project