Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4327587ybz; Mon, 20 Apr 2020 21:19:43 -0700 (PDT) X-Google-Smtp-Source: APiQypIT0ZTMnHNE4Ch4FeoK6oR3NCukvQY7SaCNdr10xWpyM9j/Y1JEcdJP2t7ADTVBSs72GvHC X-Received: by 2002:a17:907:20b5:: with SMTP id pw21mr18571547ejb.227.1587442783751; Mon, 20 Apr 2020 21:19:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587442783; cv=none; d=google.com; s=arc-20160816; b=1D1ThmFviD3qpb1GCHtDhVl+ZCVpmU3Fv9HMvaVcxTihN+yk4/kuTi9sebnmUOLUN4 SK5PBDKIVTJv/5PI4FLWqULS5NFFRvC2pVef61dPkO8r9eFOxOy2CwJ627tLeLQ9ZQSM VdgxJc5KITl+bq2L0KYUsgkc9cIpKW4R+1E6oFoxlmzGpvJNGeEP2rdeKeQvrI4LtyqH SuUIchppCVsRp2r8XwdAo6VgbhQxWPVZ9gPqUhImpynE0vZaGXE250hdwIWTvzt/VV74 qDlqvZG0p5wneNvMQq2QlLklUSmQzxoutnPvbIdMddshJtJ9GI60UgpIgSmKu+Y34HmF B4pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=8e6fmLjhn9iA1rR0EhCdHo59ETG2z9t4z8p3W3x9ZsE=; b=gxfnlj5eP+7h1j87feEZA84/MBahFumUs5tjXSj96P0PN8Mw1L0h0LvH8w+k8o15Ns ZpOjIBSW05ZxxWqg8Ucnhvi98N3A2d8gfu7tuQcmjo8tWVamfbe1Je7NOogAIhy+QTmI ykxd4DiOMCMNe7zDFpCoBIZoHnnjvkikxr29Jf9bMexKEYrcDZo2IB3BIfkR/AbAbPOJ FZPRIe8rj1aPMTACVRPx1nkTGRnRhPKi5zaM1OS/3JJlxqMQFjWvgzX4VxeWli4qHmY2 bYo9C+avCmReJk37fgoYAnNY/LGFYp0j+mdt6/LcmMf7u5uaZdj3rbLHLE8EXp3STmu+ +vDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z66vAOf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id b7si795280eju.8.2020.04.20.21.19.20; Mon, 20 Apr 2020 21:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z66vAOf3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726021AbgDUESV (ORCPT + 99 others); Tue, 21 Apr 2020 00:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725904AbgDUESU (ORCPT ); Tue, 21 Apr 2020 00:18:20 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AEC5C061A41 for ; Mon, 20 Apr 2020 21:18:20 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id g30so6046848pfr.3 for ; Mon, 20 Apr 2020 21:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=8e6fmLjhn9iA1rR0EhCdHo59ETG2z9t4z8p3W3x9ZsE=; b=Z66vAOf3VQVmIh3G/f3v+6AhWFW/rGAlD7zhpbTN+8JTLOCQmy3sn1cR8uwLZOsUbf CsqLN6Ll2QQIj07DvacoMIIY9VqBt5A4RcgY26IOwDFYrWR5oS3Tcvel8CM2DF/cgFC3 Z4JHFm1o5plpW7mK4ZHM2sHW2Bc3R1ou5MUG+54JXkCnIuKvnKJS6h7gfJMpnV2W8oGu UEgm4W/+Shn+cjTdAWgMA842Oe5/C8ZV7ypvyInb5oaiTYz8al1a05rHl4eANNd8wtgV mkH2EAR3og9LeL3pW8Wirhw0IwqHyyN08rBAZ8JNA8jGbPl5+nKGY99uLHlNyC7eLgsl 390A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8e6fmLjhn9iA1rR0EhCdHo59ETG2z9t4z8p3W3x9ZsE=; b=Z+RJsA/wN6ClZf6/T7meBPnauQApXawCrybGY9KASwFQTMSzaXV96g+hwR3Z9OKmlL KWxIHrfjNCUP+y6K7GQy+pw8pcTO011qMX/ElCHwJDo8OIYgjsBLzUOM8UGdAfQ1DKpg 0AbxY5m32wB8PIDCoJMpTBFwTPV9a4jU2y+fNcLsFjV+/1nt/z8iepylnP70LCwIP5i3 zBQijVD6BWBNIm5broczTTddzMmXvvzIUxCS808pJTpW4pBR/g1zxDThjsA8xjXRuUqj JwmHm0b+vDS0WKCIeQIqfZaPRFG55mRHljUZQy3qtqz/TkxfDGaH8YDL/uU9ot1z1RHf mbng== X-Gm-Message-State: AGi0Pua9jCQ4Se4sGyCvxBU1lEXImkGnkqNG8BmprcS6y9Yl9WGdKz5d YLogal/p4h44uViuV4BxvZOADDHjvxg= X-Received: by 2002:a63:3814:: with SMTP id f20mr10279254pga.283.1587442699578; Mon, 20 Apr 2020 21:18:19 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id a136sm1083262pfa.99.2020.04.20.21.18.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 21:18:18 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , Bjorn Andersson , Rob Herring , Mark Rutland , Doug Anderson , Manu Gautam , Sandeep Maheswaram , Matthias Kaehlcke , Stephen Boyd , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND x2][PATCH v2] phy: qcom-qusb2: Re add "qcom,sdm845-qusb2-phy" compat string Date: Tue, 21 Apr 2020 04:18:15 +0000 Message-Id: <20200421041815.1808-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes a regression in 5.7-rc1+ In commit 8fe75cd4cddf ("phy: qcom-qusb2: Add generic QUSB2 V2 PHY support"), the change was made to add "qcom,qusb2-v2-phy" as a generic compat string. However the change also removed the "qcom,sdm845-qusb2-phy" compat string, which is documented in the binding and already in use. This patch re-adds the "qcom,sdm845-qusb2-phy" compat string which allows the driver to continue to work with existing dts entries such as found on the db845c. Cc: Andy Gross Cc: Bjorn Andersson Cc: Rob Herring Cc: Mark Rutland Cc: Doug Anderson Cc: Manu Gautam Cc: Sandeep Maheswaram Cc: Matthias Kaehlcke Cc: Stephen Boyd Cc: Kishon Vijay Abraham I Cc: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org Reviewed-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Bjorn Andersson Fixes: 8fe75cd4cddf ("phy: qcom-qusb2: Add generic QUSB2 V2 PHY support") Reported-by: YongQin Liu Signed-off-by: John Stultz --- v2: Add deprecation note on "qcom,sdm845-qusb2-phy" string as suggested by Doug. --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index 3708d43b7508..393011a05b48 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -815,6 +815,13 @@ static const struct of_device_id qusb2_phy_of_match_table[] = { }, { .compatible = "qcom,msm8998-qusb2-phy", .data = &msm8998_phy_cfg, + }, { + /* + * Deprecated. Only here to support legacy device + * trees that didn't include "qcom,qusb2-v2-phy" + */ + .compatible = "qcom,sdm845-qusb2-phy", + .data = &qusb2_v2_phy_cfg, }, { .compatible = "qcom,qusb2-v2-phy", .data = &qusb2_v2_phy_cfg, -- 2.17.1