Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1216541ybb; Fri, 10 Apr 2020 20:57:26 -0700 (PDT) X-Google-Smtp-Source: APiQypJgb/yigYn5Y6B/Tvxz28m+Iif6Iv5oSlXfxt4+O+TV6OFyML+Rm/+mkmTL73yqaG5/9BUo X-Received: by 2002:ac8:4e8e:: with SMTP id 14mr2150867qtp.3.1586577446864; Fri, 10 Apr 2020 20:57:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586577446; cv=none; d=google.com; s=arc-20160816; b=eZ29Qfvi3hGy24Vm6UOrpuyzWComcuOM4fcQon0iTyXV7326l9m2GMrl9qagpInNbq yrTEbAfj3tFX2STcceEBbWYIulAJjkg4+jJ21jVb6MQvz6b67gtpv26RZSFh8oaBR4Ls zlHQLhFdNJKtJO3xKi6zGFSvp33lnitWrcBILXjiiD+3JiuxeN7JhOQkdfOMJJSD2sxy IC3NyIgk8ExaATFH0t+p+q/fWxKVV4YbVQrO9nzet93/QykF4Pj4kKxLON5WYcycKVNu LWT515qAdBGsYpReH35uGi3LJ9R8bBhBlu5VpI/l+IGKnc+dTM/qk+UYvrI+kNRcVyr2 LgXA== 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=oalPl2CS9AIelSHim6uYF/0X3b0FIeVCWAC33NxRrxg=; b=mJeTQc4SfmerAyLu8hjTzVsidV1cOr9/nb0Ghm/n/1UJtk7le+NvUmxNnYwcrTQdyT Hg69oKaXPqujLZcoNm1HimeElVzSIRZ8MUCQZyfUERDlzpaMMkbmGIGmvi5QxmgWYCTW Bhqd4Y6oohA4IBgITRdfxW0ErC1oZHUswg6+5Oz4gzAjsS1wfNYdlT3wtAfXXTskMX38 Xl3RpeJfLxDGZz2epG+znbqR8Ftk2EKAQKS1Z3L4SlNTLYE7fXe0/AbPPec1I6caNrXs 3OQXkydEJR1lU4qCukGrKzl/Kzd6u+JmCuvkZFk+5eqD+jVFTeR9U7Z2KpMP/u40B0Ej GWMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=usElmaln; 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 m129si2397219qke.230.2020.04.10.20.57.10; Fri, 10 Apr 2020 20:57:26 -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=usElmaln; 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 S1726684AbgDKD4Y (ORCPT + 99 others); Fri, 10 Apr 2020 23:56:24 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:21267 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbgDKD4Y (ORCPT ); Fri, 10 Apr 2020 23:56:24 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1586577384; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: MIME-Version: Date: Message-ID: From: References: Cc: To: Subject: Sender; bh=oalPl2CS9AIelSHim6uYF/0X3b0FIeVCWAC33NxRrxg=; b=usElmalndwxY9dJdLbhiBTtZAh1P4O+ByA+1/F43+tCI3w8RCHvWY7p+zKUxEijWYU0pFbeL j8q4Lmv0kHeYBh5n1li9t1WXGz6hhV8yWvBZoTYbV003KW8BnsTnOrfzyZIe4UNPLL/7b8FU rLluKXApi8YZqXQZvaBGEZRxLMU= X-Mailgun-Sending-Ip: 104.130.122.27 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 5e913fe8.7fcf59aa63e8-smtp-out-n04; Sat, 11 Apr 2020 03:56:24 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E77E9C433BA; Sat, 11 Apr 2020 03:56:23 +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 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from [10.110.2.190] (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: wcheng) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7259CC433CB; Sat, 11 Apr 2020 03:56:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7259CC433CB 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 v3 1/4] dt-bindings: phy: Add binding for qcom,usb-hs-7nm 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, vinod.koul@linaro.org References: <1586298209-4589-1-git-send-email-wcheng@codeaurora.org> <1586298209-4589-2-git-send-email-wcheng@codeaurora.org> <158657118788.199533.6157625397469536329@swboyd.mtv.corp.google.com> From: Wesley Cheng Message-ID: <6ee1a80b-e19d-072d-ad50-37af65853e3e@codeaurora.org> Date: Fri, 10 Apr 2020 20:56:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <158657118788.199533.6157625397469536329@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 On 4/10/2020 7:13 PM, Stephen Boyd wrote: > Quoting Wesley Cheng (2020-04-07 15:23:26) >> diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml >> new file mode 100644 >> index 0000000..7292e27 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/phy/qcom,usb-hs-7nm.yaml >> @@ -0,0 +1,76 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: "http://devicetree.org/schemas/phy/qcom,usb-hs-7nm.yaml#" >> +$schema: "http://devicetree.org/meta-schemas/core.yaml#" >> + >> +title: Qualcomm Synopsys 7nm High-Speed USB PHY >> + >> +maintainers: >> + - Wesley Cheng >> + >> +description: | >> + Qualcomm Hi-Speed 7nm USB PHY > > High? > Hi Stephen, Will fix it. >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,usb-snps-hs-7nm-phy >> + - qcom,sm8150-usb-hs-phy >> + >> + reg: >> + maxItems: 1 >> + >> + "#phy-cells": >> + const: 0 >> + >> + clocks: >> + items: >> + - description: rpmhcc ref clock >> + >> + clock-names: >> + items: >> + - const: ref >> + >> + resets: >> + items: >> + - description: PHY core reset >> + >> + vdda-pll-supply: >> + description: phandle to the regulator VDD supply node. >> + >> + vdda18-supply: >> + description: phandle to the regulator 1.8V supply node. >> + >> + vdda33-supply: >> + description: phandle to the regulator 3.3V supply node. >> + >> +required: >> + - compatible >> + - reg >> + - "#phy-cells" >> + - clocks >> + - clock-names >> + - resets >> + - vdda-pll-supply >> + - vdda18-supply >> + - vdda33-supply >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + usb_1_hsphy: phy@88e2000 { > > Is the label necessary? Best to drop it if not. > I'll drop the label. >> + compatible = "qcom,sm8150-usb-hs-phy"; >> + reg = <0 0x088e2000 0 0x400>; >> + status = "disabled"; > > I think we can leave out status in examples. > Will do. >> + #phy-cells = <0>; >> + >> + clocks = <&rpmhcc RPMH_CXO_CLK>; >> + clock-names = "ref"; >> + >> + resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; >> + }; >> +... >> \ No newline at end of file > > Why no newline at end of file? > Got it, I'll add a newline. >> -- >> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, >> a Linux Foundation Collaborative Project -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project