Re: [PATCH 7/8] ARM: dts: qcom: pm8921: Add USB ID extcon
From: Dmitry Baryshkov
Date: Tue Apr 21 2026 - 21:52:10 EST
On Tue, Apr 21, 2026 at 11:45:13AM +0200, Alexandre MINETTE via B4 Relay wrote:
> From: Alexandre MINETTE <contact@xxxxxxxxxxx>
>
> Add the PM8921 USB ID interrupt as a disabled extcon provider. Boards
> can enable it when their USB controller consumes the PMIC USB ID state
> for OTG role detection.
>
> The interrupt corresponds to PM8921 USB_ID_IN, block 6 bit 1.
>
> Signed-off-by: Alexandre MINETTE <contact@xxxxxxxxxxx>
> ---
> arch/arm/boot/dts/qcom/pm8921.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom/pm8921.dtsi b/arch/arm/boot/dts/qcom/pm8921.dtsi
> index 535cb6a2543f..935383d6a594 100644
> --- a/arch/arm/boot/dts/qcom/pm8921.dtsi
> +++ b/arch/arm/boot/dts/qcom/pm8921.dtsi
> @@ -41,6 +41,13 @@ rtc@11d {
> allow-set-time;
> };
>
> + usb_id: usb-detect {
Let's see if we can find register info... Anyway, if there is no reg, it
should be placed either before or after all the other nodes (to keep the
sort order).
> + compatible = "qcom,pm8921-misc";
> + interrupt-names = "usb_id";
> + interrupts-extended = <&pm8921 49 IRQ_TYPE_EDGE_BOTH>;
> + status = "disabled";
> + };
> +
> pm8921_keypad: keypad@148 {
> compatible = "qcom,pm8921-keypad";
> reg = <0x148>;
>
> --
> 2.43.0
>
>
--
With best wishes
Dmitry