[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP05o4+DT8hL8A_e6WBpV9ptZ4XYYKgM=UQa8uiRH2ox6ZP-4A@mail.gmail.com>
Date: Fri, 23 Sep 2011 17:00:47 +0530
From: "Munegowda, Keshava" <keshava_mgowda@...com>
To: Paul Walmsley <paul@...an.com>
Cc: "Cousson, Benoit" <b-cousson@...com>,
"parthab@...ia.ti.com" <parthab@...ia.ti.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Balbi, Felipe" <balbi@...com>, "Gadiyar, Anand" <gadiyar@...com>,
"sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"tony@...mide.com" <tony@...mide.com>,
"Hilman, Kevin" <khilman@...com>,
"johnstul@...ibm.com" <johnstul@...ibm.com>,
"Sripathy, Vishwanath" <vishwanath.bs@...com>
Subject: Re: [PATCH 1/5 v11] arm: omap: usb: ehci and ohci hwmod structures
for omap4
> So I'd suggest one of two approaches:
>
> 1. If the pin muxing can follow the PM runtime status of the UHH IP block,
> then the pin mux data should be associated with the UHH hwmod.
No, the mux is applicable only to ehci and ohci , where as
sysconfig is applicable to uhh ( usb_host_hs class).
> 2. If the pin muxing must follow the EHCI/OHCI IP block PM runtime status,
> then drivers/mfd/omap-usb-host.c is what should be handling the
> remuxing. omap-usb-host.c can set the dev_pm_ops of the EHCI/OHCI
> platform_devices to point to functions either in
> arch/arm/mach-omap2/usb-host.c, or local functions that call into
> mach-omap2/usb-host.c functions to handle pin remuxing. (Those
> function pointers should be provided to the MFD driver in some clean way,
> like via platform_data.)
The dev_pm_ops of ehci should exist in /drivers/usb/host/ehci-omap.c and
dev_pm_ops of phci should exist in /drivers/usb/host/ohci-omap3.c.
In the existing design, the omap-usb-host.c host can not access the
platform driver
of ehci and ohci.
But, through function pointers it is possible to send the platform
data to ehci and ohci
drivers to handle pin remuxing; but we will not able to use tero's
patches; and it will prevent
our future design activity for remote wakeup of ehci and ohci.
please let me know if you have thoughts on this.
Regards
Keshava
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists