Re: [PATCH v3] usb: chipidea: Use extcon framework for VBUS and ID detect

From: Tim Bird
Date: Wed Jul 29 2015 - 15:10:45 EST


On Tue, Jun 2, 2015 at 6:14 AM, Ivan T. Ivanov <ivan.ivanov@xxxxxxxxxx> wrote:
> On recent Qualcomm platforms VBUS and ID lines are not routed to
> USB PHY LINK controller. Use extcon framework to receive connect
> and disconnect ID and VBUS notification.
>
> Signed-off-by: Ivan T. Ivanov <ivan.ivanov@xxxxxxxxxx>
> ---
> Changes sice v2 [1].
>
> * Simulate IRQ on extcon event - used to trigger OTG state machine.
>
> I have to admit that I couldn't test complete Chipidea OTG state machine,
> because my setup is little weird. I am using "qcom,usb-otg-ci" as PHY/OTG
> provider, "qcom,ehci-host" as host controller driver and "qcom,ci-hdrc" for
> device role.

Ivan,

Do you have patches for the code (presumably pmic code) where the vbus and id
lines are signaled? Presumably you've added some extcon_set_cable_state() calls
somewhere in your source tree, for this to work. I'm wondering if you
can share your
work in progress, or let me know when you plan to push that upstream?

I'm interested in testing the msm usb code (specifically host mode support)
on my dragonboard here.

Thanks,
-- Tim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/