linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
@ 2012-10-15 18:16 Stephen Warren
       [not found] ` <1350324996-30838-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-10-15 18:16 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Almost nothing from this file is used, and the file will hopefully be
deleted soon. Copy the tiny portions that are used directly into
tegra_usb_phy.c. I believe that Venu Byravarasu is working on cleaning up
our USB driver, and those cleanups will remove the need for these
constants.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Acked-by: Venu Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
Felipe, Greg,

This patch is needed in the Tegra branch, since it's a dependency for
cleanup required to support single zImage.

However, I suspect/hope there will be significant improvements to the Tegra
USB driver in 3.8, and this change may merge-conflict with those. It may be
simplest if this patch can /also/ be taken through the USB tree and so act
as a baseline for any Tegra USB work.

As such, may I please request this patch be merged into a separate branch/tag
in the USB tree, which is then merged into both the Tegra and USB trees.

Thanks.
---
 drivers/usb/phy/tegra_usb_phy.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/phy/tegra_usb_phy.c b/drivers/usb/phy/tegra_usb_phy.c
index 987116f..9d13c81 100644
--- a/drivers/usb/phy/tegra_usb_phy.c
+++ b/drivers/usb/phy/tegra_usb_phy.c
@@ -29,7 +29,9 @@
 #include <linux/usb/ulpi.h>
 #include <asm/mach-types.h>
 #include <linux/usb/tegra_usb_phy.h>
-#include <mach/iomap.h>
+
+#define TEGRA_USB_BASE		0xC5000000
+#define TEGRA_USB_SIZE		SZ_16K
 
 #define ULPI_VIEWPORT		0x170
 
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
       [not found] ` <1350324996-30838-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2012-10-15 19:22   ` Felipe Balbi
       [not found]     ` <20121015192240.GB373-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
  2012-10-29 17:02   ` Stephen Warren
  1 sibling, 1 reply; 6+ messages in thread
From: Felipe Balbi @ 2012-10-15 19:22 UTC (permalink / raw)
  To: Stephen Warren
  Cc: Felipe Balbi, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]

hi,

On Mon, Oct 15, 2012 at 12:16:36PM -0600, Stephen Warren wrote:
> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> 
> Almost nothing from this file is used, and the file will hopefully be
> deleted soon. Copy the tiny portions that are used directly into
> tegra_usb_phy.c. I believe that Venu Byravarasu is working on cleaning up
> our USB driver, and those cleanups will remove the need for these
> constants.
> 
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> Acked-by: Venu Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> Felipe, Greg,
> 
> This patch is needed in the Tegra branch, since it's a dependency for
> cleanup required to support single zImage.
> 
> However, I suspect/hope there will be significant improvements to the Tegra
> USB driver in 3.8, and this change may merge-conflict with those. It may be
> simplest if this patch can /also/ be taken through the USB tree and so act
> as a baseline for any Tegra USB work.
> 
> As such, may I please request this patch be merged into a separate branch/tag
> in the USB tree, which is then merged into both the Tegra and USB trees.

I can take this through my transceiver branch, but I would really like
to see v3.8 having a real (platform_)driver ready. The current state of
that code is quite bad IMHO and needs some love.

cheers

ps: will leave this in the mailing list for a few more days before
applying.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
       [not found]     ` <20121015192240.GB373-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
@ 2012-10-15 21:22       ` Stephen Warren
       [not found]         ` <507C7E7F.9090605-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-10-15 21:22 UTC (permalink / raw)
  To: balbi-l0cyMroinI0
  Cc: Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 10/15/2012 01:22 PM, Felipe Balbi wrote:
> hi,
> 
> On Mon, Oct 15, 2012 at 12:16:36PM -0600, Stephen Warren wrote:
>> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>> 
>> Almost nothing from this file is used, and the file will
>> hopefully be deleted soon. Copy the tiny portions that are used
>> directly into tegra_usb_phy.c. I believe that Venu Byravarasu is
>> working on cleaning up our USB driver, and those cleanups will
>> remove the need for these constants.
>> 
>> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Acked-by: Venu
>> Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- Felipe, Greg,
>> 
>> This patch is needed in the Tegra branch, since it's a dependency
>> for cleanup required to support single zImage.
>> 
>> However, I suspect/hope there will be significant improvements to
>> the Tegra USB driver in 3.8, and this change may merge-conflict
>> with those. It may be simplest if this patch can /also/ be taken
>> through the USB tree and so act as a baseline for any Tegra USB
>> work.
>> 
>> As such, may I please request this patch be merged into a
>> separate branch/tag in the USB tree, which is then merged into
>> both the Tegra and USB trees.
> 
> I can take this through my transceiver branch, but I would really
> like to see v3.8 having a real (platform_)driver ready. The current
> state of that code is quite bad IMHO and needs some love.

