From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755358AbdC2Jup (ORCPT ); Wed, 29 Mar 2017 05:50:45 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:52940 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755116AbdC2Jun (ORCPT ); Wed, 29 Mar 2017 05:50:43 -0400 Subject: Re: [PATCH v2 0/4] usb: dwc3: dual-role support To: Felipe Balbi References: <1487250377-13653-1-git-send-email-rogerq@ti.com> <87vaqthf25.fsf@linux.intel.com> CC: , , From: Roger Quadros Message-ID: <0acbdcbc-5b06-6b29-14f5-b70461685b71@ti.com> Date: Wed, 29 Mar 2017 12:50:36 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87vaqthf25.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 Hi, On 28/03/17 13:27, Felipe Balbi wrote: > Roger Quadros writes: > >> Hi, >> >> We rely on the OTG controller block or Extcon to provide us with >> VBUS and ID line status via an interrupt. >> >> This is then used to switch the controller between host, peripheral >> and idle roles based on the following table. >> >> ID VBUS dual-role state >> -- ---- --------------- >> 0 x A_HOST - Host controller active >> 1 0 B_IDLE - Both Host and Gadget controllers inactive >> 1 1 B_PERIPHERAL - Gadget controller active >> >> Series depends on >> [1] dwc3 trivial fixes - https://lkml.org/lkml/2017/2/15/204 > > right, you never sent v2 of that though, did you? :-s -ECONFUSED > In that series, the 1st patch is already picked up for v4.11-rc. I sent a v2 of the second patch but it seems it didn't apply cleanly. https://lkml.org/lkml/2017/2/16/168 I'll send the last 2 patches again based off v4.11-rc4. cheers, -roger