Re: [PATCH 2/8] dt-bindings: extcon: qcom,pm8941-misc: Add PM8921 compatible

From: Dmitry Baryshkov

Date: Tue Apr 21 2026 - 21:43:53 EST


On Tue, Apr 21, 2026 at 12:03:36PM +0200, Konrad Dybcio wrote:
> On 4/21/26 11:45 AM, Alexandre MINETTE via B4 Relay wrote:
> > From: Alexandre MINETTE <contact@xxxxxxxxxxx>
> >
> > PM8921 exposes USB ID state through the same interrupt-based logic as
> > PM8941, so it can use the same Qualcomm PMIC misc extcon binding.
> >
> > Unlike PM8941, PM8921 does not need a register resource for this use
> > case, so allow qcom,pm8921-misc without requiring reg.
>
> That suggests this block doesn't really exist on the PM8921.. I
> can't find any information that would suggest otherwise.

It actually exists there, there is a USB-handling block in the PM8921 /
PM8821. The IRQ is present and it is expected to be used in the same
way. I'm also not able to find the actual registers. The closest one is
OTG controls (0x6e / 0x6f).

>
> Perhaps what you're looking for is "linux,extcon-usb-gpio" or
> "usb-b-connector"?
>
> Konrad

--
With best wishes
Dmitry