From: Felipe Balbi <balbi@ti.com>
To: Roger Quadros <rogerq@ti.com>
Cc: <balbi@ti.com>, <gregkh@linuxfoundation.org>,
<stern@rowland.harvard.edu>, <arnd@arndb.de>,
<adrienverge@gmail.com>, <kishon@ti.com>,
<linux-usb@vger.kernel.org>, <linux-omap@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
Pavankumar Kondeti <pkondeti@codeaurora.org>,
Roland Stigge <stigge@antcom.de>
Subject: Re: [PATCH v3 1/2] USB: PHY: Make PHY driver selection possible by controller drivers
Date: Tue, 9 Jul 2013 14:29:48 +0300 [thread overview]
Message-ID: <20130709112948.GJ5552@arwen.pp.htv.fi> (raw)
In-Reply-To: <1371203502-29624-2-git-send-email-rogerq@ti.com>
[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]
On Fri, Jun 14, 2013 at 12:51:41PM +0300, Roger Quadros wrote:
> Convert PHY Drivers from menuconfig to menu so that the PHY drivers
> can be explicitely selected by the controller drivers.
>
> USB_PHY is no longer a user visible option. It is upto to the PHY
> drivers to select it if needed. This patch does so for the existing
> PHY drivers that use the USB_PHY library.
>
> Doing so moves the USB_PHY and PHY driver selection problem from the
> end user to the PHY and controller driver developer.
>
> e.g.
>
> Earlier, a controller driver (e.g. EHCI_OMAP) that needs to select
> a PHY driver (e.g. NOP_PHY) couldn't do so because the PHY driver
> depended on USB_PHY. Making the controller driver depend on USB_PHY
> has a negative effect i.e. it becomes invisible to the user till
> USB_PHY is enabled. Most end users will not familiar with this.
>
> With this patch, the end user just needs to select the controller driver
> needed for his/her platform without worrying about which PHY driver to
> select.
>
> Also update USB_EHCI_MSM, USB_LPC32XX and USB_OMAP to not depend
> on USB_PHY any more. They can safely select the necessary PHY drivers.
>
> CC: Pavankumar Kondeti <pkondeti@codeaurora.org>
> CC: Roland Stigge <stigge@antcom.de>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
> [USB_LPC32XX part] Acked-by: Roland Stigge <stigge@antcom.de>
>
> Signed-off-by: Roger Quadros <rogerq@ti.com>
There is one problem (?) with this: phy-core.ko will never be a module.
If that's not a problem for anyone, I guess this is safe to apply. I'll
wait a little longer until merge window closes to give people some extra
time to shout.
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-07-09 11:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-14 9:51 [PATCH v3 0/2] USB: PHY: Improve PHY selection logic Roger Quadros
2013-06-14 9:51 ` [PATCH v3 1/2] USB: PHY: Make PHY driver selection possible by controller drivers Roger Quadros
2013-07-09 11:29 ` Felipe Balbi [this message]
2013-07-09 12:01 ` Roger Quadros
2013-07-09 12:02 ` Felipe Balbi
2013-07-09 12:04 ` Roger Quadros
2013-06-14 9:51 ` [PATCH v3 2/2] USB: ehci-omap: select NOP_USB_XCEIV PHY driver Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130709112948.GJ5552@arwen.pp.htv.fi \
--to=balbi@ti.com \
--cc=adrienverge@gmail.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pkondeti@codeaurora.org \
--cc=rogerq@ti.com \
--cc=stern@rowland.harvard.edu \
--cc=stigge@antcom.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®