Re: Dependency on OTG driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 06, 2010 at 02:54:08PM +0530, Pavan Kondeti wrote:
>  Hi All,
> 
> I am working on USB drivers for MSM platform. We have Device
> controller driver (DCD), Host controller driver (HCD) and basic otg
> drivers in our tree. OTG driver activates DCD/HCD based on the id
> pin status. OTG driver also takes care of memory mapping of
> registers, low power mode and phy initialization and clock
> management. This way we can avoid #ifdef statements in DCD/HCD (what
> if otg not defined / otg defined) also reuse the low power mode
> code. OTG driver is automatically selected when DCD/HCD is selected
> in menuconfig.  Is this dependency acceptable? Would like to hear
> your thoughts before sending patches.

If the otg driver is required by the host controller driver, then sure,
that makes sense.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux