pxa/spitz: Disable usb port 1 and 3
Subsystems (3)
PATCH 1/1 pxa/spitz: Disable usb port 1 and 3
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.
--- arch/arm/mach-pxa/spitz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-pxa/spitz.c +1 -1
@@ -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, };
Signature · 1 line
1.7.10.4
PATCH 1/1 pxa/spitz: Disable usb port 1 and 3
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.
Quoted 27 lines · On Fri, Nov 30, 2012 at 7:41 AM, <[email protected]> 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 <[email protected]>--- arch/arm/mach-pxa/spitz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-pxa/spitz.c +1
-2@@ -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
A message that is not in the archive (sent off-list or not yet received): CAHod+GfAgcqE8Zt6hajLfb6pkReZkn-5KgOp4N9bMWuKD2vRgQ@mail.gmail.com
PATCH 1/1 pxa/spitz: Disable usb port 1 and 3
Quoted 3 lines · Eric Miao
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.