Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1162826ybb; Fri, 10 Apr 2020 19:13:57 -0700 (PDT) X-Google-Smtp-Source: APiQypJ9AbiWy2isMSqj0JM7q15rfHXFsbMcvp1DtapsaPRDGDLQk8yZXShgkWrOs75tYRIuCfsE X-Received: by 2002:a05:620a:a41:: with SMTP id j1mr6813071qka.86.1586571237128; Fri, 10 Apr 2020 19:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586571237; cv=none; d=google.com; s=arc-20160816; b=s+k+R71KUP5Moet80Td3fh+mgsz+snNBmglpUj4BR3arDg+TpPb+FDwe2ig/3xc7Xs KXMGtKB5PkX7iBbQhScqYwJkXH1tQRflo+THv9MG7cpcpxd8wzbrWeLlolrsggPKtogg Lbu1+xcGkwiXciBZ5uPvGnFKVcE+D/Rr1Io9U8JiILRkpHV3MCjTWzfEXHgWg2M7eEwQ BJdJ7c8hK7LlylAMUav8BNBhsc/4zD49+0ig5arF762t393XLeh5Xj70T66peoDPA+Vv R5DzTsvgv1xM+B2ZSsqDkkErPfD67BMGkbztsKBuqvG0YqM9yYjMcUmPt2AF/r6qpp8U y8Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=BPtS4RVpHWCPXE+KvS7Ax37XLB4b2LpzQQzUDlC4Ajc=; b=fZbuWh7NyPNn43vVtgyBEEfmQdd9InGcyFQ+F0KpNo+gn9BsUNmT8iu+9c3iVPRhlN jHJDwCGZ7wfwxHq2I16D6GIFB2EdHLNeqWKIT1JqjLWOk2wrEP4/ggt/+g4fkSJR8xhG iy8I861MrO682/01/3ospJ+SMcaLy+QwRcuJ4SDYhficJgZ5LSkfk7WnJswSiUYzNayq MraqbrrRcgnk2wVw3mxMXRMvyVz1ZL+WWUaCAZlVXTogIL/HvBJ9ry6Khay0WanzKl4E UvwtuYSjtvyjS9aKTGkUT8LKjQbLaWBySl1Pk/FdFzudiXEBLjN3LWzbK3kmSQ5X9yr0 Q+rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vj0F8V1O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j37si2165615qtk.39.2020.04.10.19.13.42; Fri, 10 Apr 2020 19:13:57 -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=@kernel.org header.s=default header.b=vj0F8V1O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726825AbgDKCNJ (ORCPT + 99 others); Fri, 10 Apr 2020 22:13:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:45816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbgDKCNI (ORCPT ); Fri, 10 Apr 2020 22:13:08 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A02A92078E; Sat, 11 Apr 2020 02:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586571188; bh=YgaDIcJ5xzL8CSiHnhaJpN1YTHxXZE4mV6g69AnHIx0=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=vj0F8V1OiL4EYeKy/c6xUGDiz2Aeipk/uYW1PLLcfJWzOlLdSzg47sxjhJlvgXvz0 tOQIg04fzd2zupngGMFTLULKjV7SfVMkhLheQMYTZZSpDfzrQdzoRd5a3z/mGAmdCg wbjfzN4OL6rEVD37s/VeW1qbfNCuHjV31sHqTRcc= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1586298209-4589-2-git-send-email-wcheng@codeaurora.org> References: <1586298209-4589-1-git-send-email-wcheng@codeaurora.org> <1586298209-4589-2-git-send-email-wcheng@codeaurora.org> Subject: Re: [PATCH v3 1/4] dt-bindings: phy: Add binding for qcom,usb-hs-7nm From: Stephen Boyd 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, Wesley Cheng To: Wesley Cheng , agross@kernel.org, bjorn.andersson@linaro.org, mark.rutland@arm.com, mturquette@baylibre.com, robh+dt@kernel.org Date: Fri, 10 Apr 2020 19:13:07 -0700 Message-ID: <158657118788.199533.6157625397469536329@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > + > +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. > + compatible =3D "qcom,sm8150-usb-hs-phy"; > + reg =3D <0 0x088e2000 0 0x400>; > + status =3D "disabled"; I think we can leave out status in examples. > + #phy-cells =3D <0>; > + > + clocks =3D <&rpmhcc RPMH_CXO_CLK>; > + clock-names =3D "ref"; > + > + resets =3D <&gcc GCC_QUSB2PHY_PRIM_BCR>; > + }; > +... > \ No newline at end of file Why no newline at end of file? > --=20 > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project