Re: [PATCH RFC 1/2] dt-bindings: usb: qcom,pmic-typec: Document vbus-detect-gpios property

From: Alexander Koskovich

Date: Wed Mar 11 2026 - 22:59:48 EST


On Wednesday, March 11th, 2026 at 10:34 PM, Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> wrote:

> On Sun, Mar 08, 2026 at 11:20:27PM +0000, Alexander Koskovich wrote:
> > Add the optional vbus-detect-gpios property for devices where the PMIC's
> > built-in VBUS detection is unreliable.
> >
> > Signed-off-by: Alexander Koskovich <akoskovich@xxxxx>
> > ---
> > Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> > index 6d3fa2bc9cee..f45bf3e34c03 100644
> > --- a/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> > +++ b/Documentation/devicetree/bindings/usb/qcom,pmic-typec.yaml
> > @@ -78,6 +78,12 @@ properties:
> > - const: msg-rx-discarded
> > - const: fr-swap
> >
> > + vbus-detect-gpios:
> > + maxItems: 1
> > + description:
> > + GPIO used to detect VBUS presence when the PMIC's built-in VBUS
> > + detection is unreliable.
>
> Can we use vbus-gpios from the usb-connector instead?

Didn't see that! Yes definitely, will update v2 to use that instead.

>
> > +
> > vdd-vbus-supply:
> > description: VBUS power supply.
> >
> >
> > --
> > 2.53.0
> >
> >
>
> --
> With best wishes
> Dmitry
>

Thanks,
Alex