From patchwork Tue Sep 5 16:19:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374812 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1E35C83F2C for ; Tue, 5 Sep 2023 16:46:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236289AbjIEQqH (ORCPT ); Tue, 5 Sep 2023 12:46:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354150AbjIEQ32 (ORCPT ); Tue, 5 Sep 2023 12:29:28 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E4B84225 for ; Tue, 5 Sep 2023 09:21:21 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-991c786369cso422696866b.1 for ; Tue, 05 Sep 2023 09:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693930769; x=1694535569; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Ca2eAe6pvMNyR6imFqpBniy7ICyAfe/hANZLQ25/e0Y=; b=yhgwko6jx1/CiBhHOFvr236Ka0+xtNMkvagSF2qO+IANGIBcwFAaW7g0Rnmf4TbB8A 6sGFNyStw65b2RhiMHJUtcSEHmlubLREow3oI/7rJsPfwxlJWk9uAePiySOnDOcNtdzn w0sv6LgrlEPRp3p7LhbI6up34FygY6Oqh+uEB/fa9VaAiWLhapJvYh/Hs37JAa4TBomP S05+U2URXFfiUH5edw9Y3M9bREY5dtK6C0tFdhi1FwwVWMl7kAmzRNbp1PEs6PJstB8I u/OFLdJr9L86BWseQOs6wLZ/rUAaI/ygNtkgJIqzvT4kc4AMBWygu/A8kEsPDXnJ5ONW t9pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693930769; x=1694535569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ca2eAe6pvMNyR6imFqpBniy7ICyAfe/hANZLQ25/e0Y=; b=mFTKRwQ9OA1OqYw97c32otJyeQaH+iakE0111MRB+beH2KxMqjHuxNtfF07+gsAi3V TiyXmSmqYN0UNiLdiIH3QfMgDJd1KNXrneYQLG3kCpH3ExiyYd4VtZO+rF35yPjFk9un n1/OTjf4wTjaokkpnp9pZvhGgOYHEfHL+ggUbyHAhk9x7+79aqeLQjyabWWqyufDb0Ml RJmKutiSRxi7kTJGcbCpRP77IhevPvweVkSrNv2+LDlGCbiViLRVvx/HUwwVmc4FG4um 6yB7PlkEvUYgxGCp4FXakEYG1KUj0/6zP1m2SRhtmf1jKa7A1jAOJBc0QQVPGdtQtwBu bfGA== X-Gm-Message-State: AOJu0YzcWCSk9b/vvxoXNaxn1LthfdfKgRBb6SyJZB7W4diUE0597SY4 HorN10avQn3Pcmk/NhSMiKE7sAqxnopkJqhexI0= X-Google-Smtp-Source: AGHT+IG+oCDVe1qnz0Eh4bx1Aac6LkewwnuG8hvHtmfCrkF0hc+vfTNz3AZGaXnbaYCTFMaA43jutg== X-Received: by 2002:a17:906:304a:b0:9a2:139:f45d with SMTP id d10-20020a170906304a00b009a20139f45dmr267866ejd.43.1693930768881; Tue, 05 Sep 2023 09:19:28 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:28 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 01/12] arm64: dts: qcom: sm6125-sprout: drop incorrect UFS phy max current Date: Tue, 5 Sep 2023 18:19:09 +0200 Message-Id: <20230905161920.252013-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Neither bindings nor UFS phy driver use properties like 'vdda-phy-max-microamp' and 'vdda-pll-max-microamp': sm6125-xiaomi-laurel-sprout.dtb: phy@4807000: 'vdda-phy-max-microamp', 'vdda-pll-max-microamp' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Acked-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts index 272bc85f1719..90b5f22ea9dc 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts @@ -406,8 +406,6 @@ &ufs_mem_hc { &ufs_mem_phy { vdda-phy-supply = <&vreg_l4a>; vdda-pll-supply = <&vreg_l10a>; - vdda-phy-max-microamp = <51400>; - vdda-pll-max-microamp = <14200>; vddp-ref-clk-supply = <&vreg_l18a>; status = "okay"; }; From patchwork Tue Sep 5 16:19:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374817 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21B66CA0FF3 for ; Tue, 5 Sep 2023 16:46:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232989AbjIEQqU (ORCPT ); Tue, 5 Sep 2023 12:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235728AbjIEQfV (ORCPT ); Tue, 5 Sep 2023 12:35:21 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E5AF1FC8 for ; Tue, 5 Sep 2023 09:33:23 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-400a087b0bfso26889865e9.2 for ; Tue, 05 Sep 2023 09:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931506; x=1694536306; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1I6IwceD9yMG95Xy3C5UFcBdFWUjpLzegH+tNAfDOaI=; b=Pfv+aWD/C7L4PJlcj5Wk02+dkvLKhNS0VvzlHBTMcZe1XDY9vhLjfLhnO+M0tbukCx j/AfG63CcuM46U8GEfuh0/ZnvUCyc3P4vZaooS4GxH39VJoBlkm3zm6NxM4Aa5xo8H6u D2YTqyYobT2A4TAsEHORcmgPfAebLoPqOWMRdYCM//JjjE/79mD8YCDWrpugwhFJ1q3W tIKe9TUTasEqvu8gdXIWlPkmzkdOmbCh4PRuoq7lS2i4rWdW6PRE12pLkskFSWgfUD72 qMmoq0c96l7pci4qPw0NYstoGI9wDzWnfMCC/XKmtAIXqVWdkCm5OBaK7i62YOuoDtx7 k42w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931506; x=1694536306; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1I6IwceD9yMG95Xy3C5UFcBdFWUjpLzegH+tNAfDOaI=; b=fmsMqqTVDyjb9vTBH0oELnLa6zIIMbv1rZvyTSjKzJpGYnVTHATpOsWqQWdhGrgfc2 UfXa1H57kKk7z3VDXhkTyH5fmBZv6oZsynplyNcDWOFANgXvaOL7jJUOBAnUkDpX39jT NoA/BAX0VDrYInpdi8h4/jmlNbYL7dqmNhIp/U1e5rME4NMPHykJZmqpcf0WWxSDdWN/ giYIH2EskoKcNpp1dGDPsedngI7Njmzf7xBGr+vSQWRMOW05o3M7z23x08MS585o+MtA 9kx+3UmxffMFCSTaPglEusD9oHPpvCuuBM3S+OrjlKSRKxRCjx5LD4A8WVXlC1E0SMAO 5I5g== X-Gm-Message-State: AOJu0Yw6gFrzObh5nHBoVdS3rB33bjqcL3ANbBVXY7UhmzieVkMLfsvE uaQaE8npjd72SHZ1t9rvysgLrrx7+Rt1JKXrkxQ= X-Google-Smtp-Source: AGHT+IE652HnpOuqvnVBGDDLrT5wGDbZm60/a3Eibz5HpmZ0r1doLgr270vkCnEhcqO3UeDgCRLTVw== X-Received: by 2002:a17:906:1db2:b0:9a6:4fe0:4552 with SMTP id u18-20020a1709061db200b009a64fe04552mr203290ejh.46.1693930770138; Tue, 05 Sep 2023 09:19:30 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:29 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 02/12] arm64: dts: qcom: sm6125-sprout: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:10 +0200 Message-Id: <20230905161920.252013-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: sm6125-xiaomi-laurel-sprout.dtb: phy@4807000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts index 90b5f22ea9dc..a49d3ebb1931 100644 --- a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts @@ -400,13 +400,13 @@ &ufs_mem_hc { vccq2-supply = <&vreg_l11a>; vcc-max-microamp = <600000>; vccq2-max-microamp = <600000>; + vdd-hba-supply = <&vreg_l18a>; status = "okay"; }; &ufs_mem_phy { vdda-phy-supply = <&vreg_l4a>; vdda-pll-supply = <&vreg_l10a>; - vddp-ref-clk-supply = <&vreg_l18a>; status = "okay"; }; From patchwork Tue Sep 5 16:19:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374830 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A000BCA0FFB for ; Tue, 5 Sep 2023 17:43:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238462AbjIERnh (ORCPT ); Tue, 5 Sep 2023 13:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238665AbjIERnX (ORCPT ); Tue, 5 Sep 2023 13:43:23 -0400 Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B2CB49CB for ; Tue, 5 Sep 2023 09:21:44 -0700 (PDT) Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-99bdcade7fbso389618466b.1 for ; Tue, 05 Sep 2023 09:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693930771; x=1694535571; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=nc7aDvSgD11jc9qTAmRhPuXkI/EL03RkU/8y9cpVhM8=; b=sdQEgXF9j/GmpgBq2a8KvaSRSQfnfbRZoQSS0/G9agf7Y4q5EhTMZ5xJsyDnKP0kT4 C7NvrAwRlPU+QVD3RBfZxu7HGIDGCU0elp6CgWAxkE7fYmQ4iUKJVxBzSarCTOZ1wh3u VMaYILQwwWbobdosqLsGIPk+n16xFs3M5pvQyCXd8j9H3NgRIkTHGlruzu5hfjZVZRsP dcwOtqpkM0WD3cjhYAymMzUSO6DVl+rxKBg96CaSmq74nxaxDDLefHcAzN+YhzLzJNWd ABfhSPl1Y6FZXhd/6EsR9Ck5o1CtiheGZBXPI3FUJJpXCt1fwREroeyZPgqAfDH77jNn ZsNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693930771; x=1694535571; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nc7aDvSgD11jc9qTAmRhPuXkI/EL03RkU/8y9cpVhM8=; b=LGEKF/uJCpXN/ssJ+CNOJHZNROupBtH832+x4XRlDx6zZdKixuabdHph7jyzOoocK5 Euq647pF8v9KHxJfJ1dw1SBx+qVFcrNHENpSjj9U4JX1hyFJHPIoC9PPJjeEAbtGYqqY GQOMADamW4KfDGIPx7Gpyq/vZiEJR6OGKx/X+4zzqTDyAg6gJDN6W1rRWV9+zqPfFs+P duLunvtv9V7Cl/ZApcXEDXgjC8Dqd596fp/R8PPvhPP9U333mUNQiOWKUTKxmQR2sbka MQMSsGUocLZzGG62cpUBieZzW3zsz8JRTrstJOX2KEKT9sprglwdmUAL2cS9qFufLP8T 47aQ== X-Gm-Message-State: AOJu0Yx+dneCCdbjnDNPYJ6zJgeCFdXQ2k3i0Hk5iAJxLSKEQ9t8EZWQ ejGISQL4PzZOAk+UpXqVylqTo6OPDpcr1LIIXLQ= X-Google-Smtp-Source: AGHT+IFDt0aiNmz4JoBfxZRfoL070Nshr+IkSPI/NbDBpHRKk536hIiBuSGX6XbpHkvfBjtKOnU/ww== X-Received: by 2002:a17:906:768d:b0:9a1:db2e:9dbf with SMTP id o13-20020a170906768d00b009a1db2e9dbfmr291124ejm.14.1693930771239; Tue, 05 Sep 2023 09:19:31 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:30 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 03/12] arm64: dts: qcom: sm6115-pro1x: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:11 +0200 Message-Id: <20230905161920.252013-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: sm6115-fxtec-pro1x.dtb: phy@4807000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts index 9b70a87906dc..98eb072fa912 100644 --- a/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts +++ b/arch/arm64/boot/dts/qcom/sm6115-fxtec-pro1x.dts @@ -219,13 +219,13 @@ &ufs_mem_hc { vcc-max-microamp = <600000>; vccq2-supply = <&pm6125_l11a>; vccq2-max-microamp = <600000>; + vdd-hba-supply = <&pm6125_l18a>; status = "okay"; }; &ufs_mem_phy { vdda-phy-supply = <&pm6125_l4a>; vdda-pll-supply = <&pm6125_l12a>; - vddp-ref-clk-supply = <&pm6125_l18a>; status = "okay"; }; From patchwork Tue Sep 5 16:19:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374813 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85E40CA0FF8 for ; Tue, 5 Sep 2023 16:46:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235714AbjIEQqI (ORCPT ); Tue, 5 Sep 2023 12:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356335AbjIEQcX (ORCPT ); Tue, 5 Sep 2023 12:32:23 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E1A46A6E for ; Tue, 5 Sep 2023 09:30:58 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2bd3f629c76so45145301fa.0 for ; Tue, 05 Sep 2023 09:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931368; x=1694536168; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RGaxUhsaWm/cp+r2DPolOLK8u8MC47KqNdL9YaScpsw=; b=t7Pw/LKCmwb+3Du4Y7aPpNOC6IdzUwMWSPAA2m4+c06MY8hk/KedQjk8UDKV3R0noC wqqsEDS8IZjyV8w66/o6yaaAR+7IKbZWjr+RZhELWi6kW4Q9xA3gMCdhz3UvvQhMs/7l K4kuWMMzU6CGPOB0i9UgUt52oxsMyo/0iAbZ6Nch8rS06bLNt6iLTtCNj/UhwAxrWC2k S0mrkNPYRwFJChvji/p+DP8qcrRDRBfjlmzf7ULxPwRntfoqxx9WaR3hdO9eFQwyCvgc 6+QEtzlu+fB6Z1Edr1DKzf6h1Oj/R9aC8fTE3cdZbG/SQO1iZTA2V4oANgxCB7/tigKT 7xhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931368; x=1694536168; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RGaxUhsaWm/cp+r2DPolOLK8u8MC47KqNdL9YaScpsw=; b=AjLRKEd04/s+B2Y7a3p4UMfWn++XBq+KxuIDfoWXuye9RKdjWxbmhBYmp/y5+vdQ6g b4dv3CFY4WwhlMFy4EraQDNFiqpcxg0cDLHK96k0ivUX4CIpp3MuLIoHdgH/Cr4nHDdR SqViOgjHZIGmqfQheB60jVVeYqafhTBgdm51VLEZb7K3dh9ovO4qz4BDG039+mUheOqp p1rvZYLbWTW72Q1OG0KCgB01ucspQ9bih7a3VUob9GaizlLo5XpQSx34B9qMwShU5xjO tXjgdnFqSbql5O5PhsbmpUKrbSvArCFfwzwI6PY8DmV0m9dwggvc/XyrGjtFmHJiAwK1 fXHA== X-Gm-Message-State: AOJu0Yw1oCSaxza9dsnAfpoM3VFTyKejN4JkGM19rN9AzJvPCbiP04Qs xN5JYW6Fu7S8PF5nNXO9Ili+ij51KYigmg/SjCo= X-Google-Smtp-Source: AGHT+IEp1DTEiq7Z2Jiw52W4zhnCePvt/4EW1RpyNiAdy2vPAMIQNgxfwDn0BPDatgDGfl5TO898Pg== X-Received: by 2002:a17:906:20d0:b0:9a5:b8c1:2ce1 with SMTP id c16-20020a17090620d000b009a5b8c12ce1mr242650ejc.31.1693930772320; Tue, 05 Sep 2023 09:19:32 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:31 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 04/12] arm64: dts: qcom: sm6115p-j606f: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:12 +0200 Message-Id: <20230905161920.252013-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: sm6115p-lenovo-j606f.dtb: phy@4807000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index c2d15fc6c96b..54da053a8042 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -344,13 +344,13 @@ &ufs_mem_hc { vcc-max-microamp = <600000>; vccq2-supply = <&pm6125_l11>; vccq2-max-microamp = <600000>; + vdd-hba-supply = <&pm6125_l18>; status = "okay"; }; &ufs_mem_phy { vdda-phy-supply = <&pm6125_l4>; vdda-pll-supply = <&pm6125_l12>; - vddp-ref-clk-supply = <&pm6125_l18>; status = "okay"; }; From patchwork Tue Sep 5 16:19:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374814 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B313C83F3E for ; Tue, 5 Sep 2023 16:46:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237726AbjIEQqN (ORCPT ); Tue, 5 Sep 2023 12:46:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349943AbjIEQez (ORCPT ); Tue, 5 Sep 2023 12:34:55 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47EFF1BDA for ; Tue, 5 Sep 2023 09:33:22 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-401ec23be82so28761585e9.0 for ; Tue, 05 Sep 2023 09:33:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931473; x=1694536273; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VSrCRSGbYpW5ai6iRwGDzaSKxkP5+0TJhgHCmN0LPbE=; b=RdS8+0Zxq0BfLvcHzVL1KdOueAjidNbcuIwnO5gPPiksiGk4YKJ4wU+Z0kU8nDV4xL T46ufHkE/rNpg1QIRbhc4hJmdlzKD7amyahfWSikNjWh50IyIpKj2AJuungIXtIxuFNS vm7+kJlmJj6gz49iHUezdHgL+rGKvHknyMoRgTmaoSzcUZI7edM3TBwLaJoVoAp8bJTd fk83bJMsH3bzcy284ojuId/mh/S+3xdHeoSXvEVILs5xldz3gGmc3qRNBYiXWGuKGF6Q 4yDa1XfOkG7WRYIrC1+thbj1IlOPr52DmhlRDVHIhcFEUlNLGGast4xgvoYvI53b5LBX 1e0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931473; x=1694536273; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VSrCRSGbYpW5ai6iRwGDzaSKxkP5+0TJhgHCmN0LPbE=; b=Hu2B7Bya6wCRH67CWV7itKa9CisCIR/sKJ9IMn/9uKa74aCCIsha3VeeIYQsrkGT4j ugzhucPXc6cuBVF5QPEh9P5l1QZTMtWSUeFuSX5V+EoV9VNxIadGOP3aYjp0C4TGwh+C LCIEPol6ouA5oI/N36s8X30JzJOhAn1BZLsTrsQWCB1cojHlJ3yLUsGdy6j69J5p8v6A NOyd+fQRgnR0TNZF3PI4BO0D5eEgZjtnpUHmce1QmMvFXSxbLxfQ2C+tk6WFPbqJeXwc 1f1rttF/WyOpBIhiovfB2SJA8GIUCimFSC6esXZtbmVCtkEjosy/GR7k8Hm76/CxXW82 GBfA== X-Gm-Message-State: AOJu0YzU/t91qHSEsdy/k8brOJlKvIC1epqruKJwgxffxoe33gpoAxJ9 VxVdtcYiXV8W1k0mM1qCfDKkn0JD3zvLFo+JECA= X-Google-Smtp-Source: AGHT+IEvHvDkL/lwj2z18NbyDp5Lnix22wGCXyb6dsIf/iVENXsMx/XhwkxQAS0wyyCd41yNwAxfYg== X-Received: by 2002:a17:907:7811:b0:9a1:aa7b:482e with SMTP id la17-20020a170907781100b009a1aa7b482emr259657ejc.26.1693930773471; Tue, 05 Sep 2023 09:19:33 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:33 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 05/12] arm64: dts: qcom: apq8096-db820c: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:13 +0200 Message-Id: <20230905161920.252013-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: apq8096-db820c.dtb: phy@627000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts index 385b178314db..d2aaff3e0d02 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts @@ -1091,7 +1091,6 @@ &ufsphy { vdda-phy-supply = <&vreg_l28a_0p925>; vdda-pll-supply = <&vreg_l12a_1p8>; - vddp-ref-clk-supply = <&vreg_l25a_1p2>; }; &ufshc { @@ -1100,6 +1099,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l25a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l25a_1p2>; vcc-max-microamp = <600000>; vccq-max-microamp = <450000>; From patchwork Tue Sep 5 16:19:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374844 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D92E2CA0FFA for ; Tue, 5 Sep 2023 17:56:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238233AbjIER45 (ORCPT ); Tue, 5 Sep 2023 13:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236918AbjIER4e (ORCPT ); Tue, 5 Sep 2023 13:56:34 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1FBE1576F for ; Tue, 5 Sep 2023 10:50:10 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-400a087b0bfso27613315e9.2 for ; Tue, 05 Sep 2023 10:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693936157; x=1694540957; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mMNkXS33DtIakBT8aVq/Dj6pUL81sh6O1LziCE6q1vo=; b=mRBnFaJrlLd9mB1phH9qVRbWLCMF1vHap2Q06s/+bjrmt1gK3zkwusPccjjqxFsv1M Ic9/BKZu0KSOHNpMBYJlf0A3+8OcGrL3s02gmRNh4dM0qOUdebXCKLpJDUusz7EtAZ8o gLfLsqoM5gg1+Zfla/U5k+7obU9VMi8ooj9sDt4a4fPh/WjhBdISwpSaB9lvGHj5DrrL CBK0Q+bd5eVtnu6nMpF+vnR0rJuN48AVeS34l3m0lKmCcb2R3C3iF1mmG+zv96Mi6O8n ERwWhbE7xVmoEuVrfCNquPfqCMntYwoJygDLIy+X62t3MyDCCIlEpyYqHHSe5GBejuEl NPPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693936157; x=1694540957; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mMNkXS33DtIakBT8aVq/Dj6pUL81sh6O1LziCE6q1vo=; b=X3YjjXuRyViEieMNTMSVClE9/Xcy25cXZDQjSnQ5db/ZqNd7HFoR5AZTveaSzkJVR5 kcwW6WTLHaD0KUSu1K8HjL7o2T40IpfLlOYDO5VGlznzSni2Z5KEEcJRvNu2Ctt5ygRt aY2z0shdac7bhKyl9echHqTDDmzTGbZaZZn4DT54GtDSWKdGxa/iWwVV/V8NP0ko+uvV j/PTYBMFx/mul9aIEfjzf1xdcG4epzN0jUmY5vvvbSWgsepqaCLmrQ4zaTjjwcLF6tCk 4CjnIDJYLq1+5na1pBZYwwldc5aOrYMtwX8JU2QZAMstugGeL/Q37gVhnoE/i/zyg2El Gf6g== X-Gm-Message-State: AOJu0YxqkcVS7w8jZrfEORRXBUmX6a1WNUF6YEsjLaG068iB3PireKcD qN+eLY8mXJ4GNvP9zzFq3viJY0niEB/tnEkoFIE= X-Google-Smtp-Source: AGHT+IGmyLK/Hbbm+7HnS3z13fq4dV4e1JrpqkFp8l1qPK6NmNZOQkho31QqBdTtFI3mKQSlm7zjcw== X-Received: by 2002:a19:2d55:0:b0:500:94c5:6e06 with SMTP id t21-20020a192d55000000b0050094c56e06mr191521lft.56.1693930774506; Tue, 05 Sep 2023 09:19:34 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:34 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 06/12] arm64: dts: qcom: msm8996-oneplus: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:14 +0200 Message-Id: <20230905161920.252013-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8996-oneplus3t.dtb: phy@627000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi index ec5457508fe6..38035e0db80b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi @@ -772,7 +772,6 @@ touch_suspend: touch-suspend-state { &ufsphy { vdda-phy-supply = <&vreg_l28a_0p925>; vdda-pll-supply = <&vreg_l12a_1p8>; - vddp-ref-clk-supply = <&vreg_l25a_1p2>; status = "okay"; }; @@ -781,6 +780,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l25a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l25a_1p2>; vcc-max-microamp = <600000>; vccq-max-microamp = <450000>; From patchwork Tue Sep 5 16:19:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374856 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC2F0CA0FFA for ; Tue, 5 Sep 2023 18:33:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231161AbjIESd5 (ORCPT ); Tue, 5 Sep 2023 14:33:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239360AbjIESd4 (ORCPT ); Tue, 5 Sep 2023 14:33:56 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8FC31AE for ; Tue, 5 Sep 2023 11:33:28 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-500cd6261fdso4970227e87.3 for ; Tue, 05 Sep 2023 11:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693938740; x=1694543540; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u65I1O1lKLMNJ/qEOfucgBHMYGAUrWEEbV/2ps7wmMA=; b=xgAlYApI3Zd08N+8+gDgq/+p2VnwQ0rbJxyr5WhdOJAdmJrDW0vyXYQhrZFvTp+wX6 +VYUfZ9wBr/jaQmCmPVgJt5wLfkBCykhms7LkFc2W4mkbgCLQujch/VLdfqK/SNNiVA4 65UEZj67rcbZzxyullZ6FIIVpTMYE3AZGEq1/E+dmIzAYxjTwUN+pxUddcXrSr5FzuHx 3/6hOKfX80mLWuYx2gYDApiJWW4KH3J9xUFrLlclvCi/hMEQLmezoiCwJiDKZ4o31n1c uI6derSD5fF3FN8qaINgiAX6Ldr9Z729k2zpjY/K/91CJrA+UUpZAHBjS1NgTLeH+XUH d8eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693938740; x=1694543540; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u65I1O1lKLMNJ/qEOfucgBHMYGAUrWEEbV/2ps7wmMA=; b=eES6YJLfyPZTzi+2sAFVEsGlKykHbZXputa290FzFRXKNA9P8MLhlLJ+lAycvBX0/P oDMfnPGytXe07zWUfuIfkriuMvVrZGfJTFnVpvJhBsYhtCMGfQz0w8LfIoDctZ67/1Ii mbZ397NKAfYOlcBZei1GwX3Od61blHx6s/Yhs0fIL2n8OMdZYHi8aOdAOy2caD5yhsQg sbLtUnfXnGmr/s3aGXltM1y8nBalzAx9OplRkcFdRnAP11y2nDTnm/csXTTgLm++2Lwv UpKVV1DM4S7Godg2ReIhNz0Z88ubWC3ttQC/P/zxce+VHl3Ih1exse/hSXXCgMvqdwGG NiKw== X-Gm-Message-State: AOJu0YySW68flnCvO18C9n6XQF2rc+rlyYKbJ+osazJaVmOuYODDBF1U Z2dfO0Iat5yE2+C1WYcz3H5Ol0H1SJOIaHBKW6k= X-Google-Smtp-Source: AGHT+IE8+CDJh2xbtEx7uZ2aluglM/hJtEE/udwXwpOfMHa6iUNE1WT8MTjjF9i5oQB7WOBdc1L1zQ== X-Received: by 2002:a17:906:31d2:b0:9a2:2635:daab with SMTP id f18-20020a17090631d200b009a22635daabmr268509ejf.47.1693930775682; Tue, 05 Sep 2023 09:19:35 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:35 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 07/12] arm64: dts: qcom: msm8996-gemini: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:15 +0200 Message-Id: <20230905161920.252013-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8996-xiaomi-gemini.dtb: phy@627000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi index bcd2397eb373..9a4c11c33a17 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi @@ -419,6 +419,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l25a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l25a_1p2>; vcc-max-microamp = <600000>; vccq-max-microamp = <450000>; @@ -430,7 +431,6 @@ &ufsphy { vdda-phy-supply = <&vreg_l28a_0p925>; vdda-pll-supply = <&vreg_l12a_1p8>; - vddp-ref-clk-supply = <&vreg_l25a_1p2>; }; &venus { From patchwork Tue Sep 5 16:19:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374815 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77EE7CA0FF8 for ; Tue, 5 Sep 2023 16:46:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236811AbjIEQqP (ORCPT ); Tue, 5 Sep 2023 12:46:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238343AbjIEQg4 (ORCPT ); Tue, 5 Sep 2023 12:36:56 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E418E5C for ; Tue, 5 Sep 2023 09:34:19 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4ffa248263cso4254450e87.2 for ; Tue, 05 Sep 2023 09:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931570; x=1694536370; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wH0Ng8oy03X8SMHsmTArDNYyeNPd8XC1y8dXMDsLWIc=; b=Yx4mN0MqzO96QMm+7RYHtF6t7rHakKm+SRXEi7m+jR28vPU3BtYZ70JgJ2XwhZTyzP AqBL21f1xKvZAxi/wtU76MOrRNhOI4LaiZsvj0t1BPTgYTtct5E6iAac6yKGkljebnz5 u2YFRHO7qPjtf+oAQi6fRiIq/bXITCk9FdRip9E+QAB8/cxi8L7N5VmduiAIlLSQLVIu WgZDKI7hG2r4ny2blxPCidScmDDDFR+/4kTXdIHxUucmBulciL2AxCC3/Rae0NebR08V Wo9vlssbNqe8aXtkAQDlyNkU1Ud1QRteSycRzcdMRhgVfxYAHq04QaIGY3/Pvc2csb2c TQcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931570; x=1694536370; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wH0Ng8oy03X8SMHsmTArDNYyeNPd8XC1y8dXMDsLWIc=; b=BbaMmWIRyx7q8Y+27fSDQ6S5evnbGj5IPKf1H+shmTfoZkrOfVs5KFNmtP0DEh/P1J ZDY4kDK7iVkA5DZsAFzrzpJoR3Nvdu9JA02M3r2cohMWYvMVgjv1ROuQVutPscinK0YY wpR0/oyx8jhmzMXqmrAu03/2xoXcS6k8jRNMyZ5sFkutTGUIfcBFD2Ob1dzewdSS0VqM 7Sxgnb1g88+Kzi+5BKCxjFfMwl9CCx4h7AxYk/UBQqXd9iJwgboiDXWlUdfXpZp6ZwLw RCqxzYRu0NMEyWpk+9u+wZfN1XPBBXKxX60Fmok67fea5xRzy3e468DU6kU0PUUfRrfT B/kg== X-Gm-Message-State: AOJu0Yw7UJrMhxYTfszaTTaPpAy5u5Nt9bueHacRCe5AFgXHkdcEvxL0 gHB1TpphJH+Wma56Fo0wu5nA7nDY63wkfg1mVDk= X-Google-Smtp-Source: AGHT+IEnMq/K+PBH4fIwWFHDZIzZQAuV6yDEJtoSosWhc0PuWlIX9lGFDqQXnARU4PSyDs6TMRTApQ== X-Received: by 2002:a19:6703:0:b0:4f9:cd02:4af1 with SMTP id b3-20020a196703000000b004f9cd024af1mr211263lfc.34.1693930776810; Tue, 05 Sep 2023 09:19:36 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:36 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 08/12] arm64: dts: qcom: msm8998-pro1: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:16 +0200 Message-Id: <20230905161920.252013-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8998-fxtec-pro1.dtb: phy@1da7000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts b/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts index b6a214bea70f..f1ceaedd9520 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts @@ -671,6 +671,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l26a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l26a_1p2>; vcc-max-microamp = <750000>; vccq-max-microamp = <560000>; vccq2-max-microamp = <750000>; @@ -680,7 +681,6 @@ &ufsphy { status = "okay"; vdda-phy-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l2a_1p2>; - vddp-ref-clk-supply = <&vreg_l26a_1p2>; }; &usb3 { From patchwork Tue Sep 5 16:19:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374811 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA769CA0FF8 for ; Tue, 5 Sep 2023 16:46:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233266AbjIEQqE (ORCPT ); Tue, 5 Sep 2023 12:46:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355066AbjIEQeJ (ORCPT ); Tue, 5 Sep 2023 12:34:09 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42810173F for ; Tue, 5 Sep 2023 09:33:00 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52bd9ddb741so3874049a12.0 for ; Tue, 05 Sep 2023 09:33:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931492; x=1694536292; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jCtQWgbb02h7KYD8U2ktyb4TldTEghF6cZdnaKwaLc0=; b=pMeY4lmdo/OkRpJovzW/wCxst082fSuyZW8JsTT+VCkmED4NBDqxbxYaDuhW1fJ0FJ MQFsCS9MkOzRRuqgYi96LiDj7TchnHVky/bjDtSpxVMI1L0P+YJ5NEKf+lFD4M6KUgjI gAm7jS/3oSyL7RA+I+hyVqztGS487hrm2qa3koqP3jq5cH9POUuhK+/m4M4D66iyPI6P yshAfRxLbUKmV19qrH7ye+aVLVV64aTG6iSlkxnVJSDPO+3BhSJittyAOLPa7LCp/HP5 aFc+SjEDQVZQYVgI7ClGu5Q1AxyYHWSyajz9XiZOsX/TuJsBqPterZmH8wBOdPBHczCz biqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931492; x=1694536292; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jCtQWgbb02h7KYD8U2ktyb4TldTEghF6cZdnaKwaLc0=; b=l2xbt4+W3YSUSC6QCtC/f8pq0Rk5U37n2KcfFWpbN5gbjnISPHwp5jOxILmY15VzrE Nn+jiFsZoWHp3CpV/sYG2XYLpfGHTXXHpzs2dRqwQlo/ftQAfGRMijtgNxilB8zz1f54 VM82xTofG23IjmJmjiQ8KaYHNjoIUUv4jJ5udrHkuiZEGcGb1/7O+eB4zlVHnobQRovH fBPC9EWGc4sNswwQkAYrcSk0lGeENmyAM3HBrHpuhuIj4MFxNWogiSBJ+/ZLn+0Evenq E5p+urRManyTeKlRVA2lTRxKSBbIf1x50pKQDHuQOH4AChCKuVGtETtXbyKnPBh2e2nM ng0g== X-Gm-Message-State: AOJu0Yx0ZCRSYi7m9FhYLZNkSuuAgwZY1SDAVIqqOc+afXtSRcCIsDb6 0AG6DfmcbaeeYg03Qw1nLZOyEBPnFgg4gQBBsdg= X-Google-Smtp-Source: AGHT+IG/vRGmEaxsFaRgwpx5PNlOfs16fo0/0gTaACViAusSmncbJI1uTB1sOjpWhj3mmg2REQVmcQ== X-Received: by 2002:a17:906:cc49:b0:9a1:bcf9:4f99 with SMTP id mm9-20020a170906cc4900b009a1bcf94f99mr237434ejb.36.1693930778172; Tue, 05 Sep 2023 09:19:38 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:37 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 09/12] arm64: dts: qcom: msm8998-mtp: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:17 +0200 Message-Id: <20230905161920.252013-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8998-mtp.dtb: phy@1da7000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-mtp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-mtp.dts b/arch/arm64/boot/dts/qcom/msm8998-mtp.dts index 4319f4da8996..7c77612fb990 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-mtp.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-mtp.dts @@ -412,6 +412,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l26a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l26a_1p2>; vcc-max-microamp = <750000>; vccq-max-microamp = <560000>; vccq2-max-microamp = <750000>; @@ -421,7 +422,6 @@ &ufsphy { status = "okay"; vdda-phy-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l2a_1p2>; - vddp-ref-clk-supply = <&vreg_l26a_1p2>; }; &usb3 { From patchwork Tue Sep 5 16:19:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374816 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E674C83F2C for ; Tue, 5 Sep 2023 16:46:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238147AbjIEQqQ (ORCPT ); Tue, 5 Sep 2023 12:46:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356688AbjIEQdn (ORCPT ); Tue, 5 Sep 2023 12:33:43 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E2B5E52 for ; Tue, 5 Sep 2023 09:32:48 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5007c8308c3so4319750e87.0 for ; Tue, 05 Sep 2023 09:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693931477; x=1694536277; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=trFwEkPHlkfNhWfOX9Zlwo/iFiG9jTiXGcKaA8Pa3TY=; b=S3pOonpO07hOoGmp+eJeRfE5WigcH4vcmAQfuEavI46T2XPpsZMbubjUb4vUAgXohQ vNyr6qwF/8o1G1xczLgOlSBlkmoOmi2Tntegidmp2oOfMww+iny7Hemev+LWvaLcBB3z XENvkP6Fo8WYUV+3xduNlR6WKqmUK1slDlEfjWZJZRr/ec1R4R/9LqM+Bu8Kmy9YK8XU 2EkwVuOUZ3uvqxad5aZJEy6nfPDIk7jXRNPEKxpapiPwQw8SoskplfEJAA64hNFbQMq5 DbeuR7SnRnl/eLrgIA17TExO48vVqCFvdPRX+03GJR3a5jC+jRqyRWtCFNiYZwdRYQGW TS0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693931477; x=1694536277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=trFwEkPHlkfNhWfOX9Zlwo/iFiG9jTiXGcKaA8Pa3TY=; b=CGFCimiS+6ip5ZmQ32PS4nS+rBjGCHE3EvaFPVzeEDpA9T6GpXkD+C9HeiZBw7vYcK 3bgSJxbppTIhAKmUL9BOY30YeCFcNlemRKWiP6waGaR7++nu+G//rvpixu8lBBd2d9lK PGKBC5xwSWgzuaceOUGQafkse7raREF/uA4SY5RaKP/YenNr2ngY1xIiuBGpQLezOBEb LcKA8t81pxDYkYfZ+TcY17FE/xyivPttVdLxzAnKYlCLbj41sMP7qPb4iJQJfl4XXwGT 4ixsjvRIvA+ifya+FAJHuN1ZHTh+ND/sAW4EXb6hQjWZPGEoeyds/tL2eZZyQmZyltYR rbVA== X-Gm-Message-State: AOJu0Yzdp6YCCt3UKb21ysCwbdoPxNCQpxrI4w0aDmIHPNNB9E/Ofh7b 6dpMKwqEe7hm1jq9hHlwHPwtmui/OY4aERDhkC8= X-Google-Smtp-Source: AGHT+IEmQSd2edyvfFattJQO+ByTRQHwtfpRZPVH9fJSPo0gW/FR1OCbHCt1pdWtw63JsCDL0UuBEA== X-Received: by 2002:a17:907:789a:b0:9a5:b874:93d5 with SMTP id ku26-20020a170907789a00b009a5b87493d5mr254649ejc.76.1693930779404; Tue, 05 Sep 2023 09:19:39 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:39 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 10/12] arm64: dts: qcom: msm8998-oneplus: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:18 +0200 Message-Id: <20230905161920.252013-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8998-oneplus-dumpling.dtb: phy@1da7000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi index 68e634f8212c..e6a69d942a4a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-common.dtsi @@ -534,6 +534,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l26a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l26a_1p2>; vcc-max-microamp = <750000>; vccq-max-microamp = <560000>; vccq2-max-microamp = <750000>; @@ -544,7 +545,6 @@ &ufsphy { vdda-phy-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l2a_1p2>; - vddp-ref-clk-supply = <&vreg_l26a_1p2>; }; &usb3 { From patchwork Tue Sep 5 16:19:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374838 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1E4DCA0FFA for ; Tue, 5 Sep 2023 17:52:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233514AbjIERwY (ORCPT ); Tue, 5 Sep 2023 13:52:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238422AbjIERwR (ORCPT ); Tue, 5 Sep 2023 13:52:17 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD7952DFA5 for ; Tue, 5 Sep 2023 10:38:01 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-401c90ed2ecso27988545e9.0 for ; Tue, 05 Sep 2023 10:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693935393; x=1694540193; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wa8S3640iWUkpmAXcApvED+QJgBuG0siUdi8y84+QOg=; b=ZhRf9PDROxcdF/zM+n5q6PpL1XWbBMZDIDMKLfdRnnj9pkgz/80wpDrpqUb4nUp+XC 8lecCpnrftXmH1U5d5QzApQKtlg1HdJ0x7nbGECOob5sXKJrdtAc5zL5+HIgTOa/z7tr VZqdMUWZNJT3JDiBNp/g3HpCQhmmGhdBXmxe7yw4jIChNhNrdpZ2B0xP4TS2jku3mqfh eoLOASv9uNY3kHLL60AxhVinZIh8HTmUYe6AEJzTeuOLAMfrFfOUKKOZgIm1WQgYRYzb qNl+SCooFiRbeTEAlj6SzCu/dS6fdNFjv51nAbNL01LxX6gKtMa+70Ps6RqLj63JbIJE c05A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693935393; x=1694540193; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wa8S3640iWUkpmAXcApvED+QJgBuG0siUdi8y84+QOg=; b=OR8fHOZgzXstCeUzFwXYRHmgTji/5+XNljapr1I44cRE2ggk0mzL0l9BnKabgXvi+k Qb0+tK5NPAvmSg2ldCrtWU4cPuaTX9afzl1veBXnXCRH0/HOTE1mEw8CA0K4JH3DVFqd WHij6oSG0RCo89sc5BnVg//YEYax46RrpXUW8md0eivyEEqJDgaiTfS1vo047BYNNdXe ZU4bx5/oPdqkcAEFwUfcwCzD89jsNShHH7sGmkJVW4MZgxm2QfVxxs973a7DFEuvvF7X cJOMz8hsBYuqH1VgY/QJUAIWi0gZHmA4zJ0VC70Az4Bh25XY2j69/q9dty2yw8siiu0l gaLg== X-Gm-Message-State: AOJu0Yz27ZSqwe7q+6w2xWKFfes0tfMlZxnSOLEh8ikBXr0uSjW1dlWt q2LQysFYOeLehoGKEuGkkYigARtWV85nPyMIHgA= X-Google-Smtp-Source: AGHT+IESfv2tKGY9sWI6xhuBrGlNmksCn2wXFYAMdyLFWK3lMFwDIQDIPWPCxfg7uX/4mXrqjrYqBA== X-Received: by 2002:a17:906:18aa:b0:9a1:d087:e0bf with SMTP id c10-20020a17090618aa00b009a1d087e0bfmr237260ejf.43.1693930780565; Tue, 05 Sep 2023 09:19:40 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:40 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 11/12] arm64: dts: qcom: msm8998-sagit: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:19 +0200 Message-Id: <20230905161920.252013-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: msm8998-xiaomi-sagit.dtb: phy@1da7000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts b/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts index 437b30cc8bdc..0cac06f25a77 100644 --- a/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts +++ b/arch/arm64/boot/dts/qcom/msm8998-xiaomi-sagit.dts @@ -667,6 +667,7 @@ &ufshc { vcc-supply = <&vreg_l20a_2p95>; vccq-supply = <&vreg_l26a_1p2>; vccq2-supply = <&vreg_s4a_1p8>; + vdd-hba-supply = <&vreg_l26a_1p2>; vcc-max-microamp = <750000>; vccq-max-microamp = <560000>; vccq2-max-microamp = <750000>; @@ -676,7 +677,6 @@ &ufshc { &ufsphy { vdda-phy-supply = <&vreg_l1a_0p875>; vdda-pll-supply = <&vreg_l2a_1p2>; - vddp-ref-clk-supply = <&vreg_l26a_1p2>; status = "okay"; }; From patchwork Tue Sep 5 16:19:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13374861 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D369CA0FF7 for ; Tue, 5 Sep 2023 18:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbjIESsz (ORCPT ); Tue, 5 Sep 2023 14:48:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236990AbjIESsy (ORCPT ); Tue, 5 Sep 2023 14:48:54 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4FEAEA for ; Tue, 5 Sep 2023 11:48:28 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-52a49a42353so4179837a12.2 for ; Tue, 05 Sep 2023 11:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693939626; x=1694544426; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eDCWmN0mPD6hCatLBKjMrDlxIVWIUgJK7MJJd+ho5Vc=; b=U35sfAXLI8FQkdrHXfdBh/P0ZOzNiavlvgJIQRYcTtAlFecni5DNo7iKoorl2KHwmx jC4aOCaB8hJKrZhSDRgIGxpe1jKRSFEAr3cacGZjZIS9QnR6k3ucyzJkZUI5sc1uuVlU ZoZrbk15LYirxQt73UacuyMa0nsQ3Yj6W/e6cJntMoDLfB8ZSlkAHrcQh7xwdpzxJaUT Mj+2kfAwfy+niR8GT9+OkHqrTZrXE+qHjqwJbVzhU/h2BfYREN7+68qCasWTW+ujbWZj iARU5n7pICMErb5F4f2o0dUHJKhsuHS4ZVOlKWQGLKuvcB9knmWet+0N4HK/KzpOf2Xv CK9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693939626; x=1694544426; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eDCWmN0mPD6hCatLBKjMrDlxIVWIUgJK7MJJd+ho5Vc=; b=DGBfOSiC+ZX+0t9oNSxG4g8DJep7lXcAJMECK3+ZdQNtYBNUcOH5JC66p4FSKokmsb 3+pKhYR4dWcIMJDLF0TXHabxPEC521sa4tkzxRUHjNiQHYRXn5vBRIwoW1EEOKKNwkwv Y2pIaguzSWHUUvK24g7KGQ0Nsu1FTdTg5SD4MQQ2i3tUUrsgwiruFtZYH8Of18EEoFeD MWdEsen4/cS1QDnQQPRvgChU3o9hSHVPHhxTu/TKMzxLFh2l40sIYIMAopcODxzmcn+/ S7oRmcmBd2UMCgbYZ357SCMhxC04DwfMhzC45iwnz6noH2X82atbmB3nrrC77cgt1caV h6XQ== X-Gm-Message-State: AOJu0Yy9ILC00f501MbitB+fpLzOqxt+JhXcNKJUbFKVTxpRBpygO2rP XH4Pn4pZ953ppBsLQ81oNtfWZWKXk+yFMBLWr5w= X-Google-Smtp-Source: AGHT+IHP6OBBOhp2XqNXHnK7pnzjbPCbx0swl8k5IRAOAeEg9BeQC0c2Z0DhbmOKSgrSC4rz+j6yMQ== X-Received: by 2002:a17:907:2cd8:b0:9a2:2635:dab6 with SMTP id hg24-20020a1709072cd800b009a22635dab6mr235384ejc.47.1693930781780; Tue, 05 Sep 2023 09:19:41 -0700 (PDT) Received: from krzk-bin.. (77-252-46-238.static.ip.netia.com.pl. [77.252.46.238]) by smtp.gmail.com with ESMTPSA id v26-20020a170906489a00b0099cc36c4681sm7743165ejq.157.2023.09.05.09.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Sep 2023 09:19:41 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 12/12] arm64: dts: qcom: sm4250-billie2: correct UFS pad supply Date: Tue, 5 Sep 2023 18:19:20 +0200 Message-Id: <20230905161920.252013-13-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> References: <20230905161920.252013-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The Qualcomm UFS phy switched from dedicated driver to QMP phy driver. Eventually the old driver was removed in commit 02dca8c981b5 ("phy: qcom: remove ufs qmp phy driver"). The original driver and its binding used vddp-ref-clk regulator supply, but the new one did not and left the supply unused. The Qualcomm UFS phy bindings were also migrated to newer ones and dropped support for vddp-ref-clk regulator in commit dc5cb63592bd ("dt-bindings: phy: migrate QMP UFS PHY bindings to qcom,sc8280xp-qmp-ufs-phy.yaml"). It turns out that this regulator, although with inaccurate name vddp-ref-clk, is actually needed to provide supply for VDD_PX10 (or similar, depending on the SoC) used by UFS controller. Bring back handling of this supply by using more appropriate regulator - UFS controller host supply. This also fixes dtbs_check warning: sm4250-oneplus-billie2.dtb: phy@4807000: 'vddp-ref-clk-supply' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts index 75951fd439df..2c7a12983dae 100644 --- a/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts +++ b/arch/arm64/boot/dts/qcom/sm4250-oneplus-billie2.dts @@ -225,13 +225,13 @@ &ufs_mem_hc { vcc-max-microamp = <600000>; vccq2-supply = <&vreg_l11a>; vccq2-max-microamp = <600000>; + vdd-hba-supply = <&vreg_l18a>; status = "okay"; }; &ufs_mem_phy { vdda-phy-supply = <&vreg_l4a>; vdda-pll-supply = <&vreg_l12a>; - vddp-ref-clk-supply = <&vreg_l18a>; status = "okay"; };