linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3
@ 2012-11-29 23:41 dromede at gmail.com
  2012-12-03  2:13 ` Eric Miao
  0 siblings, 1 reply; 3+ messages in thread
From: dromede at gmail.com @ 2012-11-29 23:41 UTC (permalink / raw)
  To: linux-arm-kernel

From: Marko Katic <dromede.gmail.com>

Spitz devices only have a single mini usb a/b plug
connected to usb port 2.
This patch disables ports 1 and 3 since they are not used.

Signed-off-by: Marko Katic <dromede@gmail.com>
---
 arch/arm/mach-pxa/spitz.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
index 0f92264..4443540 100644
--- a/arch/arm/mach-pxa/spitz.c
+++ b/arch/arm/mach-pxa/spitz.c
@@ -651,7 +651,7 @@ static struct pxaohci_platform_data spitz_ohci_platform_data = {
 	.port_mode	= PMM_NPS_MODE,
 	.init		= spitz_ohci_init,
 	.exit		= spitz_ohci_exit,
-	.flags		= ENABLE_PORT_ALL | NO_OC_PROTECTION,
+	.flags		= ENABLE_PORT2 | NO_OC_PROTECTION,
 	.power_budget	= 150,
 };
 
-- 
1.7.10.4

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

* [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3
  2012-11-29 23:41 [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3 dromede at gmail.com
@ 2012-12-03  2:13 ` Eric Miao
       [not found]   ` <CAHod+GfAgcqE8Zt6hajLfb6pkReZkn-5KgOp4N9bMWuKD2vRgQ@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Miao @ 2012-12-03  2:13 UTC (permalink / raw)
  To: linux-arm-kernel

The port could be not routed to external, but used internally. I cannot
remember the details of spitz as there isn't too much public detail around,
just want to make sure no other devices are connected to port 1 and 3.

On Fri, Nov 30, 2012 at 7:41 AM,  <dromede@gmail.com> wrote:
> From: Marko Katic <dromede.gmail.com>
>
> Spitz devices only have a single mini usb a/b plug
> connected to usb port 2.
> This patch disables ports 1 and 3 since they are not used.
>
> Signed-off-by: Marko Katic <dromede@gmail.com>
> ---
>  arch/arm/mach-pxa/spitz.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c
> index 0f92264..4443540 100644
> --- a/arch/arm/mach-pxa/spitz.c
> +++ b/arch/arm/mach-pxa/spitz.c
> @@ -651,7 +651,7 @@ static struct pxaohci_platform_data spitz_ohci_platform_data = {
>         .port_mode      = PMM_NPS_MODE,
>         .init           = spitz_ohci_init,
>         .exit           = spitz_ohci_exit,
> -       .flags          = ENABLE_PORT_ALL | NO_OC_PROTECTION,
> +       .flags          = ENABLE_PORT2 | NO_OC_PROTECTION,
>         .power_budget   = 150,
>  };
>
> --
> 1.7.10.4
>

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

* [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3
       [not found]   ` <CAHod+GfAgcqE8Zt6hajLfb6pkReZkn-5KgOp4N9bMWuKD2vRgQ@mail.gmail.com>
@ 2012-12-04 21:20     ` Marko Katić
  0 siblings, 0 replies; 3+ messages in thread
From: Marko Katić @ 2012-12-04 21:20 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 3, 2012 at 3:13 AM, Eric Miao <eric.y.miao@gmail.com> wrote:
> The port could be not routed to external, but used internally. I cannot
> remember the details of spitz as there isn't too much public detail around,
> just want to make sure no other devices are connected to port 1 and 3.

I'm pretty certain both are unused. Take a look at this:

http://www.penguin.cz/~utx/zaurus/www.iral.com/~albertr/linux/zaurus/wireless/

I also tested this change and i didn't notice that something was
broken or missing.

But if no power savings are to be gained from disabling these ports then
i guess we can leave them be.

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

end of thread, other threads:[~2012-12-04 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29 23:41 [PATCH] [ARM] pxa/spitz: Disable usb port 1 and 3 dromede at gmail.com
2012-12-03  2:13 ` Eric Miao
     [not found]   ` <CAHod+GfAgcqE8Zt6hajLfb6pkReZkn-5KgOp4N9bMWuKD2vRgQ@mail.gmail.com>
2012-12-04 21:20     ` Marko Katić

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).