Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8398928imu; Fri, 28 Dec 2018 17:32:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/WU/v94gaShspCaU4psZGklPqxA7Ofn33udS2Pb+7v/0Njfgyfc5hFkrz+ko+Vs4rrcb7zR X-Received: by 2002:a62:6f49:: with SMTP id k70mr30007410pfc.7.1546047154825; Fri, 28 Dec 2018 17:32:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546047154; cv=none; d=google.com; s=arc-20160816; b=sWu8qhgI7wZiGzi4WWQ4NSZeo7AQt1heYK1FDWbJlyn0NJhV2NhK7oMP25C7Z7uue0 LMoc5yr4xzRNiiYbreNFjRUK253S1LP6FeuEqv/4sm4njb7fpGB+L8taoi+8UBYzGD2J JtPpOLhNmiBHtzrCeVDOH/NuAIhSaRwwbKInq16nCPh8lwqWvRdrIL8PF9kOEmzMT5DF qdyDKOxT6dpdg5rITMs66JjpwkYxweluhtIC9q2r3nupXS4+W7jot7mrRzyMsoPBXk9g LcvSzh52dGPs0U7QyoxIasyZerdKOZIeL3rP8I+DrRrK/L33wyOuWLnNPF0ehkwQL7X7 Iqmg== 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:dkim-signature; bh=lnIw1MthrHSvj7a6sLajCEOJ1/8XjiJnC0Qx+cGIMDg=; b=Vb2EWD2PVXJVJt3DMPNcxoolFkYEKJFInZBI4E7LSBtJtEBRDy8aBicopetP9hQQNZ qmkPW/s3Q8+YQkKI6bKs9zwl5y7GrjqqPTV4cO5DCxvxf0WAKGkxh+aX+kKwnJhVhY0W fEagQR9OnefOOewkctBIjVtzAcIzhL1/HDxiFujrD5/Jp3e6Xl8/9x5flBmiugK7Xekk x6aW7GWr4uyHqPxx8dxCAP5P0agyO1wAH0mpDPm/nlLy+4qDpqNw9D12H+s6DOSw3LkJ yraQGVC9wAYkhik7iEhl5hD8ONNWqDuNEczQbfg+WD7BCakA6NiM5mSLnX3AA6y+P3mu Jxxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VzB76D3B; 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 k35si37794751pgm.225.2018.12.28.17.32.19; Fri, 28 Dec 2018 17:32:34 -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=VzB76D3B; 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 S1728450AbeL1MjD (ORCPT + 99 others); Fri, 28 Dec 2018 07:39:03 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40359 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbeL1MjD (ORCPT ); Fri, 28 Dec 2018 07:39:03 -0500 Received: by mail-wr1-f67.google.com with SMTP id p4so20818862wrt.7 for ; Fri, 28 Dec 2018 04:39:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lnIw1MthrHSvj7a6sLajCEOJ1/8XjiJnC0Qx+cGIMDg=; b=VzB76D3B6pRHwfVdcwjETtuQ8bFlx+m/IYF9ZeAPbeItEf5AK8MzhqZpmn0v3/27ok Dkwjud72VKjNUvDsxeISu6e5oTAM9z44JkG7mZAhcWVlsb6NcImkspUks4nV25SNBsx/ kY6QO17Y734ZyOk1lUBJu82MRT9SmEDgaT3Jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lnIw1MthrHSvj7a6sLajCEOJ1/8XjiJnC0Qx+cGIMDg=; b=szxCsHi0yX4YN3q+ShBgaA5x8W9UJoqtrkfivg31D8BKHQ0P+8Y8HHlIWXrbfZQYkG IXUHvp3RRJNefJ1p1xV0LXKNkwwyXhtmZG/2+LaAvq2uILYN2achGLClDJunOaTQEGRY N8NaCV+UxnXUBmjS2VbJQuYTSN3Ktlp+zEBhmftOE/OhYiS1ZxjJIEg2AQhKJJ/4JPaG Ku/3HT7x55TsQ+a8r4ayrBmndD+CInHSEwGImvYiCRHZxEz4bJ2JF48q9HFC1FjZxhAx fEhtJMXszkmiAQ9MI9TLmB5GbxyBLKaoK6HaZnDxEy5Nq4Hg+rAudqTjUcE2njFtqJGa 3qig== X-Gm-Message-State: AJcUukdyFFpwCq/7iigXFZEfduk3fm+ddejxZWc4frly8TYSoE0JWJOs iPFcMQRmV97DSpA0VHydvoO7NA== X-Received: by 2002:a5d:50c5:: with SMTP id f5mr24189136wrt.37.1546000741273; Fri, 28 Dec 2018 04:39:01 -0800 (PST) Received: from [192.168.1.2] (92.red-83-34-185.dynamicip.rima-tde.net. [83.34.185.92]) by smtp.gmail.com with ESMTPSA id a17sm26705144wrs.58.2018.12.28.04.38.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Dec 2018 04:39:00 -0800 (PST) Subject: Re: [PATCH 1/2] dt-bindings: Add Qualcomm USB Super-Speed PHY bindings To: Jack Pham , Rob Herring Cc: Andy Gross , gregkh@linuxfoundation.org, mark.rutland@arm.com, kishon@ti.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawn.guo@linaro.org, vkoul@kernel.org, Manu Gautam , Sriharsha Allenki References: <1544176558-7946-1-git-send-email-jorge.ramirez-ortiz@linaro.org> <1544176558-7946-2-git-send-email-jorge.ramirez-ortiz@linaro.org> <20181220170531.GA19862@bogus> <20181220173633.GA19912@jackp-linux.qualcomm.com> From: Jorge Ramirez Message-ID: <2a007a91-e709-c9f1-f634-ddcf707e954d@linaro.org> Date: Fri, 28 Dec 2018 13:38:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181220173633.GA19912@jackp-linux.qualcomm.com> Content-Type: text/plain; charset=utf-8; format=flowed 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 12/20/18 18:37, Jack Pham wrote: > Hi Rob, Jorge, > > On Thu, Dec 20, 2018 at 11:05:31AM -0600, Rob Herring wrote: >> On Fri, Dec 07, 2018 at 10:55:57AM +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 >>> Reviewed-by: Vinod Koul >>> --- >>> .../devicetree/bindings/usb/qcom,usb-ssphy.txt | 78 ++++++++++++++++++++++ >>> 1 file changed, 78 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..fcf4e01 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/usb/qcom,usb-ssphy.txt >>> @@ -0,0 +1,78 @@ >>> +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". >> >> What is "qcom,dwc3-ss-usb-phy" which already exists then? > > Uh, apparently only the bindings doc is there but the driver never > landed. I guess it fell through the cracks nearly 4 years ago. > > https://lore.kernel.org/patchwork/patch/499502/ > > Jorge, does Andy's version of this driver at all resemble what can be > used for QCS404? on close inspection I cant see any similitudes between the drivers. Unfortunately I don't have access to documentation yet but the control register offsets and the control bits in the drivers do not match. because of the above I'd like to go ahead with our separate drivers -already tested and validated- for HS (Shawn's) and SS (mine). if that is acceptable, should we reuse the upstream bindings for our implementation? or perhaps Shawn Guo will do for his HS version of the driver and I go ahead and create a new one? what would you suggest? > > Jack >