From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: balbi-l0cyMroinI0@public.gmane.org
Cc: vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org,
Linux USB Mailing List
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Greg KH
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org,
aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org,
p.paneri-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org,
tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
yuxu-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org
Subject: Re: [PATCH] usb: phy: rename all phy drivers to phy-$name.c
Date: Mon, 11 Mar 2013 11:05:15 -0600 [thread overview]
Message-ID: <513E0ECB.5030205@wwwdotorg.org> (raw)
In-Reply-To: <20130311070108.GF12860-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
On 03/11/2013 01:01 AM, Felipe Balbi wrote:
> Hi,
>
> On Fri, Mar 08, 2013 at 11:33:48AM -0700, Stephen Warren wrote:
>> On 03/08/2013 12:08 AM, Felipe Balbi wrote:
>>> On Thu, Mar 07, 2013 at 01:37:17PM -0700, Stephen Warren
>>> wrote:
>>>> On 03/07/2013 08:45 AM, Felipe Balbi wrote:
>>>>> this will make sure that we have sensible names for all
>>>>> phy drivers. Current situation was already quite bad with
>>>>> too generic names being used.
>>>>
>>>> Is phy-$name specific enough? There are other types of PHY
>>>> such as Ethernet, etc. What about phy-usb-$name?
>>>
>>> we will be creating a generic (kernel-wide) phy layer, so I
>>> guess that matters very little. Specially since we don't want
>>> to be differentiating PHYs by their subsystem and rather by the
>>> IP name (which means phy-tegra, phy-samsung, phy-omap, are all
>>> 'wrong', but there were no better names).
>>
>> On other thought here: The Tegra PHY in question here very
>> specifically is a USB PHY. There's no way it could be used as
>> e.g. a SATA PHY, either as a HW block or given the driver code
>> that program is. Is sharing a PHY IP block or driver ever
>> possible for any HW?
>
> yes it is possible, and OMAP5 shares the same IP for USB3 and SATA.
> PHYs don't know about USB, SATA, Ethernet and whatnot. PHYs know
> solely about the physical layer. Their work is just to generate the
> proper electrical signals.
Hmm. Is the current code in drivers/usb/phy/tegra_usb_phy.c not really
a PHY driver, then? Tegra's USB PHY HW module definitely does know
that it's specifically a USB PHY. It has direct knowledge of
UTMI/ULPI/... Instead, should the code be part of the EHCI driver,
since the concept of a PHY known to drivers/usb/phy doesn't seem
related to what the Tegra PHY HW actually is?
next prev parent reply other threads:[~2013-03-11 17:05 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-07 15:45 [PATCH] usb: phy: rename all phy drivers to phy-$name.c Felipe Balbi
[not found] ` <1362671126-24571-1-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2013-03-07 15:46 ` Felipe Balbi
2013-03-07 20:37 ` Stephen Warren
[not found] ` <5138FA7D.3040104-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-08 7:08 ` Felipe Balbi
[not found] ` <20130308070836.GB21589-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-08 17:26 ` Stephen Warren
[not found] ` <513A1F55.1000800-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-11 6:59 ` Felipe Balbi
[not found] ` <20130311065903.GE12860-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-11 17:02 ` Stephen Warren
[not found] ` <513E0E33.1020105-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-11 18:49 ` Felipe Balbi
[not found] ` <20130311184933.GA8228-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-11 19:54 ` Stephen Warren
[not found] ` <513E368E.3070507-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-11 20:28 ` Felipe Balbi
2013-03-08 18:33 ` Stephen Warren
[not found] ` <513A2F0C.8090201-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-11 7:01 ` Felipe Balbi
[not found] ` <20130311070108.GF12860-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-11 17:05 ` Stephen Warren [this message]
[not found] ` <513E0ECB.5030205-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-03-11 18:05 ` Felipe Balbi
2013-03-08 7:21 ` Venu Byravarasu
[not found] ` <D958900912E20642BCBC71664EFECE3E6E50310DD2-QZ+emBqkIFBDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2013-03-08 7:38 ` Felipe Balbi
[not found] ` <20130308073821.GG21589-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2013-03-13 12:31 ` Venu Byravarasu
[not found] ` <D958900912E20642BCBC71664EFECE3E6E50311432-QZ+emBqkIFBDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2013-03-13 12:34 ` Felipe Balbi
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=513E0ECB.5030205@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=aletes.xgr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=balbi-l0cyMroinI0@public.gmane.org \
--cc=gautam.vivek-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=p.paneri-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=stigge-uj/7R2tJ6VmzQB+pC5nmwQ@public.gmane.org \
--cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
--cc=vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=yuxu-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.