From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751651AbcEJKN0 (ORCPT ); Tue, 10 May 2016 06:13:26 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:39789 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750910AbcEJKNY (ORCPT ); Tue, 10 May 2016 06:13:24 -0400 Subject: Re: [PATCH v7 4/5] usb: dwc3: omap: Pass VBUS and ID events transparently To: Felipe Balbi References: <1462873919-20532-1-git-send-email-rogerq@ti.com> <1462873919-20532-5-git-send-email-rogerq@ti.com> <87d1oui6eh.fsf@linux.intel.com> <5731B155.6010109@ti.com> <871t5ai5ye.fsf@linux.intel.com> CC: , , , , , , , , , , , From: Roger Quadros Message-ID: <5731B436.6020801@ti.com> Date: Tue, 10 May 2016 13:13:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <871t5ai5ye.fsf@linux.intel.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/05/16 13:05, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> On 10/05/16 12:55, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Roger Quadros writes: >>>> Don't make any decisions regarding VBUS session based on ID >>>> status. That is best left to the OTG core. >>>> >>>> Pass ID and VBUS events independent of each other so that OTG >>>> core knows exactly what to do. >>>> >>>> This makes dual-role with extcon work with OTG irq on OMAP platforms. >>>> >>>> Signed-off-by: Roger Quadros >>> >>> I have a feeling this will regress OMAP5432 uEVM. Did you test with that >>> board ? >>> >> >> Yes. Any specific test case you would like me to test? >> For now I'm just doing enumeration with g_zero. > > IIRC OMAP5 uEVM didn't have separate VBUS and ID GPIOs. How are you > handling that case ? > It comes from the PMIC, extcon-palmas.c. cheers, -roger