Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1222240 > unrolled thread

Re: Chipidea ULPI driver

Started byFelipe Balbi <balbi@ti.com>
First post2015-09-10 16:50 +0200
Last post2015-09-10 17:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Chipidea ULPI driver Felipe Balbi <balbi@ti.com> - 2015-09-10 16:50 +0200
    Re: Chipidea ULPI driver Felipe Balbi <balbi@ti.com> - 2015-09-10 17:20 +0200

#1222240 — Re: Chipidea ULPI driver

FromFelipe Balbi <balbi@ti.com>
Date2015-09-10 16:50 +0200
SubjectRe: Chipidea ULPI driver
Message-ID<q7bkK-4qP-19@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

(break your lines at 80-characters)

On Thu, Sep 10, 2015 at 12:44:58PM +0000, Subbaraya Sundeep Bhatta wrote:
> Hi Peter,
> 
> We are using NOP transceiver driver for USB3320 ULPI PHY with ChipIdea
> controller.
> 
> Recently we found that one of the boards (zedboard) requires PHY
> register access to set VBUS.
> 
> Note that our local driver we had before migrating to ChipIdea driver
> calls otg_ulpi_create with flags  ULPI_OTG_DRVVBUS |
> ULPI_OTG_DRVVBUS_EXT so that VBUS is enabled at initialization.
> 
> Can you please let me know how to do this with ChipIdea case? I see
> the following solutions:
> 
> 1. Write ULPI driver for USB3320 similar to tusb1210.

this

> 2. Write ci_hdrc_zynq.c which does PHY access required for Zynq.

not this

-- 
balbi

[toc] | [next] | [standalone]


#1222260

FromFelipe Balbi <balbi@ti.com>
Date2015-09-10 17:20 +0200
Message-ID<q7bNL-5fR-1@gated-at.bofh.it>
In reply to#1222240

[Multipart message — attachments visible in raw view] — view raw

(break your lines at 80-characters)

On Thu, Sep 10, 2015 at 02:57:49PM +0000, Punnaiah Choudary Kalluri wrote:
> 
> 
> > -----Original Message-----
> > From: Felipe Balbi [mailto:balbi@ti.com]
> > Sent: Thursday, September 10, 2015 8:14 PM
> > To: Subbaraya Sundeep Bhatta
> > Cc: Peter Chen; balbi@ti.com; linux-usb@vger.kernel.org; linux-
> > kernel@vger.kernel.org; Greg Kroah-Hartman
> > (gregkh@linuxfoundation.org); kishon@ti.com; Punnaiah Choudary Kalluri
> > Subject: Re: Chipidea ULPI driver
> > 
> > (break your lines at 80-characters)
> > 
> > On Thu, Sep 10, 2015 at 12:44:58PM +0000, Subbaraya Sundeep Bhatta wrote:
> > > Hi Peter,
> > >
> > > We are using NOP transceiver driver for USB3320 ULPI PHY with ChipIdea
> > > controller.
> > >
> > > Recently we found that one of the boards (zedboard) requires PHY
> > > register access to set VBUS.
> > >
> > > Note that our local driver we had before migrating to ChipIdea driver
> > > calls otg_ulpi_create with flags  ULPI_OTG_DRVVBUS |
> > > ULPI_OTG_DRVVBUS_EXT so that VBUS is enabled at initialization.
> > >
> > > Can you please let me know how to do this with ChipIdea case? I see
> > > the following solutions:
> > >
> > > 1. Write ULPI driver for USB3320 similar to tusb1210.
> > 
> > this
> 
> How about extending the phy-ulpi driver to use it as platform driver?

this is already doable. See drivers/usb/phy/phy-am335x.c, see how it
uses nop as a library and just adds its own stuff on top.

-- 
balbi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web