Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5094633imu; Tue, 29 Jan 2019 12:40:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Vuov1SmRyFiBFtOg4WPtNYZzn9BTJi8iGFdEsWcl+2deHpn1P/ehRNFH7qds2VCimwfX8 X-Received: by 2002:a63:4611:: with SMTP id t17mr24924753pga.119.1548794446676; Tue, 29 Jan 2019 12:40:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548794446; cv=none; d=google.com; s=arc-20160816; b=0SCfNETltqv0eXOjmoM4XpwxshrpYnLp8Kk/dlZEOATSV/mUcjafq1j9qQec7C3bR4 otrNUfvHgO2niyG406Z5mrdq+6XIUjbTJZzJOR05Rrx6VF9l8lp+8bSfyHnR1XzuQghp b8skGnZbNhRs0tC2zxQrkMF3eCCKAhQnzg/WaFsw1VlkE+IWYhZBBC6nRYtsBzTl567M CFJ5i1swn4St+ht22JxyQcxfHzNc5dvdYMdtgbSxFU8aTpl58IrYKLNAIk7s2cd+wRW6 EJOg7Xs0Fdam/EfGN5kc8XONrfaioUr9FnA1Po1yqilyydRNQ+BivNeSyOzkd84KIO3Y cXaA== 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:dkim-signature; bh=XLB+LA1eAe3kDYs6gI43vB4A4plZV87iVFLZSgZKshY=; b=YAjmrGzh9rk5x3Oz4RyH0/B1fi4HHSBELODykqx2+5efJ9l9VGJU21HRQ7eNIpATaC cWpmpfOxR4/wuieMb1JraLRUNEd5HxBZ4MCS7hZDJFDnioDrSA8im8fcaSW8RlXfVyBn fVQvVQB9Po57dYK2gwYe2c7JbhTVt8dSPhHIsKdClhHsXA0RCas3VijrmfjkNUfWmmfb DSkze8YemM39QqP9V5/8cTIVBKV6ukgImXe5cbXiD7fl1w2rVZ/w/qVoMj+GOyb47NWO qdNHF9dPG3Q38A33Teg3IYfcysQZ0dilmeyG9CEqJeQnEAV5edmRaxvsn8fS5RmzuzhO GeGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b6M9YLHL; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2si38111065pfb.166.2019.01.29.12.40.31; Tue, 29 Jan 2019 12:40:46 -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; dkim=pass header.i=@linaro.org header.s=google header.b=b6M9YLHL; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729571AbfA2UjI (ORCPT + 99 others); Tue, 29 Jan 2019 15:39:08 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:40793 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729541AbfA2UjE (ORCPT ); Tue, 29 Jan 2019 15:39:04 -0500 Received: by mail-pg1-f194.google.com with SMTP id z10so9255824pgp.7 for ; Tue, 29 Jan 2019 12:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XLB+LA1eAe3kDYs6gI43vB4A4plZV87iVFLZSgZKshY=; b=b6M9YLHLm95w2F8xMDJZyQxDaTG93Fr5J96f/gLEhPbW+TjnBVfOcU+thx/npnjai4 QTelNVPJwh1pjp2fO5ZipEJG27CKoMAzmzanAQ2BBaWYONuk6OUiw/J94jh3alkA4k0p NVhhnwHwC1gAA7d/7BaYGsdAay0HQqnWn/umk= 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=XLB+LA1eAe3kDYs6gI43vB4A4plZV87iVFLZSgZKshY=; b=hLi4Yw3JDtaPlPF0yPA2XgO6GYKOy1S3ZZ1fTbxDt4MoeI0pyilEpVLPUlIDPJbdMZ 6g22aWmQxjrRO1S36go1/CxKS6gB6r0H8ZeirZtl8A3GHY9LLXL65k/ToHd1Ebr1uAT/ seb2Rgg22EXHDW4UHLwlIapQ7qqS2SBUzSXC0bN9VpPjcmEKT3lHWSjnHhZcEgFDftXy T72uSZPFyybbunn+mtMz3pbE/zXH9xcxOtjikxUc8Op9X9hdIn3T8ywJ8kIbafzAo98J 8N/hevAwNB+hr9RPXLFfwOcMd5xZbGj4MHyVwmyqAMWS779sev2L+FdOyQ7UhxW6qSSy GGxQ== X-Gm-Message-State: AJcUukcTsdLhwi+LPC2VP5C34Od5gQ5A13ux1ecWK7ObsYKnvrlkLXy/ 4YTL3PZT+N08itZ8xhldu+volA== X-Received: by 2002:a63:134f:: with SMTP id 15mr24853357pgt.19.1548794344136; Tue, 29 Jan 2019 12:39:04 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g26sm45604376pfh.61.2019.01.29.12.39.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 12:39:03 -0800 (PST) Date: Tue, 29 Jan 2019 12:38:45 -0800 From: Bjorn Andersson 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, 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: <20190129203845.GB3036@builder> 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.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 29 Jan 03:35 PST 2019, Jorge Ramirez-Ortiz wrote: > Binding description for Qualcomm's Synopsys 1.0.0 super-speed PHY SuperSpeed > 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 It's based on Synopsys IP, but it's Qualcomm's version, and isn't the 1.0.0 Qualcomm's version number for this block? Also I think it "provides SuperSpeed USB connectivity on some Qualcomm platforms". > + > +Required properties: > + > +- compatible: > + Value type: > + Definition: Should contain "qcom,usb-ssphy". > + > +- 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. > + > +- resets: > + Value type: > + Definition: See reset.txt section "consumers". PHY reset specifiers > + for phy core and COR resets. > + > +- reset-names: > + Value type: > + Definition: Names of the resets in 1-1 correspondence with the "resets" > + property. Must contain "com" and "phy". Perhaps "Must contain both com and phy, if property is specified", to clarify that it's all or nothing. Looks good otherwise. Regards, Bjorn