From patchwork Tue Sep 28 02:20:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12521507 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 98F84C433F5 for ; Tue, 28 Sep 2021 02:20:27 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5BBA66135D for ; Tue, 28 Sep 2021 02:20:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5BBA66135D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OQiQTXQXk3Nn20yiblwaNSakdTJKdfL1qo8eM/lPgnk=; b=3IWlvk/0aJKlvS flVlVMleoCZx1kNlHDIowcf3adCEX1Yu3WaKb1a2uTWB1jkQZbwILV/XhhdqlZtechssOogsXBSZ7 0waqUQxD8VmopcAmPzKQVtAz7akziiXefEEGdd9LyQB9awHu7OM312uvcYNzc17Qt0vOdyuF+O7IF KzzYTbA/arnIdqb/V0E+/5ix5g1doiLqbCRdx0ElSU9lKT0ZtG1DHqKTkCXVtkN6kHEObhC1b1CI2 AKz1x6pa6/5ZTVeVEa/ZWwv+nhHEE0FA4k1s7BC+m+m+QZ5FWjWUe2Y9V1ISGEFH/fHMUqT71P+Um H8NGRt9NcxqD1BLpB1MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jK-005Fcu-S1; Tue, 28 Sep 2021 02:20:26 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jI-005Fc3-DX for linux-phy@lists.infradead.org; Tue, 28 Sep 2021 02:20:25 +0000 Received: by mail-pf1-x436.google.com with SMTP id k17so17612574pff.8 for ; Mon, 27 Sep 2021 19:20:24 -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:in-reply-to:references; bh=NYqezzVsApLcG6o8A6nHf5azw/hdK7Hyfm4V2m2anYE=; b=ktEgcMjNRerbDRlQjW54gIRGhF9RrTp5S+D9vZR7qXJhk/vYJwKDeewlR70iO4VsmR HShmITge9HqC/yfj4wq6+pqlvXlFf+fM6Znpd68LvZ3M77397J2/5xM9LdJL/C5y7Xt6 an0j2Ge9ID6jmgvOsLXLCkBZRffpNPYdu8D5GcS0lK7fIgULZqB4EfgUo2v0OQdqFXzR hIuUq7G9mHjL/p7gUW8SQPz8G1CGymjtuA94xt5YfkJFK40FijiL6VoB7DNmBYaVPyfw nd+C9r19WRK+LUHGf09jyMsJtKxnci9oQt+1+dK9+VABpLgSAexdXIvyjkJo7B1MZONk s61Q== 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:in-reply-to :references; bh=NYqezzVsApLcG6o8A6nHf5azw/hdK7Hyfm4V2m2anYE=; b=UgKy2y4ru4Cu65qEkkiCyLMyD5LVX+tVfo7lxDh2DUlaUyd75LbhUZOchC0ofAqVPF ydFlTtaUIvgUqxfV03eReDnAyFA0uBSr6DIzCA699cLSZGkMUGU8k9lTNoqmtcldwRA3 94mYIUQ7zbGXkJBPBy8MU37i1wpwuYCLiTVtODgw2NjFi90tjMr5KYO6UAAmqae21llP 6NjDT6O1eZnelhBKAZ517m6X5dPmZJ0feMrUDcisnD1/KXJhQInlgOA1D63xzhvX03Of xg/y9nz8IkHa1PsQ5XAEG+1UOF2pXox562+5UWMxxcrpPgzSNlTpSaa1FcbaGIrghzfr 9K2Q== X-Gm-Message-State: AOAM5327KR52P83KAampUyIY2M8Dod/d9raZCxoRajxPVXi6OyIBUsCX kcA7ktwuOpdswZjG4R0TY7XJqw== X-Google-Smtp-Source: ABdhPJxtkhkcETWROWusxFox1a51j3uHtyRo8hzT6t77fL1kJ0MDx4Rzp4PMmrb6aL2EFka98H0kUg== X-Received: by 2002:a63:6e03:: with SMTP id j3mr2371457pgc.465.1632795623623; Mon, 27 Sep 2021 19:20:23 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:20:23 -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 1/3] dt-bindings: phy: qcom,qusb2: Add missing vdd-supply Date: Tue, 28 Sep 2021 10:20:00 +0800 Message-Id: <20210928022002.26286-2-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210928022002.26286-1-shawn.guo@linaro.org> References: <20210928022002.26286-1-shawn.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_192024_482679_1FB5C248 X-CRM114-Status: UNSURE ( 8.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Besides vdda-pll and vdda-phy-dpdm, vdd-supply is a required supply for PHY digital circuit operation. Add it for correctness and completeness. Signed-off-by: Shawn Guo Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml index ec9ccaaba098..e49fa4ce18c8 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml @@ -50,6 +50,10 @@ properties: - const: ref - const: iface + vdd-supply: + description: + Phandle to 0.9V regulator supply to PHY digital circuit. + vdda-pll-supply: description: Phandle to 1.8V regulator supply to PHY refclk pll block. @@ -156,6 +160,7 @@ required: - "#phy-cells" - clocks - clock-names + - vdd-supply - vdda-pll-supply - vdda-phy-dpdm-supply - resets @@ -174,6 +179,7 @@ examples: <&gcc GCC_RX1_USB2_CLKREF_CLK>; clock-names = "cfg_ahb", "ref"; + vdd-supply = <&pm8994_l28>; vdda-pll-supply = <&pm8994_l12>; vdda-phy-dpdm-supply = <&pm8994_l24>; From patchwork Tue Sep 28 02:20:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12521509 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 D9D73C433EF for ; Tue, 28 Sep 2021 02:20:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80BD161260 for ; Tue, 28 Sep 2021 02:20:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 80BD161260 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ng3eO/D4nv7PbhHlu9j1v1ilqmJLdWVlu0KjbroNpd4=; b=ymzxhysCMRqbsR TYRK8YvfjTBTTcv9g9qOIdlokXwqWT1020tPs/hndWBZEctMgnHXLzm2Jk4XtkP4z0ki0RKk+vZAA WEiXV/RyKQHF6G9E6DiNjlAWUbHPJCp9xAfL7vPGu595v75x9joHQMzuXMkbE8IYj/b/10o1HFPKh 5wPtQ6b788K2z+Bb42SUs33DSbBkD3AuC++y1iNsoo5q2RkHlUe4JQhn0vYlRZ0aYZAlZD/sMGLjf eRXHm/jpDfCt9FoD2NM40VRiiPEhvlqZxt7Ln2L4hN6n9cuN2pLtA9/Yap/pszCRiDF3oUZcZ4zkt xVB/narMvdieTVVdxb/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jN-005Fe3-Va; Tue, 28 Sep 2021 02:20:29 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jL-005FdG-6w for linux-phy@lists.infradead.org; Tue, 28 Sep 2021 02:20:28 +0000 Received: by mail-pf1-x436.google.com with SMTP id g14so17649576pfm.1 for ; Mon, 27 Sep 2021 19:20:27 -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:in-reply-to:references; bh=qHSumsFttLNe13vy2J2oY9G24Uv+x+gtP2uj1qdWakg=; b=XFaKrbicAE6MOpmf9fQ/3JJ+kZkW/PeuWDB5ZjnQ0QGs1Mp5Di/jwitdHQM2indyCa Z/9j+E+QPCa37kz8uaMUWSbYLL7qWCmimkX2x4PtZ0rcKS/5yV5ZowVP0g44ins406Rc cy3ay2TAsVjifjTOP2TMsP0LfGHBrml14J7UqenNeJvd1A0dR2LmR5doGNa5nSUWOz5A 9HOIiQY+SsLLGtjVYk2p/rcndvoJ92oGoDclxtB1JPkN3WRaozOISMsRfB4W2ZCk0QaN p/emf1cqbkNXM2sDuCcRieUeMgHs12sgWlMO/pwmNph9acuVaoILE3qQOD5emHhOQDMi oq+A== 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:in-reply-to :references; bh=qHSumsFttLNe13vy2J2oY9G24Uv+x+gtP2uj1qdWakg=; b=uMPfFpF2IHdcaduqW0bYaetZCmzoDRL5/eCxVdI54Xa742G/JaGtdl8MGED/mA+lP/ rdO57VmP4J0EKFV4IDmTwSLspKkvlUujIJYpg00ZtAodcZg1k4rp53sajSknQZY77VKP 76ebLfKttkGxUxPr2qTwXQXLmwNT1VXdu+zyRjmEiq2OESSGLN+jxBnJKlU1A3THoUrn Vyh6X2kPc5XHP6RiZ9GRnnVmS4BJTg9Wf5IDdjwDwjqY51+KrrZCisiJtkrXdvHgLhLB zEWGZ/P3CI4ZGD/BAU1Ook6RLqtPAIhRFFR6Utn2Mcuf6eLVBo7oyhiOdDZc3DtOpwUZ ZXOA== X-Gm-Message-State: AOAM533B2r9NTQOfETYTd2Y/0gQb+abaUH4zkQnIMVuT5zVvIaLqqeF+ 5ENCdRhGxoMRJ4gk9hFxGCFO2A== X-Google-Smtp-Source: ABdhPJzXL8A2F3RqJqnz6h6cJYNbXuaeta2bLaHDKzTDqrS9svQq+oMfQ0pUUulrGexEbWkEB74vyQ== X-Received: by 2002:a63:af4b:: with SMTP id s11mr2351998pgo.185.1632795626732; Mon, 27 Sep 2021 19:20:26 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:20:26 -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 2/3] phy: qcom-qusb2: Add missing vdd supply Date: Tue, 28 Sep 2021 10:20:01 +0800 Message-Id: <20210928022002.26286-3-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210928022002.26286-1-shawn.guo@linaro.org> References: <20210928022002.26286-1-shawn.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_192027_280896_A6D4ADA0 X-CRM114-Status: GOOD ( 11.65 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Per downstream kernel, beside vdda-pll and vdda-phy-dpdm, vdd is also a required supply for QUSB2 PHY digital circuit operation. The driver works right now likely because firmware already sets it up. Add it for correctness and completeness. Signed-off-by: Shawn Guo --- drivers/phy/qualcomm/phy-qcom-qusb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c index 3c1d3b71c825..02845e08dac0 100644 --- a/drivers/phy/qualcomm/phy-qcom-qusb2.c +++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c @@ -371,7 +371,7 @@ static const struct qusb2_phy_cfg sm6115_phy_cfg = { }; static const char * const qusb2_phy_vreg_names[] = { - "vdda-pll", "vdda-phy-dpdm", + "vdd", "vdda-pll", "vdda-phy-dpdm", }; #define QUSB2_NUM_VREGS ARRAY_SIZE(qusb2_phy_vreg_names) From patchwork Tue Sep 28 02:20:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 12521511 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 AB1D2C433EF for ; Tue, 28 Sep 2021 02:20:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 72B3261260 for ; Tue, 28 Sep 2021 02:20:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 72B3261260 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DQWeKZEPYYmVyuDuk2HCw+a358uyINj7eF3/kRt8enw=; b=on3dDsQUMegFr4 d2rRbvTZg56BbtUUiw6Kg5Q3tXdUtankka1d9rO6U3l/rriF9Ye+JflrqZInTo3C8xZ5YE3352Anp i58ZDp7iv2aW2SonwP9YV8BamcTv6d6F0kkaCyRHMO0T3YumKI14cRROwmBOVL3Edb/XIVyyedZzg u+tFsK0OdreaHcSbMOWr9gGbVnbj6+uz/XdeQqwfIM0R1ymERrGX4kigZGcrFsfkfmeOXCeQtXqPu RR5xG7iV2ng26EukBkSHHwzvkkD9IcXw2cuxSAn6N4835d4rh1kqY4A4qbSbWjFQpiMIGMj4ABp64 h21kM8dkh4GrnOsmfRbg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jR-005Ff2-1h; Tue, 28 Sep 2021 02:20:33 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mV2jO-005FeC-Q3 for linux-phy@lists.infradead.org; Tue, 28 Sep 2021 02:20:32 +0000 Received: by mail-pf1-x435.google.com with SMTP id y8so17607867pfa.7 for ; Mon, 27 Sep 2021 19:20:30 -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:in-reply-to:references; bh=KEllPcS5Xq9Pyinz9uhBulFqCz5TInIHturtjFlsWfM=; b=T87rTQzEU62NuU3FOhvPREGW7/nPgaG5Bzo+GXN2I0O/jz2fHahkOXybbH4MdRKvCP WJEjY8UZ7c3qBpCP7kfotW2esh3XCYpDqtX+BxtU/rBeUaUMgJO7N6DBYuhBoG4deGjt qGFLAJW3fjE1vFb5YF3JySkjjDRQew9M5nF6lE+Q/o7SBJuhhJv93Jzw3snGguRos0dO RsIXhZdioVhosWYH4Ov0asxioE4XHit85mCroKr3NYGgNBij1/tw49ogg3VmoeD8EcwU ZL4Zl9FytxEunl+sr8hsbQKXEsUYYKtJvzESv/tkQZf1mLLWSYo5ylP0QezLY2wle8b9 sq3g== 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:in-reply-to :references; bh=KEllPcS5Xq9Pyinz9uhBulFqCz5TInIHturtjFlsWfM=; b=pxXUE5y3aKGX10aIRzkx3l/e97uft0luRbMb95Sk7L2GlXDkTgcH9CgzRWaJJWIQ3k VRFa6UpGftkimSDrB6F/187tqGy0pgeKtORgfxHfb+Xt8uNOryODuCALkJ4pnisZMd7Z 67TH8x9+eFSumrJHexgUovCp9uUgtVfiI+wAOeq1grkk9kYdYoaCVp7CoFOhKm7sB52l Gl1aFOjEQ97BAGLiWDxE154zX+fkkgfeuUtL11dJgejBOdjqEY7njiqHDMA42KeoiCWQ prLCD0umy7eHU9052e9ihcTh8okOMcJY/T2M9SY6D5VO9LIh3TqOgvpKu10zvKwNnji+ Q/MA== X-Gm-Message-State: AOAM530gMFJ+MzWy+S/guxI2e+FjaSFOinr+gsySXtz+sikYfoeuSpzV 3FUyjMpARkR1G21vlrr/I8JYcw== X-Google-Smtp-Source: ABdhPJy4QvjIvE5bquuYcb7fMbqGz4cZlG5kaauiiTmBYpbUf2ig1Y5Xi+Wqm45331UsVXUZzzKj+Q== X-Received: by 2002:a62:4d42:0:b0:44b:3078:7387 with SMTP id a63-20020a624d42000000b0044b30787387mr2859388pfb.27.1632795630041; Mon, 27 Sep 2021 19:20:30 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:20:29 -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 3/3] arm64: dts: qcom: Add missing vdd-supply for QUSB2 PHY Date: Tue, 28 Sep 2021 10:20:02 +0800 Message-Id: <20210928022002.26286-4-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210928022002.26286-1-shawn.guo@linaro.org> References: <20210928022002.26286-1-shawn.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210927_192030_869052_CC8AF481 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org QUSB2 PHY requires vdd-supply for digital circuit operation. Add it for platforms that miss it. Signed-off-by: Shawn Guo Acked-By: Vinod Koul --- 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 + 4 files changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 51e17094d7b1..d9826ce27e50 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -230,6 +230,7 @@ &hsusb_phy1 { status = "okay"; + vdd-supply = <&vreg_l28a_0p925>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; @@ -237,6 +238,7 @@ &hsusb_phy2 { status = "okay"; + vdd-supply = <&vreg_l28a_0p925>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi b/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi index 507396c4d23b..61ea6d4ef8ac 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi @@ -184,6 +184,7 @@ &hsusb_phy1 { status = "okay"; + vdd-supply = <&pm8994_l28>; vdda-pll-supply = <&pm8994_l12>; vdda-phy-dpdm-supply = <&pm8994_l24>; }; diff --git a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi index 125d7923d713..4f823974559b 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi @@ -102,6 +102,7 @@ &qusb2phy { status = "okay"; + vdd-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; }; diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 0f5c7828a901..243f4ee5da8c 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -260,6 +260,7 @@ &qusb2phy { status = "okay"; + vdd-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l12a_1p8>; vdda-phy-dpdm-supply = <&vreg_l24a_3p075>; };