Re: Creating a new xhci-hcd platform device

2013-04-22 Thread yehuda yitchak
On Mon, Apr 22, 2013 at 12:13 PM, Felipe Balbi wrote: > Hi, > > On Mon, Apr 22, 2013 at 11:54:34AM +0300, yehuda yitchak wrote: >> >> >> I want to ask your advice on the best approach for implementing a new >> >> >> XHCI host controller. >> >> >> I am going to add Linux support for a new XHCI host

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread Felipe Balbi
Hi, On Mon, Apr 22, 2013 at 11:54:34AM +0300, yehuda yitchak wrote: > >> >> I want to ask your advice on the best approach for implementing a new > >> >> XHCI host controller. > >> >> I am going to add Linux support for a new XHCI host controller for > >> >> Marvell SOCs. > >> >> > >> >> I looked

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread yehuda yitchak
On Mon, Apr 22, 2013 at 11:54 AM, Ben Dooks wrote: > If the code is small, then I don't see any problem with adding it directly > to the xhci-plat.c driver (or in this case you'll probably need an xhci-of > binding as well) im not sure it is small. you can look at drivers/dma/mv_xor.c function "mv

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread yehuda yitchak
On Mon, Apr 22, 2013 at 11:30 AM, Felipe Balbi wrote: > HI, > > On Mon, Apr 22, 2013 at 11:17:25AM +0300, yehuda yitchak wrote: >> >> I want to ask your advice on the best approach for implementing a new >> >> XHCI host controller. >> >> I am going to add Linux support for a new XHCI host controll

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread Ben Dooks
If the code is small, then I don't see any problem with adding it directly to the xhci-plat.c driver (or in this case you'll probably need an xhci-of binding as well) I was wondering if the marvell system supports a more generic way of attaching devices which have these bus window mappings on them

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread Felipe Balbi
HI, On Mon, Apr 22, 2013 at 11:17:25AM +0300, yehuda yitchak wrote: > >> I want to ask your advice on the best approach for implementing a new > >> XHCI host controller. > >> I am going to add Linux support for a new XHCI host controller for Marvell > >> SOCs. > >> > >> I looked around the latest

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread yehuda yitchak
On Mon, Apr 22, 2013 at 10:48 AM, Felipe Balbi wrote: > Hi, > > On Mon, Apr 22, 2013 at 10:18:20AM +0300, yehuda yitchak wrote: >> Hello everyone >> >> I want to ask your advice on the best approach for implementing a new >> XHCI host controller. >> I am going to add Linux support for a new XHCI h

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread Felipe Balbi
Hi, On Mon, Apr 22, 2013 at 10:18:20AM +0300, yehuda yitchak wrote: > Hello everyone > > I want to ask your advice on the best approach for implementing a new > XHCI host controller. > I am going to add Linux support for a new XHCI host controller for Marvell > SOCs. > > I looked around the lat

Re: Creating a new xhci-hcd platform device

2013-04-22 Thread yehuda yitchak
Hello everyone I want to ask your advice on the best approach for implementing a new XHCI host controller. I am going to add Linux support for a new XHCI host controller for Marvell SOCs. I looked around the latest XHCI support code in the kernel and found that a platform driver called “xhci-hcd”