Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6287427imu; Wed, 30 Jan 2019 12:03:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN54rLUNCmjJC3MqOb7DpwHUGcCb4INQZpzHX5xDxuroKNND/AS9sc+eReDhJVbe2Sx7jpwa X-Received: by 2002:a17:902:d90d:: with SMTP id c13mr26241490plz.31.1548878586188; Wed, 30 Jan 2019 12:03:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548878586; cv=none; d=google.com; s=arc-20160816; b=iwNw3NjL6FDY8XCDzh8PP0GzM1w4yukVFp+3ggmWt2w5Lhq1z1ZU2VC6mBsSBohGz9 /R4oHJFTmnVTC5cRIMK3oNO4nHnQOUNHgQ0U6pbkCK+c0QibiVEu58qPRrapc9rlgi+4 0Xtv7ifJXnTiHzMtIDH3C0CI3Jx3e6WNHcVF69L0uYwRkh5GNZ+SFd3XERMHv50xqXHE UmObswsWK9TRfqQAcIaGN/MpPcTR21Ih8+mafPGgixVeNnpBBW/xfz7NUcD44pmXF9eV RpnVA3m8AkxXZgApMw9oLj6af6Ry8bmgRYBzatIAm5uuCpBd7yQQvy5ulD9x53S8NB1W O94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=z7U4FwF4rwvNfXRrLtt0q+Bh7E9FjuCDZRhkCbsAnKo=; b=eeXDRMDCaQ0wxT3yKm197nOfgqFheCZoeeuAXUJgO7NytMdnBUX0vWre0eUZCXbqbP wg4JNnk3TgPywSCiiAevA9kJjxpPkltxsTTXQrpJ5JDaGXOVhX79j77iY36s/F2jitHt bmQIYiVwYl3pCOiVG7MAnM17SES5AOksrBB6wW5Sjy+zakptEevrYde5gnhOgyfjkrX7 mpz7W4ygpDNl/OW3TdHKO1ARb2iJpI4fcm2hlvNJqLaOspizY0+eWRkTxTeccscLmvkR JCi0h3gwj+w6MidbwOfCz+c5mRCUhyIcQ2JdXT5CTt8tZvN3adV9MNsksQ7j2uFJn6LU 1/JA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 i33si2328143pld.329.2019.01.30.12.02.49; Wed, 30 Jan 2019 12:03:06 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733177AbfA3UCV (ORCPT + 99 others); Wed, 30 Jan 2019 15:02:21 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:37991 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728446AbfA3UCV (ORCPT ); Wed, 30 Jan 2019 15:02:21 -0500 Received: by mail-oi1-f196.google.com with SMTP id a77so724692oii.5; Wed, 30 Jan 2019 12:02:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=z7U4FwF4rwvNfXRrLtt0q+Bh7E9FjuCDZRhkCbsAnKo=; b=B4i9RIgYFfmvszyibkTZnv2+7kP0jI3lep3G7TF+E5tdaQN5r0AMh72dS5w733xeAd ymdpEifP5JtA/b7UPEN8sxtr0cCiZ7JBldywL7fHjCkvPlNeRgpebxsnov4GCCIIFNEn DpFxaQB5FQQXt6vB/VxfgKKBitccxr57HnoNb+MBCn3UbjfQM0dhNjUe/qH06CKxiMRR fezsBWXL3Il+3oIRfxyixveBc5evw3tAgMOmGghw0FC25GWsozjPk0DFHO/bcgTKrUbH n2hQTPgF9gBoXXMVXzlXLLhbTVI1qG4xSPBe80I62gC03q8ED0B5pNRf2VwvZHY5+AxE MS9w== X-Gm-Message-State: AJcUukf5d1zummWQq3nHTsMbM2lCadZEEI8JK43rNto5l4MFbyJ8Jlt8 JvgPkFzYeWdO1MN+kf7hzw== X-Received: by 2002:aca:c413:: with SMTP id u19mr12736474oif.209.1548878539803; Wed, 30 Jan 2019 12:02:19 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id u109sm925002otb.8.2019.01.30.12.02.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 12:02:18 -0800 (PST) Date: Wed, 30 Jan 2019 14:02:18 -0600 From: Rob Herring To: Jorge Ramirez-Ortiz Cc: gregkh@linuxfoundation.org, mark.rutland@arm.com, kishon@ti.com, jackp@codeaurora.org, andy.gross@linaro.org, swboyd@chromium.org, shawn.guo@linaro.org, vkoul@kernel.org, bjorn.andersson@linaro.org, khasim.mohammed@linaro.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings Message-ID: <20190130200218.GB5908@bogus> References: <1548761715-4004-1-git-send-email-jorge.ramirez-ortiz@linaro.org> <1548761715-4004-2-git-send-email-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548761715-4004-2-git-send-email-jorge.ramirez-ortiz@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 12:35:14PM +0100, Jorge Ramirez-Ortiz wrote: > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY > controller embedded in QCS404. > > Based on Sriharsha Allenki's original > definitions. > > Signed-off-by: Jorge Ramirez-Ortiz > --- > .../devicetree/bindings/usb/qcom,usb-ssphy.txt | 73 ++++++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt > > diff --git a/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt > new file mode 100644 > index 0000000..8ef6e39 > --- /dev/null > +++ b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt > @@ -0,0 +1,73 @@ > +Qualcomm Synopsys 1.0.0 SS phy controller > +=========================================== > + > +Synopsys 1.0.0 ss phy controller supports SS usb connectivity on Qualcomm > +chipsets > + > +Required properties: > + > +- compatible: > + Value type: > + Definition: Should contain "qcom,usb-ssphy". This is in no way specific enough. > + > +- reg: > + Value type: > + Definition: USB PHY base address and length of the register map. > + > +- #phy-cells: > + Value type: > + Definition: Should be 0. See phy/phy-bindings.txt for details. > + > +- clocks: > + Value type: > + Definition: See clock-bindings.txt section "consumers". List of > + three clock specifiers for reference, phy core and > + pipe clocks. > + > +- clock-names: > + Value type: > + Definition: Names of the clocks in 1-1 correspondence with the "clocks" > + property. Must contain "ref", "phy" and "pipe". > + > +- vdd-supply: > + Value type: > + Definition: phandle to the regulator VDD supply node. > + > +- vdda1p8-supply: > + Value type: > + Definition: phandle to the regulator 1.8V supply node. > + > + > +Optional child nodes: > + > +- vbus-supply: > + Value type: > + Definition: phandle to the VBUS supply node. Does the phy actually get supplied by Vbus? If not, then Vbus supply should be defined in a USB connector node. > + > +- resets: > + Value type: > + Definition: See reset.txt section "consumers". PHY reset specifiers > + for phy core and COR resets. COR or COM? Looks to me the order is reversed. > + > +- reset-names: > + Value type: > + Definition: Names of the resets in 1-1 correspondence with the "resets" > + property. Must contain "com" and "phy". > + > +Example: > + > +usb3_phy: phy@78000 { usb3-phy@... > + compatible = "qcom,usb-ssphy"; > + reg = <0x78000 0x400>; > + #phy-cells = <0>; > + clocks = <&rpmcc RPM_SMD_LN_BB_CLK>, > + <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>, > + <&gcc GCC_USB3_PHY_PIPE_CLK>; > + clock-names = "ref", "phy", "pipe"; > + resets = <&gcc GCC_USB3_PHY_BCR>, > + <&gcc GCC_USB3PHY_PHY_BCR>; > + reset-names = "com", "phy"; > + vdd-supply = <&vreg_l3_1p05>; > + vdda1p8-supply = <&vreg_l5_1p8>; > + vbus-supply = <&usb3_vbus_reg>; > +}; > -- > 2.7.4 >