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: 720226 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 4AA92CA0FF7 for ; Tue, 5 Sep 2023 18:41:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235467AbjIESlt (ORCPT ); Tue, 5 Sep 2023 14:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231915AbjIESls (ORCPT ); Tue, 5 Sep 2023 14:41:48 -0400 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B494E74 for ; Tue, 5 Sep 2023 11:41:12 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-402c46c49f4so28082155e9.1 for ; Tue, 05 Sep 2023 11:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693939147; x=1694543947; 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=nhznZt6OuS3mFsoCJ1UFwxI8AutQ9Lr0qmCl7snV/Fn5ix/wCT/hF2YFULYv5mm1Yb REcDNRjZJtr+883/rAfaCLn9LnOYtZksQf1OL0VlAQxL10owIylNROWW4mFPoyngVLX/ dnuOnQzBtWs3PJwrO6F2suDTFWT0J4lm6o0enqU8u0TiFyZBhAZ8JVUseasolU16hlOt G57opiRe+4+rWxU5+P1F9PokBNKyTiHQjf78OgAlHZAzTcB5Z3X2BqqdbP4TcwY5MNHA MSXkGMoRDoyH7F3Hln95giv9IWRI9D+haHPt2nM4Ej67FCxob+35Re4BCrf9TMGzMG/j h/iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693939147; x=1694543947; 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=J1n1IsVZm6NIYsCR5sNG1W6e/zI3LwIiesgkEY6s1kNEa0iOL2G2zNME6R8FXyy4bg s6PA1DQV9ZuHL7bnDSdZ3Z5VlMdHPNvN+XPZkuub+yj/KrCF3cZGQDX0ocA+6rKXAQtl YUfuTNHDFZIzZf6aIUzIKrWYk3HnpRdyO5m1qehd444UsUlpXStc10wd2hTJU3+iGJv/ CQHHHU4WNDWo+wBpK77iv4266PJ7+ec3QAE731m54L0KujdLcsi/4BWE4ijz7WQ+gRfL Hh+bu6ULF6Vasq4xouGemipWIywmP9BZFzvQNhJJn87T5V3bTWW/nRum8Q7FYUFVjRVe DLwA== X-Gm-Message-State: AOJu0YywhSXANjoZGLqEPok2n59dS2HQGo21KF1nTIBBxWa17wXHAqoB FB14zdCs4MLt9Tfaq7XnZaamj6OFknVbz2gNe+M= 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: devicetree@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 --- 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"; };