devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Vinod Koul <vkoul@kernel.org>,
	 Kishon Vijay Abraham I <kishon@kernel.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Abel Vesa <abel.vesa@linaro.org>,
	 Wesley Cheng <quic_wcheng@quicinc.com>,
	cros-qcom-dts-watchers@chromium.org,
	 Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konrad.dybcio@linaro.org>,
	 David Wronek <davidwronek@gmail.com>,
	Andy Gross <andy.gross@linaro.org>,
	 Evan Green <evgreen@chromium.org>,
	Douglas Anderson <dianders@chromium.org>,
	 Iskren Chernev <me@iskren.info>,
	Luca Weiss <luca.weiss@fairphone.com>,
	 Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	 Yassine Oudjana <y.oudjana@protonmail.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	 linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
	 devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzk@kernel.org>,
	 Konrad Dybcio <konrad.dybcio@somainline.org>,
	 Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: [PATCH 12/13] arm64: dts: sda660-ifc6560: document missing USB PHY supplies
Date: Wed, 01 May 2024 19:19:38 +0300	[thread overview]
Message-ID: <20240501-qcom-phy-fixes-v1-12-f1fd15c33fb3@linaro.org> (raw)
In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org>

On the IFC6560 one of the USB PHY supplies is the L10A power supply.
However this regulator also supplies VDDA_APC1_CS, VDD_PLL2 and VDD_P11
consumers. Touching the supply causes the board to be reset. Document
the supply as a fixed always-on regulator.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
index 702ab49bbc59..60412281ab27 100644
--- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
+++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
@@ -96,6 +96,18 @@ v5p0_boost: v5p0-boost-regulator {
 
 		vin-supply = <&vph_pwr>;
 	};
+
+	/*
+	 * this is also used for APC1 CPU power, touching it resets the board
+	 */
+	vreg_l10a_1p8: vreg-l10a-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vreg_l10a_1p8";
+		regulator-min-microvolt = <1804000>;
+		regulator-max-microvolt = <1896000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
 };
 
 &adsp_pil {
@@ -220,6 +232,7 @@ &qusb2phy0 {
 	status = "okay";
 
 	vdd-supply = <&vreg_l1b_0p925>;
+	vdda-pll-supply = <&vreg_l10a_1p8>;
 	vdda-phy-dpdm-supply = <&vreg_l7b_3p125>;
 };
 
@@ -227,6 +240,7 @@ &qusb2phy1 {
 	status = "okay";
 
 	vdd-supply = <&vreg_l1b_0p925>;
+	vdda-pll-supply = <&vreg_l10a_1p8>;
 	vdda-phy-dpdm-supply = <&vreg_l7b_3p125>;
 };
 
@@ -464,5 +478,6 @@ &usb3_dwc3 {
 
 &usb3_qmpphy {
 	vdda-phy-supply = <&vreg_l1b_0p925>;
+	vdda-pll-supply = <&vreg_l10a_1p8>;
 	status = "okay";
 };

-- 
2.39.2


  parent reply	other threads:[~2024-05-01 16:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-01 16:19 [PATCH 00/13] arm64: dts: qcom: fix PHY-related warnings Dmitry Baryshkov
2024-05-01 16:19 ` [PATCH 01/13] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: fix x1e80100-gen3x2 schema Dmitry Baryshkov
2024-05-03  7:04   ` Krzysztof Kozlowski
2024-05-01 16:19 ` [PATCH 02/13] dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: fix msm899[68] power-domains Dmitry Baryshkov
2024-05-03  7:04   ` Krzysztof Kozlowski
2024-05-01 16:19 ` [PATCH 03/13] dt-bindings: phy: qcom,usb-snps-femto-v2: use correct fallback for sc8180x Dmitry Baryshkov
2024-05-03  7:04   ` Krzysztof Kozlowski
2024-05-09 14:16   ` Rob Herring
2024-05-09 14:44     ` Dmitry Baryshkov
2024-05-01 16:19 ` [PATCH 04/13] arm64: dts: qcom: sc7180: drop extra UFS PHY compat Dmitry Baryshkov
2024-05-01 19:23   ` Doug Anderson
2024-05-01 16:19 ` [PATCH 05/13] arm64: dts: qcom: sc8180x: add power-domain to UFS PHY Dmitry Baryshkov
2024-05-01 23:04   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 06/13] arm64: dts: qcom: sdm845: " Dmitry Baryshkov
2024-05-01 23:05   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 07/13] arm64: dts: qcom: sm6115: " Dmitry Baryshkov
2024-05-01 23:05   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 08/13] arm64: dts: qcom: sm6350: " Dmitry Baryshkov
2024-05-01 23:05   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 09/13] arm64: dts: qcom: sm8250: " Dmitry Baryshkov
2024-05-01 23:06   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 10/13] arm64: dts: qcom: sm8350: " Dmitry Baryshkov
2024-05-01 23:06   ` Konrad Dybcio
2024-05-01 16:19 ` [PATCH 11/13] arm64: dts: qcom: sm8450: " Dmitry Baryshkov
2024-05-01 23:06   ` Konrad Dybcio
2024-05-01 16:19 ` Dmitry Baryshkov [this message]
2024-05-01 23:09   ` [PATCH 12/13] arm64: dts: sda660-ifc6560: document missing USB PHY supplies Konrad Dybcio
2024-05-01 16:19 ` [PATCH 13/13] arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY Dmitry Baryshkov
2024-05-01 23:12   ` Konrad Dybcio
2024-05-04 12:20 ` (subset) [PATCH 00/13] arm64: dts: qcom: fix PHY-related warnings Vinod Koul
2024-05-27  3:00 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240501-qcom-phy-fixes-v1-12-f1fd15c33fb3@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=abel.vesa@linaro.org \
    --cc=andersson@kernel.org \
    --cc=andy.gross@linaro.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=davidwronek@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=evgreen@chromium.org \
    --cc=kishon@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=luca.weiss@fairphone.com \
    --cc=me@iskren.info \
    --cc=quic_wcheng@quicinc.com \
    --cc=robh@kernel.org \
    --cc=vkoul@kernel.org \
    --cc=y.oudjana@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).