From: Alexandre MINETTE <[email protected]> PM8921 provides USB ID detection through the USB_ID_IN interrupt, which APQ8064 boards use for OTG role detection.
The Qualcomm PMIC misc extcon binding only needs the interrupt description for this use case. Allow qcom,pm8921-misc without requiring a register resource so boards can describe PM8921 USB ID detection. Signed-off-by: Alexandre MINETTE <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> --- drivers/extcon/extcon-qcom-spmi-misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/extcon/extcon-qcom-spmi-misc.c b/drivers/extcon/extcon-qcom-spmi-misc.c index afaba5685c3d..6811d3383254 100644 --- a/drivers/extcon/extcon-qcom-spmi-misc.c +++ b/drivers/extcon/extcon-qcom-spmi-misc.c @@ -199,6 +199,7 @@ static SIMPLE_DEV_PM_OPS(qcom_usb_extcon_pm_ops, qcom_usb_extcon_suspend, qcom_usb_extcon_resume); static const struct of_device_id qcom_usb_extcon_dt_match[] = { + { .compatible = "qcom,pm8921-misc", }, { .compatible = "qcom,pm8941-misc", }, { } }; -- 2.43.0

