Re: [PATCH RFC 2/2] usb: typec: qcom: Add support for shared USBIN VBUS detection
From: Bryan O'Donoghue
Date: Wed Mar 11 2026 - 10:40:25 EST
On 11/03/2026 13:01, Konrad Dybcio wrote:
+ pmic_typec_port->vbus_detect_gpio = devm_gpiod_get_optional(dev, "vbus-detect",I thought the intent here was to have 2 GPIOs, one per port - could
+ GPIOD_IN);
you please shed some light on this?
You should have two instances of the driver. One for each port so one GPIO detect in-lieu of VBUS per port.
So for this board we would expect to see
- pmic@2::pm8150b_typec: typec@1500
- pmic@3::pm8150b_typec: typec@1500
and a VBUS GPIO associated with each type-c connector.
---
bod