From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon Subject: Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type Date: Fri, 18 Jan 2013 17:24:59 +0530 Message-ID: <50F93813.4010107@ti.com> References: <1358348462-27693-1-git-send-email-kishon@ti.com> <20130118114859.GC4379@arwen.pp.htv.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130118114859.GC4379-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: balbi-l0cyMroinI0@public.gmane.org Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, magnus.damm-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, alexander.shishkin-VuQAYsv1563Yd54FQh9/CA@public.gmane.org, stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, eric.y.miao-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, cbou-JGs/UdohzUI@public.gmane.org, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org List-Id: linux-omap@vger.kernel.org On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: > On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: >> New platforms are being added which has multiple PHY's (of same type) and >> which has multiple USB controllers. The binding information has to be >> present in the PHY library (otg.c) in order for it to return the >> appropriate PHY whenever the USB controller request for the PHY. So >> added a new API to pass the binding information. This API should be >> called by platform specific initialization code. >> >> So the binding should be done something like >> usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto"); specifying the USB >> controller device name, index, and the PHY device name. >> I have done this binding for OMAP platforms, but it should be done for >> all the platforms. >> >> After this design, the phy can be got by passing the USB controller device >> pointer and the index. >> >> Developed this patch series on >> git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv >> after applying "usb: musb: add driver for control module" patch series. >> >> Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. > > please resend without RFC so I can apply. I'll resend after addressing Roger's comments in a while. Thanks Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon Date: Fri, 18 Jan 2013 11:55:58 +0000 Subject: Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type Message-Id: <50F93813.4010107@ti.com> List-Id: References: <1358348462-27693-1-git-send-email-kishon@ti.com> <20130118114859.GC4379@arwen.pp.htv.fi> In-Reply-To: <20130118114859.GC4379@arwen.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: > On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: >> New platforms are being added which has multiple PHY's (of same type) and >> which has multiple USB controllers. The binding information has to be >> present in the PHY library (otg.c) in order for it to return the >> appropriate PHY whenever the USB controller request for the PHY. So >> added a new API to pass the binding information. This API should be >> called by platform specific initialization code. >> >> So the binding should be done something like >> usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto"); specifying the USB >> controller device name, index, and the PHY device name. >> I have done this binding for OMAP platforms, but it should be done for >> all the platforms. >> >> After this design, the phy can be got by passing the USB controller device >> pointer and the index. >> >> Developed this patch series on >> git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv >> after applying "usb: musb: add driver for control module" patch series. >> >> Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. > > please resend without RFC so I can apply. I'll resend after addressing Roger's comments in a while. Thanks Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <50F93813.4010107@ti.com> Date: Fri, 18 Jan 2013 17:24:59 +0530 From: kishon MIME-Version: 1.0 To: Subject: Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type References: <1358348462-27693-1-git-send-email-kishon@ti.com> <20130118114859.GC4379@arwen.pp.htv.fi> In-Reply-To: <20130118114859.GC4379@arwen.pp.htv.fi> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Cc: linux-doc@vger.kernel.org, tony@atomide.com, linux@arm.linux.org.uk, linux-sh@vger.kernel.org, alexander.shishkin@linux.intel.com, stern@rowland.harvard.edu, devicetree-discuss@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, rob.herring@calxeda.com, horms@verge.net.au, haojian.zhuang@gmail.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eric.y.miao@gmail.com, b-cousson@ti.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, cbou@mail.ru, rob@landley.net, dwmw2@infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: > On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: >> New platforms are being added which has multiple PHY's (of same type) and >> which has multiple USB controllers. The binding information has to be >> present in the PHY library (otg.c) in order for it to return the >> appropriate PHY whenever the USB controller request for the PHY. So >> added a new API to pass the binding information. This API should be >> called by platform specific initialization code. >> >> So the binding should be done something like >> usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto"); specifying the USB >> controller device name, index, and the PHY device name. >> I have done this binding for OMAP platforms, but it should be done for >> all the platforms. >> >> After this design, the phy can be got by passing the USB controller device >> pointer and the index. >> >> Developed this patch series on >> git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv >> after applying "usb: musb: add driver for control module" patch series. >> >> Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. > > please resend without RFC so I can apply. I'll resend after addressing Roger's comments in a while. Thanks Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishon@ti.com (kishon) Date: Fri, 18 Jan 2013 17:24:59 +0530 Subject: [RFC PATCH 0/6] USB: Add multiple PHYs of same type In-Reply-To: <20130118114859.GC4379@arwen.pp.htv.fi> References: <1358348462-27693-1-git-send-email-kishon@ti.com> <20130118114859.GC4379@arwen.pp.htv.fi> Message-ID: <50F93813.4010107@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: > On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: >> New platforms are being added which has multiple PHY's (of same type) and >> which has multiple USB controllers. The binding information has to be >> present in the PHY library (otg.c) in order for it to return the >> appropriate PHY whenever the USB controller request for the PHY. So >> added a new API to pass the binding information. This API should be >> called by platform specific initialization code. >> >> So the binding should be done something like >> usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto"); specifying the USB >> controller device name, index, and the PHY device name. >> I have done this binding for OMAP platforms, but it should be done for >> all the platforms. >> >> After this design, the phy can be got by passing the USB controller device >> pointer and the index. >> >> Developed this patch series on >> git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv >> after applying "usb: musb: add driver for control module" patch series. >> >> Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. > > please resend without RFC so I can apply. I'll resend after addressing Roger's comments in a while. Thanks Kishon From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753967Ab3ARLzo (ORCPT ); Fri, 18 Jan 2013 06:55:44 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:60219 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807Ab3ARLzm (ORCPT ); Fri, 18 Jan 2013 06:55:42 -0500 Message-ID: <50F93813.4010107@ti.com> Date: Fri, 18 Jan 2013 17:24:59 +0530 From: kishon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: CC: , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH 0/6] USB: Add multiple PHYs of same type References: <1358348462-27693-1-git-send-email-kishon@ti.com> <20130118114859.GC4379@arwen.pp.htv.fi> In-Reply-To: <20130118114859.GC4379@arwen.pp.htv.fi> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 18 January 2013 05:18 PM, Felipe Balbi wrote: > On Wed, Jan 16, 2013 at 08:30:56PM +0530, Kishon Vijay Abraham I wrote: >> New platforms are being added which has multiple PHY's (of same type) and >> which has multiple USB controllers. The binding information has to be >> present in the PHY library (otg.c) in order for it to return the >> appropriate PHY whenever the USB controller request for the PHY. So >> added a new API to pass the binding information. This API should be >> called by platform specific initialization code. >> >> So the binding should be done something like >> usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto"); specifying the USB >> controller device name, index, and the PHY device name. >> I have done this binding for OMAP platforms, but it should be done for >> all the platforms. >> >> After this design, the phy can be got by passing the USB controller device >> pointer and the index. >> >> Developed this patch series on >> git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git xceiv >> after applying "usb: musb: add driver for control module" patch series. >> >> Did basic enumeration testing in omap4 panda, omap4 sdp and omap3 beagle. > > please resend without RFC so I can apply. I'll resend after addressing Roger's comments in a while. Thanks Kishon