Re: MUSB: Idea: board-specific OTG ID pin interrupt support

2010-08-06 Thread David Brownell
--- On Wed, 6/2/10, Jon Povey wrote: > From: Jon Povey > Subject: MUSB: Idea: board-specific OTG ID pin interrupt support > To: "linux-...@vger.kernel.org" , > "davinci-linux-open-source@linux.davincidsp.com" > > Cc: "felipe.ba...@nokia.com"

Re: MUSB: Idea: board-specific OTG ID pin interrupt support

2010-06-03 Thread jean-philippe francois
2010/6/3 Jon Povey : > Hi, > > Did you mean to email privately or forgot list CC's? > My mistake. > jean-philippe francois wrote: >> What is your use case ? >> I am having a similar problem, but without happy design foresight ;). >> >> I am only using the gadget role, but still I need to detect ex

RE: MUSB: Idea: board-specific OTG ID pin interrupt support

2010-06-03 Thread Jon Povey
jean-philippe francois wrote: > 2010/6/3 Jon Povey : >> jean-philippe francois wrote: >>> I achieved this by monitoring '/sys/devices/platform/musb_hdrc/mode' >>> in user space. >> >> We did similar using hotplug events on 2.6.10 for both mmc and usb >> storage. >> > But there is no hotplug event i

MUSB: Idea: board-specific OTG ID pin interrupt support

2010-06-02 Thread Jon Povey
Playing around with MUSB OTG on TI DM355 I am having some trouble getting A-B role switching working. On my board by happy design foresight, USB ID is also wired to a GPIO. I am currently having a go at hacking an ID interrupt into the MUSB driver to prod the state machine. This email is to se