Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752744AbbBRHWC (ORCPT ); Wed, 18 Feb 2015 02:22:02 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:9788 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750787AbbBRHV7 (ORCPT ); Wed, 18 Feb 2015 02:21:59 -0500 X-AuditID: cbfec7f5-b7fc86d0000066b7-01-54e43d006880 Message-id: <54E43D93.1000108@samsung.com> Date: Wed, 18 Feb 2015 08:21:55 +0100 From: Andrzej Pietrasiewicz User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-version: 1.0 To: Ruslan Bilovol Cc: Krzysztof Opasiak , Alan Stern , Peter Chen , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Balbi, Felipe" , "gregkh@linuxfoundation.org" Subject: Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers References: <100e01d04493$11a2fd40$34e8f7c0$%opasiak@samsung.com> <101c01d0450e$364f9bf0$a2eed3d0$%opasiak@samsung.com> <54E1A529.50705@samsung.com> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsVy+t/xa7oMtk9CDOatNbE4eL/eonnxejaL 2xOnsVlc3jWHzWLRslZmi2Oz/zJZ9Ow8wWgx4fcFNgcOj3+H+5k8ds66y+6xf+4ado/Zd38w evRtWcXocfzGdiaPz5vkAtijuGxSUnMyy1KL9O0SuDKafj9hLFjEW3G66SB7A+NRri5GTg4J AROJA/+6mCFsMYkL99azdTFycQgJLGWU2HBwKiuE85lRYuGZI2wgVbwCWhKTvt1nB7FZBFQl Pr56zQhiswkYS+w92AFmiwqESfw5/oQZol5Q4sfkeywgtoiArsT6rTfBNjAL3GSSmHj2B1iR sECGxMLHn5ghtm1kljj34j0rSIJTIFji/70dYDazgJnEl5eHoWx5ic1r3jJPYBSYhWTJLCRl s5CULWBkXsUomlqaXFCclJ5rpFecmFtcmpeul5yfu4kREgdfdzAuPWZ1iFGAg1GJh3fhgkch QqyJZcWVuYcYJTiYlUR4lU48DhHiTUmsrEotyo8vKs1JLT7EyMTBKdXAqGC/NvjL09+v5P9M bTvUZWDJ2nsrLv7IjmWp0kL5VQKaXRdqS6/u99Od9OjD4lbnaUWznpyYk/vOxnguX9Ds/jMe 5W3dzi4TPZf4yX25f3hxVcP6JRMN9qSpy0620FP5u2lRGXP9s/21pyd4qkpXc3fFTKlrFJhe qzHtj3KnzVfp550utvdOKbEUZyQaajEXFScCAIuQoSRhAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1897 Lines: 51 W dniu 17.02.2015 o 22:02, Ruslan Bilovol pisze: > Hi Andrzej, > > On Mon, Feb 16, 2015 at 10:07 AM, Andrzej Pietrasiewicz > wrote: >> W dniu 15.02.2015 o 23:43, Ruslan Bilovol pisze: >> >> >> >>>> >>>> In my opinion all things which you have described are working out-of-box >>>> when you use configfs interface. It's mostly ready so you may create >>>> equivalent of most legacy gadgets (apart from printer and tcm) and >>>> just bind from one udc to another whenever you want. >>> >>> >>> It's because legacy gadgets are easy to use and usually don't need any >>> userspace-side configuration. Are there any plans to remove legacy >>> drivers in the future? >>> >> >> I'm not going to express strong opinions here, but their name implies >> that this can happen, some time in the future. >> >> And I also think it will not happen before the userspace part >> (libusbg, gt, gadgetd etc) is mature enough. My personal opinion >> in that matter is that it will take at least a couple of years >> to remove legacy gadgets entirely. > > OK, so it looks like there is a sense even to add new gadget/functions > with legacy support > I'm not sure what you mean exactly. For sure legacy gadgets are supported as long as they are a part of the mainline kernel. So any changes you make to the kernel must not affect the legacy gadgets, or you need to modify the legacy gadgets too and have them working. But adding new legacy-style gadgets is a completely different story. IMHO you need a _very_ good reason to succeed, but I remember Felipe expressing an opinion that chances or merging another legacy gadget were zero. AP -- 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/