Messages in this thread | | | Date | Tue, 15 Jan 2013 19:54:23 +0530 | From | kishon <> | Subject | Re: [RFC PATCH 1/7] drivers: usb: phy: add a new driver for usb part of control module |
| |
Hi Arnd,
On Tuesday 15 January 2013 07:06 PM, Arnd Bergmann wrote: > On Tuesday 15 January 2013, Kishon Vijay Abraham I wrote: >> +OMAP CONTROL USB >> + >> +Required properties: >> + - compatible: Should be "ti,omap-control-usb" >> + - reg : Address and length of the register set for the device. It contains >> + the address of "control_dev_conf" and "otghs_control". >> + - reg-names: The names of the register addresses corresponding to the registers >> + filled in "reg". >> + - ti,has_mailbox: This is used to specify if the platform uses mailbox in >> + control module. > > I wonder whether we need to have a phandle here to connect the control device > to the actual usb device. What happens if you have multiple instances of > each?
Good point :-). Currently, none of the OMAP platforms have multiple control modules and it doesn't seem to be in the future (AFAIK). While it might be simpler to support multiple control devices with phandle, it might face the same complications as faced by the USB PHY framework for non-dt boot.
Thanks Kishon
| |