arm: configs: omap2plus_defconfig: enable USB bits which work
Subsystems (2)
PATCH 1/1 arm: configs: omap2plus_defconfig: enable USB bits which work
those USB bits work fine, so we can enable them safely. Plus, without USB_PHY EHCI wouldn't work and it would take quite a few bogus error reports until all users got the new changes.
---
comiple tested only. Would be great to have someone testing on actual HW. Right now I don't have access to my HW.
cheers
arch/arm/configs/omap2plus_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/configs/omap2plus_defconfig +9 -0
@@ -74,6 +74,7 @@ CONFIG_CMA=y CONFIG_CONNECTOR=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_OMAP_OCP2SCP=y CONFIG_MTD=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_CHAR=y
@@ -206,10 +207,18 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_SUSPEND=y CONFIG_USB_MON=y +CONFIG_USB_EHCI_HCD=y CONFIG_USB_WDM=y CONFIG_USB_STORAGE=y CONFIG_USB_LIBUSUAL=y +CONFIG_USB_DWC3=m +CONFIG_USB_DWC3_DEBUG=y +CONFIG_USB_DWC3_VERBOSE=y CONFIG_USB_TEST=y +CONFIG_USB_PHY=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_OMAP_USB2=y +CONFIG_OMAP_USB3=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DEBUG=y CONFIG_USB_GADGET_DEBUG_FILES=y
Signature · 1 line
1.8.2.1
Quoted 30 lines · Felipe Balbi
those USB bits work fine, so we can enable them safely. Plus, without
USB_PHYEHCI wouldn't work and it would take quite a few bogus error reports until all users got the new changes.Signed-off-by Felipe Balbi <[email protected]>---
comiple tested only. Would be great to have someone testing on actual HW. Right now I don't have access to my HW.
cheers
arch/arm/configs/omap2plus_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm/configs/omap2plus_defconfig +1
-0@@ -74,6 +74,7 @@ CONFIG_CMA=y CONFIG_CONNECTOR=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_OMAP_OCP2SCP=y CONFIG_MTD=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_CHAR=y
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 210
Quoted 4 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -206,10 +207,18 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_SUSPEND=y CONFIG_USB_MON=y +CONFIG_USB_EHCI_HCD=y
NAK (on this particular change)
This cannot be enable by default yet as EHCI *still* breaks core retention[1] (which has been broken since at least v3.5, almost a year now.)
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 219
Quoted 9 lines
arch/arm/configs/omap2plus_defconfig +5
-0CONFIG_USB_WDM=y CONFIG_USB_STORAGE=y CONFIG_USB_LIBUSUAL=y +CONFIG_USB_DWC3=m +CONFIG_USB_DWC3_DEBUG=y +CONFIG_USB_DWC3_VERBOSE=y CONFIG_USB_TEST=y +CONFIG_USB_PHY=y +CONFIG_NOP_USB_XCEIV=y
These two are needed though since before v3.10, they used to be selected, and without them USB host doesn't work on Panda anymore.
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 221
Quoted 2 lines
arch/arm/configs/omap2plus_defconfig +2
-0+CONFIG_OMAP_USB2=y +CONFIG_OMAP_USB3=y
I guess these are for OMAP5? The changelog should probably describe which bits are for which platforms for those of us not intimate with USB.
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 224
Quoted 3 lines
arch/arm/configs/omap2plus_defconfig +0
-0CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DEBUG=y CONFIG_USB_GADGET_DEBUG_FILES=y
Kevin
[1]
commit 06b4ba529528fbf9c24ce37b7618f4b0264750e2
Author: Kevin Hilman <[email protected]> Date: Fri Jul 6 11:20:28 2012 -0700
ARM: OMAP2+: omap2plus_defconfig: EHCI driver is not stable, disable it
The EHCI driver is not stable enough to be enabled by default. In v3.5, it has at least the following problems:
- warning dump during bootup
- hang during suspend
- prevents CORE powerdomain from entering retention during idle (even when no USB devices connected.)
This demonstrates that this driver has not been thoroughly tested and therfore should not be enabled in the default defconfig.
In addition, the problems above cause new PM regressions which need be addressed before this driver should be enabled in the default defconfig.
Quoted 39 lines · Kevin Hilman
Quoted 30 lines · Felipe Balbi
those USB bits work fine, so we can enable them safely. Plus, without
USB_PHYEHCI wouldn't work and it would take quite a few bogus error reports until all users got the new changes.Signed-off-by Felipe Balbi <[email protected]>---
comiple tested only. Would be great to have someone testing on actual HW. Right now I don't have access to my HW.
cheers
arch/arm/configs/omap2plus_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm/configs/omap2plus_defconfig +1
-0@@ -74,6 +74,7 @@ CONFIG_CMA=y CONFIG_CONNECTOR=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_OMAP_OCP2SCP=y CONFIG_MTD=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_CHAR=yarch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 210
Quoted 4 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -206,10 +207,18 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_SUSPEND=y CONFIG_USB_MON=y +CONFIG_USB_EHCI_HCD=yNAK (on this particular change)
Quoted 3 lines
This cannot be enable by default yet as EHCI *still* breaks core retention[1] (which has been broken since at least v3.5, almost a year now.)
True. Due to broken smart idle/wakeup, EHCI host has to rely on IO Daisy chaining mechanism for remote wakeup.
So this can't be fixed till we have daisy chaining working with device tree boot. I do have an implementation that works with MACH boot but I don't see any point in upstreaming those as we would be moving eventually to device tree only boot.
cheers,
-roger
Quoted 1 line · Roger Quadros
On 05/14/2013 05:09 PM, Kevin Hilman wrote:
[...]
Quoted 12 lines
Quoted 11 lines
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 210
Quoted 5 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -206,10 +207,18 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_SUSPEND=y CONFIG_USB_MON=y +CONFIG_USB_EHCI_HCD=yNAK (on this particular change)
This cannot be enable by default yet as EHCI *still* breaks core retention[1] (which has been broken since at least v3.5, almost a year now.)
Quoted 5 lines
True. Due to broken smart idle/wakeup, EHCI host has to rely on IO Daisy chaining mechanism for remote wakeup.
So this can't be fixed till we have daisy chaining working with device tree boot.
... and is anyone working on that?
Kevin
Hi,
Quoted 18 lines · Kevin Hilman
Quoted 1 line · Roger Quadros
On 05/14/2013 05:09 PM, Kevin Hilman wrote:
[...]
Quoted 12 lines
Quoted 11 lines
arch/arm/configs/omap2plus_defconfig CONFIG_USB_ANNOUNCE_NEW_DEVICES=y · line 210
Quoted 5 lines
arch/arm/configs/omap2plus_defconfig +1
-0@@ -206,10 +207,18 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_DEVICEFS=y CONFIG_USB_SUSPEND=y CONFIG_USB_MON=y +CONFIG_USB_EHCI_HCD=yNAK (on this particular change)
This cannot be enable by default yet as EHCI *still* breaks core retention[1] (which has been broken since at least v3.5, almost a year now.)
Quoted 7 lines
Quoted 5 lines
True. Due to broken smart idle/wakeup, EHCI host has to rely on IO Daisy chaining mechanism for remote wakeup.
So this can't be fixed till we have daisy chaining working with device tree boot.
... and is anyone working on that?
Let's ask Tero :-)
Signature · 1 line
balbi