All of lore.kernel.org
 help / color / mirror / Atom feed
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 1/3] arm64: dts: qcom: pm8550b: add USB VBUS regulator and Type-C nodes
Date: Wed, 25 Nov 2026 12:03:16 +0000	[thread overview]
Message-ID: <sashiko-outbox-233329@kernel.org> (raw)
In-Reply-To: <20261125-topic-sm8650-deckard-tcpm-v1-1-4af33e89ea9e@linaro.org>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] arm64: dts: qcom: pm8550b: unmatched and undocumented
  compatible on pm8550b_vbus
- [Low] arm64: dts: qcom: pm8550b: undocumented compatible
  qcom,pm8550b-typec
--

commit cf2d4fe502182acd6818991415b674bdb540bbb6
Author: Neil Armstrong <neil.armstrong@linaro.org>

arm64: dts: qcom: pm8550b: add USB VBUS regulator and Type-C nodes

This commit adds the USB OTG VBUS boost regulator and Type-C port
controller nodes to pm8550b.dtsi, disabled by default.

> diff --git a/arch/arm64/boot/dts/qcom/pm8550b.dtsi b/arch/arm64/boot/dts/qcom/pm8550b.dtsi
> index 74d23b8970f4c..feb2395e920a9 100644
> --- a/arch/arm64/boot/dts/qcom/pm8550b.dtsi
> +++ b/arch/arm64/boot/dts/qcom/pm8550b.dtsi
> @@ -45,6 +45,53 @@ pm8550b_temp_alarm: temp-alarm@a00 {
>  			#thermal-sensor-cells = <0>;
>  		};
>  
> +		pm8550b_vbus: usb-vbus-regulator@2700 {
> +			compatible = "qcom,pm8550b-vbus-reg";
> +			reg = <0x2700>;
> +			regulator-min-microamp = <1000000>;
> +			regulator-max-microamp = <3000000>;
> +			status = "disabled";
> +		};

[Severity: High]
Can any driver bind to pm8550b_vbus without a fallback compatible or a
matching entry in qcom_usb_vbus_regulator_match[]?

drivers/regulator/qcom_usb_vbus-regulator.c only matches
"qcom,pm8150b-vbus-reg" and "qcom,pm4125-vbus-reg", and
"qcom,pm8550b-vbus-reg" is not documented in
Documentation/devicetree/bindings/regulator/qcom,usb-vbus-regulator.yaml.
When a board enables pm8550b_vbus and references it as vbus-supply on the
Type-C connector, no regulator is registered and
qcom_pmic_typec_port_probe() fails indefinitely with -EPROBE_DEFER.

> +
> +		pm8550b_typec: typec@2b00 {
> +			compatible = "qcom,pm8550b-typec", "qcom,pm8150b-typec";

[Severity: Low]
Should "qcom,pm8550b-typec" be added to
Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml?  That schema
currently only permits "qcom,pm6150-typec" and "qcom,pm7250b-typec" with
the "qcom,pm8150b-typec" fallback, so dtbs_check will report a validation
warning on boards that include pm8550b.dtsi.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-topic-sm8650-deckard-tcpm-v1-0-4af33e89ea9e@linaro.org?part=1

  reply	other threads:[~2026-11-25 12:03 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 [this message]
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

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-233329@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.