From patchwork Thu Apr 2 22:37:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 185157 Delivered-To: patches@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp2294611ilr; Thu, 2 Apr 2020 15:37:29 -0700 (PDT) X-Received: by 2002:a63:aa02:: with SMTP id e2mr4448663pgf.263.1585867049623; Thu, 02 Apr 2020 15:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585867049; cv=none; d=google.com; s=arc-20160816; b=qpm/U3W18xnQPmhdeL48NHTIU1fJFnDqMxFWibH1Mat9mb56aIDxkhx+aUNZegCDij iJlxY3eyBkb0vCbe9NecM4vIz4ZUv3gmx7u/tCcjsLTBOhOy8Jfn6Hw6QlMHf10qtjIJ RHXQPs+JmnNWSnbEl9W3E3VapzTJ5Xy1JJixOiVfi1al05UXlibiLusUQm1xr4F8HDkv VAR2jqUxhym1rkVMvVESpPMh2OAtnKU0Gvfgt8UsqKEOGnJsAYxj/IVP24QDS1ybIBa/ 1yTzvNtN25FzgbWhPcXY++t47QgufUblxXufcmV/4AUi+916TF4lh54wPe9CRth420xH 2dDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Bu6IDjQbNb2NPz1Fm5EK/pgWdtaCjhT3hwfgjnIqyNY=; b=AyLgOe75ZqoMO2Qy5e3OdiynNI/fnzvWa8VqIcV8ThzJMgxc/ugoXLC9eTXjLmp1Qh 5MuD7Irw87LATxOvW4iRxvUNmfQTfyshBRFd7Y8CerKxuSMdMSHB4iOv9Q8K4Lkvh03K rqyWmP9OdnT3sh2GJCK63loBthYvcFY+9snubQrjajQNY3JBDBKt0UH8Fs5pHA169xqC M0UWwg5dQSXivolt4SQRuFtWXoVBt/janFgudj7qlHuF5baVi++Diy2wDieYCAAAiAE+ z7wnbiGRtnvHTUjRAh/AqQSc61jgl+C1aa9Vv2nzsGk2d2MUkAHYRupbZmCq0OBnDBnd xYlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kq9U00PG; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id x7sor8295885pfj.64.2020.04.02.15.37.29 for (Google Transport Security); Thu, 02 Apr 2020 15:37:29 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kq9U00PG; spf=pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Bu6IDjQbNb2NPz1Fm5EK/pgWdtaCjhT3hwfgjnIqyNY=; b=kq9U00PG054owKDvVaCBkGyEcbZK4fArjyVqX6i9Dka3lTJjzydu4zBGMAugaMRl3b FvkvqBTKIWQPnkMAVjxRLCZ8nbCPeCF4c//wyuBQZZ7NRDiVD4xd2MMKX9c6mS/3aJbX G3NkfpuyzepUDi0Hv3zN/bQBMAWBNRf9WAVWSP3qXeK2nX17ee6XpVJKu5kSj8iEPKuI 5pRxFCLDsPwbbnrEJaFJpH0EJipBJbxupqUBaNX/yZljp0HhojAckxHmNdZxE7fjfR+D cgsizG4kPi+AXRbJGdA8B4y5E6Kc50Ge0BiSS8BBC5ZyGSr3QLFgjqkb/EL2PhWl7Bd2 UEnA== 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:in-reply-to :references; bh=Bu6IDjQbNb2NPz1Fm5EK/pgWdtaCjhT3hwfgjnIqyNY=; b=rwMahohzBE9uzaPQ+G1PX6kFDrPyT099Ep83vsdaMuGkaIIyp4s/35yIwvgfSxA9t1 YyTxTkdpust6rPTRC8nKuxKp2G6GygEEh+aBF9Kj+PC637Eg7O1qYbFn/lZn1TmbLD1K 0lWueZqqUcUMEZLSCNtXnVFBNMCPAn627eHvK1shkBolW5sYLKtIarvM0DrZ4ckYtUae Yt8y840PRvOG9xJmERAl76Cbq6ixk1/q7Hv5PRlnl57R0awZfiKMhkppSles6FPDRtNx jwluVrzozxlNn7vZPJmKUDqKZVd7OGYdZpD7a5zVZ6QsP+R2qxDiLzB/HJPewWa1c9J4 TDQA== X-Gm-Message-State: AGi0PuZWLuKVWWOlnRW+uND14vSQzovgd1Q4dhS9OGty73ikEDMi6aUL 8H4LvMU9jJvsZFSXcQoAvEMotEAi X-Google-Smtp-Source: APiQypI2A0RyjcwbJvCMnhbdGWU1MNRnX/WFlq+gU61bs4LuIC6IOuf54jlv9QFrAhjxZuBS1mpayw== X-Received: by 2002:aa7:8ec9:: with SMTP id b9mr5185648pfr.118.1585867048645; Thu, 02 Apr 2020 15:37:28 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id 71sm4508709pfv.8.2020.04.02.15.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2020 15:37:28 -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: [PATCH] phy: qcom-qusb2: Re add "qcom, sdm845-qusb2-phy" compat string Date: Thu, 2 Apr 2020 22:37:23 +0000 Message-Id: <20200402223723.7150-1-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: 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 Fixes: 8fe75cd4cddf ("phy: qcom-qusb2: Add generic QUSB2 V2 PHY support") Reported-by: YongQin Liu Signed-off-by: John Stultz --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.17.1 diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index 3708d43b7508..ab7941ce5d3a 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -815,6 +815,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = { }, { .compatible = "qcom,msm8998-qusb2-phy", .data = &msm8998_phy_cfg, + }, { + .compatible = "qcom,sdm845-qusb2-phy", + .data = &qusb2_v2_phy_cfg, }, { .compatible = "qcom,qusb2-v2-phy", .data = &qusb2_v2_phy_cfg,