Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754137AbbLTEw6 (ORCPT ); Sat, 19 Dec 2015 23:52:58 -0500 Received: from mail-by2on0101.outbound.protection.outlook.com ([207.46.100.101]:30503 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753670AbbLTEw4 convert rfc822-to-8bit (ORCPT ); Sat, 19 Dec 2015 23:52:56 -0500 From: Ramneek Mehresh To: Felipe Balbi , "linux-kernel@vger.kernel.org" CC: "stern@rowland.harvard.edu" , "gregkh@linuxfoundation.org" , "linux-usb@vger.kernel.org" Subject: RE: [PATCH 0/7][v4] Add OTG support for FSL socs Thread-Topic: [PATCH 0/7][v4] Add OTG support for FSL socs Thread-Index: AQHQ4OWrgOU2d//7ekyw3S1I97iTKp5j8FUAgAACWoCAA65gQA== Date: Sun, 20 Dec 2015 04:52:53 +0000 Message-ID: References: <1440693787-7339-1-git-send-email-ramneek.mehresh@freescale.com> <87fv1ju42r.fsf@saruman.tx.rr.com> <87a8rru3oq.fsf@saruman.tx.rr.com> In-Reply-To: <87a8rru3oq.fsf@saruman.tx.rr.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ramneek.mehresh@freescale.com; x-originating-ip: [192.88.169.1] x-microsoft-exchange-diagnostics: 1;SN1PR0301MB1583;5:YRfJzEMQPsUfti+xuSugqNOchlvU157AW1I+uDZH+QWfxWxE2ZKBdBT6rMAfXDXwyjy9vvjxsI+v784v+F/EIQUOd+m+CJ3oaQlO0Wn3bneawM/zaYhOha9pIQ3JPKqmXvOkm25X4WWze0U5kS59gw==;24:S39rSC0Lmuv+FDgUja7cPTpPWUlCmoJA8+8zfOu48SdCw1a+5Gs212oN+bVjbkhJQnEE2MgGDXEfaqKLf1Vl0iSgS9JaCcA/D+ee9V4rck8= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1583; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(35762410373642)(101931422205132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046);SRVR:SN1PR0301MB1583;BCL:0;PCL:0;RULEID:;SRVR:SN1PR0301MB1583; x-forefront-prvs: 0796EBEDE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(13464003)(377454003)(189002)(6116002)(92566002)(74316001)(81156007)(40100003)(50986999)(5002640100001)(10400500002)(97736004)(5004730100002)(99286002)(66066001)(122556002)(5003600100002)(77096005)(19580405001)(86362001)(33656002)(189998001)(102836003)(5001770100001)(76576001)(586003)(105586002)(5001960100002)(3846002)(2950100001)(106356001)(76176999)(2501003)(1220700001)(11100500001)(101416001)(54356999)(19580395003)(1096002)(106116001)(5008740100001)(2900100001)(87936001);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1PR0301MB1583;H:SN1PR0301MB1583.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Dec 2015 04:52:53.8372 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1583 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2236 Lines: 52 > -----Original Message----- > From: Felipe Balbi [mailto:balbi@ti.com] > Sent: Saturday, October 10, 2015 3:04 AM > To: Mehresh Ramneek-B31383 ; linux- > kernel@vger.kernel.org > Cc: stern@rowland.harvard.edu; gregkh@linuxfoundation.org; linux- > usb@vger.kernel.org; Mehresh Ramneek-B31383 > > Subject: Re: [PATCH 0/7][v4] Add OTG support for FSL socs > > Felipe Balbi writes: > > > Hi, > > > > Ramneek Mehresh writes: > >> Add support for otg for all freescale socs having internal usb phy. > >> > >> Ramneek Mehresh (7): > >> usb:fsl:otg: Make fsl otg driver as tristate > >> usb:fsl:otg: Add controller version based ULPI and UTMI phy > >> usb:fsl:otg: Add support to add/remove usb host driver > >> usb:fsl:otg: Signal host drv when host is otg > >> usb:fsl:otg: Modify otg_event to start host drv > >> usb:fsl:otg: Combine host/gadget start/resume for ID change > >> usb:fsl:otg: Add host-gadget drv sync delay > > > > Unless Alan's okay with the host side changes, I can't accept any of > > these. However, I must say some of the flags you add here already > > exist in some way, shape or form. For example, look at is_b_host flag. > Could you please be more specific...which flag you think that I should remove/I'm re-defining. The flags I'm defining are: have_hcd : defined in fsl specific structure for fsl specific use-case had_hcd: defined in fsl specific structure for fsl specific use-case is_otg : defined in include/linux/usb.h Are you suggesting using otg_port or is_b_host instead of is_otg? As I understand, is_b_host is specifically to check if an otg B device is in host mode...correct? I just need a flag to check if a controller is capable of otg operations? That's why defined "is_otg" flag. Please suggest. > Just saw Alan's reply, still, please have a look at these other flags which > already exist in usbcore today. > > -- > balbi -- 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/