From patchwork Tue Sep 28 02:19:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12521513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 671AEC433FE for ; Tue, 28 Sep 2021 02:20:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4C7FF61262 for ; Tue, 28 Sep 2021 02:20:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238637AbhI1CV7 (ORCPT ); Mon, 27 Sep 2021 22:21:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238634AbhI1CV7 (ORCPT ); Mon, 27 Sep 2021 22:21:59 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F4021C061740 for ; Mon, 27 Sep 2021 19:20:20 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id c1so17560800pfp.10 for ; Mon, 27 Sep 2021 19:20: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=kg/GzF/sdW0p0vvfKH2R41tEISnLDtHPzxNdShxqvM8=; b=lnEiCT4W2Vt81xX2B3QBWSajzRS0BHhPdyPDg26pxACWSFyjBXtVsl46QeDm39PLvH 6ddbtIh7sK2NOsWb9ER08iCoqfUFsHxRHOmoGH1lzsLvkUPn0u/n0UIQUvVWQlweW1RB wixpgeD/BVudgMhrgkqqxqq8SHWDqCX9glVYjOhHjVfCjjmeWuPMAVvRoxETd/DU1kq0 xQZLQSTvD64o2x1RCjK4gq1pZfp6pVq11nYoNR0BvoeocH9QSvdal6ymhBlZaBp8OFUN a9+Nmn5xcitwz8WrFEUrTdtE/lE6p0ioEPmS7AjxGyE6F32q7+FNO5BL5o9xKUQ6C7cE Qv1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kg/GzF/sdW0p0vvfKH2R41tEISnLDtHPzxNdShxqvM8=; b=bTFqdhguVWL8EsJ1splblTQjeFvPlj43WOGwGgNKOpkUCfTfoV8uqOCjCOFOsG7LJZ f2ExkEX14XgZoeQ9RvlhLtmtNFnFLQO5xB1gk9SMuhyoI0c5ascwkIUxVsDSuVg9Us6B EjaHnELCcBoAwthPgELH9XeMZoR7uP0+FRSY6TfHzUJ39DJLLSAjvFVS+NRlX4HiaWnS +rmuPK7DdfdWLbm1Ltl5bafMkkGDV4+cGgCdE6BhbXPNO9nIuRua/k3hPW7ExLttfycN cd+RT7KFSVdz472ZJVriM4xendZNlusKTxf1dEuLy3Rm0OTLfqYq1VQGMPjX7l6E3/YA +ubg== X-Gm-Message-State: AOAM531oXcqrslOYXRAUATkvfmsTvLCN8LSifxvHQ0fkF4zv386k2x+O uA3BXAesakQoNsdyXVhCsudxgg== X-Google-Smtp-Source: ABdhPJwm2OGAXCfz1pcfsnrhgPp8cc3IJ9EYc8O3kZGQEbShcjrda5y+PfksmciTxjhD3HIQPlBtgA== X-Received: by 2002:a65:6a0a:: with SMTP id m10mr2429816pgu.82.1632795620400; Mon, 27 Sep 2021 19:20:20 -0700 (PDT) Received: from localhost.localdomain (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id u12sm19178729pgi.21.2021.09.27.19.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:20:19 -0700 (PDT) From: Shawn Guo To: Vinod Koul , Bjorn Andersson Cc: AngeloGioacchino Del Regno , Konrad Dybcio , Jeffrey Hugo , Jami Kettunen , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo Subject: [PATCH v2 0/3] Add missing vdd-supply for QUSB2 PHY Date: Tue, 28 Sep 2021 10:19:59 +0800 Message-Id: <20210928022002.26286-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The series adds missing vdd-supply for QUSB2 PHY which is required for digital circuit. The driver works right now likely because firmware already sets it up. Add it to bindings, driver and DTS that miss the supply. It should not cause problem for existing DTBs: - SC7180, SDM630, SDM845 based platforms already specified vdd-supply in the DTBs. - MSM8996 and MSM8998 platform DTBs miss vdd-supply, but dummy regulator will ensure QUSB2 PHY driver works as before on these platforms. Changes for v2: - Correct copy & paste error on vdd-supply name in bindings doc. Shawn Guo (3): dt-bindings: phy: qcom,qusb2: Add missing vdd-supply phy: qcom-qusb2: Add missing vdd supply arm64: dts: qcom: Add missing vdd-supply for QUSB2 PHY Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 6 ++++++ arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 2 ++ arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi | 1 + arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi | 1 + arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 1 + drivers/phy/qualcomm/phy-qcom-qusb2.c | 2 +- 6 files changed, 12 insertions(+), 1 deletion(-)