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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to