From: sashiko-bot@kernel.org
To: "Neil Armstrong" <neil.armstrong@linaro.org>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm8650-valve-deckard: add Type-C connector
Date: Wed, 25 Nov 2026 12:06:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-233334@kernel.org> (raw)
In-Reply-To: <20261125-topic-sm8650-deckard-tcpm-v1-3-4af33e89ea9e@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] arm64: dts: qcom: pm8550b_vbus has no matching driver causing
-EPROBE_DEFER
--
commit cad759f37d6629d6eaf0802cb58c4ae38ebac1a3
Author: Neil Armstrong <neil.armstrong@linaro.org>
arm64: dts: qcom: sm8650-valve-deckard: add Type-C connector
This commit enables the PM8550B Type-C controller, VBUS regulator, and
USB-C connector node tied to the usb_1 controller on the Valve Deckard
board.
> diff --git a/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts b/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
> index 74bc0728ae7d7..0e68c5a6414c5 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8650-valve-deckard.dts
[ ... ]
> @@ -1122,6 +1123,46 @@ &pm8550b_temp_alarm {
> io-channel-names = "thermal";
> };
>
> +&pm8550b_typec {
> + vdd-pdphy-supply = <&vreg_l5b_3p1>;
> +
> + status = "okay";
> +
> + connector {
> + compatible = "usb-c-connector";
> +
> + power-role = "dual";
> + data-role = "dual";
> + try-power-role = "sink";
> + self-powered;
> +
> + vbus-supply = <&pm8550b_vbus>;
> +
> + source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_DUAL_ROLE |
> + PDO_FIXED_DATA_SWAP | PDO_FIXED_USB_COMM)>;
> + sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_DUAL_ROLE |
> + PDO_FIXED_DATA_SWAP | PDO_FIXED_USB_COMM)>;
> + op-sink-microwatt = <15000000>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + pmic_typec_hs_in: endpoint {
> + remote-endpoint = <&usb_1_dwc3_hs>;
> + };
> + };
> + };
> + };
> +};
> +
> +&pm8550b_vbus {
> + status = "okay";
> +};
[Severity: High]
Will pm8550b_typec defer probe indefinitely when resolving vbus-supply =
<&pm8550b_vbus>?
In arch/arm64/boot/dts/qcom/pm8550b.dtsi, pm8550b_vbus is defined with
compatible = "qcom,pm8550b-vbus-reg" and no fallback compatible, while
qcom_usb_vbus_regulator_match[] in
drivers/regulator/qcom_usb_vbus-regulator.c only matches
"qcom,pm8150b-vbus-reg" and "qcom,pm4125-vbus-reg". Because no driver
registers a regulator for pm8550b_vbus, devm_of_regulator_get_optional()
in qcom_pmic_typec_port_probe() returns ERR_PTR(-EPROBE_DEFER),
preventing the Type-C port controller and USB role switch from probing.
In addition, "qcom,pm8550b-vbus-reg" and "qcom,pm8550b-typec" are not
documented in
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml
or Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-topic-sm8650-deckard-tcpm-v1-0-4af33e89ea9e@linaro.org?part=3
prev parent reply other threads:[~2026-11-25 12:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:54 [PATCH 0/3] arm64: qcom: sm8650-valve-deckard: enable Type-C controller Neil Armstrong
2026-11-25 11:54 ` [PATCH 1/3] arm64: dts: qcom: pm8550b: add USB VBUS regulator and Type-C nodes Neil Armstrong
2026-11-25 12:03 ` sashiko-bot
2026-11-25 11:54 ` [PATCH 2/3] arm64: dts: qcom: sm8650-valve-deckard: set BOB2 as always-on Neil Armstrong
2026-11-27 11:08 ` Konrad Dybcio
2026-11-25 11:54 ` [PATCH 3/3] arm64: dts: qcom: sm8650-valve-deckard: add Type-C connector Neil Armstrong
2026-11-25 12:06 ` sashiko-bot [this message]
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=sashiko-outbox-233334@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.