Received: by 10.213.65.68 with SMTP id h4csp1087151imn; Tue, 27 Mar 2018 14:38:57 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/+cNMUn8JiecYxd1CgL2XhhAU1Q3jWt9dZrPQmfpXdslqnDauU72DFitwPOuXCxMe7XPZ0 X-Received: by 10.101.96.205 with SMTP id r13mr639010pgv.427.1522186737663; Tue, 27 Mar 2018 14:38:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522186737; cv=none; d=google.com; s=arc-20160816; b=BpB7I7AD9xtZoWg3FFLAEuesA4Pj9MYt9k5VxnxENRuChcNXDaJyXtgOT/3TL6tk4s 8deD+Q7vywAYQnXUJaFCgcM6kiU+V0o8CzAC6AegzEOJw8y4KfgbCG40I2ZLJWvSsq2n joTF1sH2hhVB6WaATQnJ8GJUqHXtbhZY3Gs1vRQo4ihkRulJQHwXUjCbaUff2vrWu3IW PQaCKNe8VurIKadqFhnwY6/J73eRN+2dfmgt/NXGw8zjtUF5UIpXHWX0TD7QZoqjtmWf mUfxkWsngUygBulcSUVk/4l4bofelpSkhFEzRDnCheEaWHOL8EoXYpGcC7jso7b+zGVG VuVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=fm5d8bZfQZTVQ9o7UqP6x29c5Jq7E1hKeVDrDyN4YLc=; b=kJ97CEoaPR9VBn6Lvvrs8E75TolokAtpUhfuBBGlLU8kRA826D8E0MddSkaciB63c7 ewh8uNgwZewpAnV6aYHTKF6lzmpTBt86UfYUHs777uoDeVfme5aoxeyYO3sHt/f+fyDx O6iDnmpAFYbU4FUQbX7kjJETpXvf0TLDObsnY3Pq+aWtUSVesjcDIAdUyRQzSdB+bUNh VrIh7/3Q3ycxmPe5ylHF9FiQNXkQqznTuKzLQCHOTmh1DrE+4Wxy2s2qtoU0pSlkRUPg e/QsA8xv/RZ/uN+kr6OnvZj5Cfo2NZCb09KhSQrAb/TXLLpz1hRjN6ad9dT5ndJYHekR xJkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=FHpZPg3E; dkim=fail header.i=@chromium.org header.s=google header.b=O1NHH79F; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9-v6si1979008plq.318.2018.03.27.14.38.43; Tue, 27 Mar 2018 14:38: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=fail header.i=@google.com header.s=20161025 header.b=FHpZPg3E; dkim=fail header.i=@chromium.org header.s=google header.b=O1NHH79F; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752001AbeC0Vh5 (ORCPT + 99 others); Tue, 27 Mar 2018 17:37:57 -0400 Received: from mail-ua0-f196.google.com ([209.85.217.196]:41016 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbeC0Vhz (ORCPT ); Tue, 27 Mar 2018 17:37:55 -0400 Received: by mail-ua0-f196.google.com with SMTP id i2so247602uak.8 for ; Tue, 27 Mar 2018 14:37:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fm5d8bZfQZTVQ9o7UqP6x29c5Jq7E1hKeVDrDyN4YLc=; b=FHpZPg3E+Xy8y6cAmPRZuj2rIJ8KiHbnHP28xphsx4l3Q+67ly+QioWvxlRsss6nT2 5X8tSteov44lphwB6OHCRo5j4dh6jXJUK3VZnwc/DsokOyASC35E5IjeYnVafg5HuGbg lmKp4pFTJSH4EhVI7t155mNHmJZ0D495o6MoLzna+C6+wpBVat7wDYGAXuDexcgb+MKO JUNkUwXjzA14+7imWowlO86A6Kz6br6+UBzvtlfyNuoYXdtwtHwnFgdPcopou6SGqnG2 x02NktLi5vWXw+FPbEYrTFPzvwo4P8ux8l3OIkdB58LYngUQEmNgg4fBv+gwf9czv4Xr SUiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fm5d8bZfQZTVQ9o7UqP6x29c5Jq7E1hKeVDrDyN4YLc=; b=O1NHH79FCGlkjkvIdS5QXbWYjgRtfeZPwsmQYeOig4IGZM/QQPyWyfZ5ivUQuvUxa1 spJrDWC+vSiiWpY9Hgr7XrNCi557gus4G2HSIZ3b1d3mwbF6F+o5jiaJ/feI5Tl9T1Gz 4jC7wMvVbCQhy4UrNevWyd++3Q+THp/Tc/+U8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fm5d8bZfQZTVQ9o7UqP6x29c5Jq7E1hKeVDrDyN4YLc=; b=Ik+koKUVzz9BUZgR/XsMv57mzj6xYl68SUJ8RgNKDAj8t1Cl9FAkR+74o+xc31dECq yWdmBcTeiCSudyqV248nRaYuKyZ1HGFygkoM/AmKIep/P+iadlabv0zNuO2Q4KqdTOuH 3TRV8DeH2tS/EsQoh7BbbqmSeLRPa+H3+E2NKaHJTyRJBVTKfV31HdBB/n+gVQkFM4oa x+a44ceZWy4QxQC21iexG1Q+C3IcEW8EWWkLvLr8gHo6RRlDzypNlnYTB2EuowLQ4li3 uw1Sp21Y9gK4Dj/7zNxUSZyt3lro9b3vmEbOKbx0Zc49FvVJ2+oEBgt/zCY1gjMlWDCM Xjng== X-Gm-Message-State: AElRT7GApZSN11cn/Uk/3kypbHMnXWW0DfumZ5/gvOsss6fSOfgzjzQE SCJpi9jXS4Az7PGLfcXbGLwuOxAWhtujSkOWR6GXNOAQiFI= X-Received: by 10.159.34.107 with SMTP id 98mr821107uad.120.1522186674390; Tue, 27 Mar 2018 14:37:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.4.8 with HTTP; Tue, 27 Mar 2018 14:37:53 -0700 (PDT) In-Reply-To: <1521785487-29866-4-git-send-email-mgautam@codeaurora.org> References: <1521785487-29866-1-git-send-email-mgautam@codeaurora.org> <1521785487-29866-4-git-send-email-mgautam@codeaurora.org> From: Doug Anderson Date: Tue, 27 Mar 2018 14:37:53 -0700 X-Google-Sender-Auth: SOzlhwjTurgvU0WMa8tq5eX3YY0 Message-ID: Subject: Re: [PATCH v3 3/6] dt-bindings: phy-qcom-qmp: Update bindings for sdm845 To: Manu Gautam , Rob Herring Cc: Kishon Vijay Abraham I , LKML , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Mark Rutland , Vivek Gautam , Varadarajan Narayanan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Mar 22, 2018 at 11:11 PM, Manu Gautam wrote: > Update compatible strings for USB3 PHYs on SDM845. > One is QMPv3 DisplayPort-USB combo PHY and other one > is USB UNI PHY which is single lane USB3 PHY without > DP capability. > > Reviewed-by: Rob Herring > Signed-off-by: Manu Gautam > --- > Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > index dcf1b8f..cef8765 100644 > --- a/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > +++ b/Documentation/devicetree/bindings/phy/qcom-qmp-phy.txt > @@ -9,7 +9,9 @@ Required properties: > "qcom,ipq8074-qmp-pcie-phy" for PCIe phy on IPQ8074 > "qcom,msm8996-qmp-pcie-phy" for 14nm PCIe phy on msm8996, > "qcom,msm8996-qmp-usb3-phy" for 14nm USB3 phy on msm8996, > - "qcom,qmp-v3-usb3-phy" for USB3 QMP V3 phy. > + "qcom,qmp-v3-usb3-phy" for USB3 QMP V3 phy, > + "qcom,sdm845-qmp-usb3-phy" for USB3 QMP V3 phy on sdm845, > + "qcom,sdm845-qmp-usb3-uni-phy" for USB3 QMP V3 UNI phy on sdm845. I'm confused. What value does "qcom,qmp-v3-usb3-phy" have as a separate entry from "qcom,sdm845-qmp-usb3-phy"? Is "qcom,qmp-v3-usb3-phy" expected to work on some non-SDM845 based device? Personally I think you should remove "qcom,qmp-v3-usb3-phy" from the bindings as part of this patch (replacing it with the new string qcom,sdm845-qmp-usb3-phy)". Yeah, yeah bindings are forever. ...but that particular string was added about a month ago and (I believe) it was intended for SDM845 anyway. As per match to the exact same PHY data which leads extra credence to my belief. If later on you find that some future chip can use the exact same driver / settings as the SDM845 you can always list the "qcom,sdm845-qmp-usb3-phy" string as a secondary compatible anyway. -Doug