public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Query: Regulator framework in EHCI driver
@ 2009-11-03 11:55 Gupta, Ajay Kumar
  2009-11-03 15:30 ` Felipe Balbi
  0 siblings, 1 reply; 26+ messages in thread
From: Gupta, Ajay Kumar @ 2009-11-03 11:55 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org
  Cc: Gadiyar, Anand, felipe.balbi@nokia.com, Aggarwal, Anuj

Hi Anand/Felipe,

This is regarding regulator framework for 1V8 supply to EHCI PHY from twl4030 device.

[EHCI port on OMAP3EVM uses SMSC USB3320 PHY and uses 1V8 supply from twl4030 chip.]

I found twl4030_usb_ldo_init () function in drivers/usb/otg/twl4030-usb.c, which uses regulator framework but it can not be used by all the board which are not using twl4030 PHY. Don't you think this function need to be moved to some other common location? 

Currently we are not enabling 1V8 supply explicitly but still EHCI works on EVM as most of the twl4030 supplies are enabled by default.

I was thinking of adding regulator framework in EHCI driver which will enable the required supplies based on one of the board_data passed (same as reset_gpio) from board files.

Regards,
Ajay Gupta

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2009-11-15  7:29 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-03 11:55 Query: Regulator framework in EHCI driver Gupta, Ajay Kumar
2009-11-03 15:30 ` Felipe Balbi
2009-11-04 12:32   ` Gupta, Ajay Kumar
2009-11-04 13:39     ` Mark Brown
2009-11-04 14:30       ` Gadiyar, Anand
2009-11-04 14:41         ` Mark Brown
2009-11-04 14:45           ` Gadiyar, Anand
2009-11-04 14:48             ` Mark Brown
2009-11-04 14:50               ` Gadiyar, Anand
2009-11-04 14:56                 ` Mark Brown
2009-11-05  3:24                 ` Gupta, Ajay Kumar
2009-11-05  9:36                   ` Mark Brown
2009-11-05  9:41                     ` Felipe Balbi
2009-11-05 10:31                       ` Gadiyar, Anand
2009-11-05 11:19                         ` Mark Brown
2009-11-05 11:25                           ` Gadiyar, Anand
2009-11-11 14:56                             ` Gupta, Ajay Kumar
2009-11-11 15:46                               ` Mark Brown
2009-11-12  3:41                                 ` Gupta, Ajay Kumar
2009-11-12  3:51                                   ` Gupta, Ajay Kumar
2009-11-12  6:21                                   ` Gadiyar, Anand
2009-11-12  6:48                                     ` Gupta, Ajay Kumar
2009-11-12 12:16                                   ` Mark Brown
2009-11-13  4:22                                     ` Gupta, Ajay Kumar
2009-11-13 12:55                                       ` Mark Brown
2009-11-15  7:29                                         ` Gupta, Ajay Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox