Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753829AbbG2TKn (ORCPT ); Wed, 29 Jul 2015 15:10:43 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:33727 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752194AbbG2TKl (ORCPT ); Wed, 29 Jul 2015 15:10:41 -0400 MIME-Version: 1.0 In-Reply-To: <1433250873-20780-1-git-send-email-ivan.ivanov@linaro.org> References: <1433250873-20780-1-git-send-email-ivan.ivanov@linaro.org> Date: Wed, 29 Jul 2015 12:10:40 -0700 Message-ID: Subject: Re: [PATCH v3] usb: chipidea: Use extcon framework for VBUS and ID detect From: Tim Bird To: "Ivan T. Ivanov" Cc: Peter Chen , Linux Kernel Mailing List , "linux-usb@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1349 Lines: 34 On Tue, Jun 2, 2015 at 6:14 AM, Ivan T. Ivanov 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 > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/