Thanks for getting back on this. Please don't *just* take this through
your tree though. What I'm asking for above is a topic branch
containing just this commit, so that commit and branch can be merged
into both your USB branch and my Tegra branch.

Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
       [not found]         ` <507C7E7F.9090605-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2012-10-16  9:54           ` Felipe Balbi
       [not found]             ` <20121016095416.GE5548-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Felipe Balbi @ 2012-10-16  9:54 UTC (permalink / raw)
  To: Stephen Warren
  Cc: balbi-l0cyMroinI0, Greg Kroah-Hartman,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]

Hi,

On Mon, Oct 15, 2012 at 03:22:07PM -0600, Stephen Warren wrote:
> On 10/15/2012 01:22 PM, Felipe Balbi wrote:
> > hi,
> > 
> > On Mon, Oct 15, 2012 at 12:16:36PM -0600, Stephen Warren wrote:
> >> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> >> 
> >> Almost nothing from this file is used, and the file will
> >> hopefully be deleted soon. Copy the tiny portions that are used
> >> directly into tegra_usb_phy.c. I believe that Venu Byravarasu is
> >> working on cleaning up our USB driver, and those cleanups will
> >> remove the need for these constants.
> >> 
> >> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Acked-by: Venu
> >> Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- Felipe, Greg,
> >> 
> >> This patch is needed in the Tegra branch, since it's a dependency
> >> for cleanup required to support single zImage.
> >> 
> >> However, I suspect/hope there will be significant improvements to
> >> the Tegra USB driver in 3.8, and this change may merge-conflict
> >> with those. It may be simplest if this patch can /also/ be taken
> >> through the USB tree and so act as a baseline for any Tegra USB
> >> work.
> >> 
> >> As such, may I please request this patch be merged into a
> >> separate branch/tag in the USB tree, which is then merged into
> >> both the Tegra and USB trees.
> > 
> > I can take this through my transceiver branch, but I would really
> > like to see v3.8 having a real (platform_)driver ready. The current
> > state of that code is quite bad IMHO and needs some love.
> 
> Thanks for getting back on this. Please don't *just* take this through
> your tree though. What I'm asking for above is a topic branch
> containing just this commit, so that commit and branch can be merged
> into both your USB branch and my Tegra branch.

done. Already available on my xceiv branch. Here's a pull request:

The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37:

  Linux 3.7-rc1 (2012-10-14 14:41:04 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tegra-header-cleanup

for you to fetch changes up to 8355b0208a44904741dbd78fea6f203c3556699a:

  usb: phy: tegra remove include of <mach/iomap.h> (2012-10-16 12:48:38 +0300)

----------------------------------------------------------------
Stephen Warren (1):
      usb: phy: tegra remove include of <mach/iomap.h>

 drivers/usb/phy/tegra_usb_phy.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
       [not found]             ` <20121016095416.GE5548-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
@ 2012-10-16 17:32               ` Stephen Warren
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Warren @ 2012-10-16 17:32 UTC (permalink / raw)
  To: balbi-l0cyMroinI0
  Cc: Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 10/16/2012 03:54 AM, Felipe Balbi wrote:
> Hi,
> 
> On Mon, Oct 15, 2012 at 03:22:07PM -0600, Stephen Warren wrote:
>> On 10/15/2012 01:22 PM, Felipe Balbi wrote:
>>> hi,
>>> 
>>> On Mon, Oct 15, 2012 at 12:16:36PM -0600, Stephen Warren
>>> wrote:
>>>> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>>>> 
>>>> Almost nothing from this file is used, and the file will 
>>>> hopefully be deleted soon. Copy the tiny portions that are
>>>> used directly into tegra_usb_phy.c. I believe that Venu
>>>> Byravarasu is working on cleaning up our USB driver, and
>>>> those cleanups will remove the need for these constants.
>>>> 
>>>> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Acked-by:
>>>> Venu Byravarasu <vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- Felipe, Greg,
>>>> 
>>>> This patch is needed in the Tegra branch, since it's a
>>>> dependency for cleanup required to support single zImage.
>>>> 
>>>> However, I suspect/hope there will be significant
>>>> improvements to the Tegra USB driver in 3.8, and this change
>>>> may merge-conflict with those. It may be simplest if this
>>>> patch can /also/ be taken through the USB tree and so act as
>>>> a baseline for any Tegra USB work.
>>>> 
>>>> As such, may I please request this patch be merged into a 
>>>> separate branch/tag in the USB tree, which is then merged
>>>> into both the Tegra and USB trees.
>>> 
>>> I can take this through my transceiver branch, but I would
>>> really like to see v3.8 having a real (platform_)driver ready.
>>> The current state of that code is quite bad IMHO and needs some
>>> love.
>> 
>> Thanks for getting back on this. Please don't *just* take this
>> through your tree though. What I'm asking for above is a topic
>> branch containing just this commit, so that commit and branch can
>> be merged into both your USB branch and my Tegra branch.
> 
> done. Already available on my xceiv branch. Here's a pull request:

Thanks very much.

I'll be pulling that branch into Tegra's for-3.8 tree today most likely.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h>
       [not found] ` <1350324996-30838-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  2012-10-15 19:22   ` Felipe Balbi
@ 2012-10-29 17:02   ` Stephen Warren
  1 sibling, 0 replies; 6+ messages in thread
From: Stephen Warren @ 2012-10-29 17:02 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

On 10/15/2012 12:16 PM, Stephen Warren wrote:
> Almost nothing from this file is used, and the file will hopefully be
> deleted soon. Copy the tiny portions that are used directly into
> tegra_usb_phy.c. I believe that Venu Byravarasu is working on cleaning up
> our USB driver, and those cleanups will remove the need for these
> constants.

Per suggestion from Greg, I have applied this to the Tegra tree for 3.8.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-29 17:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 18:16 [PATCH REPOST] usb: phy: tegra remove include of <mach/iomap.h> Stephen Warren
     [not found] ` <1350324996-30838-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-15 19:22   ` Felipe Balbi
     [not found]     ` <20121015192240.GB373-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-10-15 21:22       ` Stephen Warren
     [not found]         ` <507C7E7F.9090605-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-16  9:54           ` Felipe Balbi
     [not found]             ` <20121016095416.GE5548-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-10-16 17:32               ` Stephen Warren
2012-10-29 17:02   ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).