[opensuse-kernel] USB_DWC3 support in armv7hl kernels
Hi Guillaume, Both armv7hl/default and armv7hl/lpae kernel config files have: CONFIG_ARCH_KEYSTONE=y So it looks like these kernel flavors are supposed to support the TI Keystone2 platform. However, USB_DWC3 is disabled on both, while this driver has a sub-option CONFIG_USB_DWC3_KEYSTONE dedicated to the Keystone2 platform. So I suspect that we should change armv7hl/default and armv7hl/lpae to: CONFIG_USB_DWC3=m CONFIG_USB_DWC3_KEYSTONE=m and one of CONFIG_USB_DWC3_HOST, CONFIG_USB_DWC3_GADGET or CONFIG_USB_DWC3_DUAL_ROLE. What do you think? Same would probably apply to armv7hl/exynos with CONFIG_USB_DWC3_EXYNOS. Thanks, -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi Jean, Le 08/04/2014 15:57, Jean Delvare a écrit :
Hi Guillaume,
Both armv7hl/default and armv7hl/lpae kernel config files have: CONFIG_ARCH_KEYSTONE=y
So it looks like these kernel flavors are supposed to support the TI Keystone2 platform. However, USB_DWC3 is disabled on both, while this driver has a sub-option CONFIG_USB_DWC3_KEYSTONE dedicated to the Keystone2 platform.
So I suspect that we should change armv7hl/default and armv7hl/lpae to:
CONFIG_USB_DWC3=m CONFIG_USB_DWC3_KEYSTONE=m
I agree.
and one of CONFIG_USB_DWC3_HOST, CONFIG_USB_DWC3_GADGET or CONFIG_USB_DWC3_DUAL_ROLE. What do you think?
CONFIG_USB_DWC3_DUAL_ROLE is probably the better option. AFAIK, we have no keystone board to test it for now.
Same would probably apply to armv7hl/exynos with CONFIG_USB_DWC3_EXYNOS.
Yes, please enable it. I could test it on Arndale board later. Guillaume -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi Guillaume, Le Wednesday 09 April 2014 à 09:47 +0200, Guillaume Gardet a écrit :
Le 08/04/2014 15:57, Jean Delvare a écrit :
Both armv7hl/default and armv7hl/lpae kernel config files have: CONFIG_ARCH_KEYSTONE=y
So it looks like these kernel flavors are supposed to support the TI Keystone2 platform. However, USB_DWC3 is disabled on both, while this driver has a sub-option CONFIG_USB_DWC3_KEYSTONE dedicated to the Keystone2 platform.
So I suspect that we should change armv7hl/default and armv7hl/lpae to:
CONFIG_USB_DWC3=m CONFIG_USB_DWC3_KEYSTONE=m
I agree.
and one of CONFIG_USB_DWC3_HOST, CONFIG_USB_DWC3_GADGET or CONFIG_USB_DWC3_DUAL_ROLE. What do you think?
CONFIG_USB_DWC3_DUAL_ROLE is probably the better option. AFAIK, we have no keystone board to test it for now.
Same would probably apply to armv7hl/exynos with CONFIG_USB_DWC3_EXYNOS.
Yes, please enable it. I could test it on Arndale board later.
Would you be kind enough and provide the patches? I don't even have an arm host or build environment to test the new config files. Blindly editing these arm config files, I could easily commit inconsistent files due to missed dependencies or selects. So I think it's better if you do it and I commit your patches. Thanks, -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le 09/04/2014 11:36, Jean Delvare a écrit :
Hi Guillaume,
Le Wednesday 09 April 2014 à 09:47 +0200, Guillaume Gardet a écrit :
Le 08/04/2014 15:57, Jean Delvare a écrit :
Both armv7hl/default and armv7hl/lpae kernel config files have: CONFIG_ARCH_KEYSTONE=y
So it looks like these kernel flavors are supposed to support the TI Keystone2 platform. However, USB_DWC3 is disabled on both, while this driver has a sub-option CONFIG_USB_DWC3_KEYSTONE dedicated to the Keystone2 platform.
So I suspect that we should change armv7hl/default and armv7hl/lpae to:
CONFIG_USB_DWC3=m CONFIG_USB_DWC3_KEYSTONE=m I agree.
and one of CONFIG_USB_DWC3_HOST, CONFIG_USB_DWC3_GADGET or CONFIG_USB_DWC3_DUAL_ROLE. What do you think?
CONFIG_USB_DWC3_DUAL_ROLE is probably the better option. AFAIK, we have no keystone board to test it for now.
Same would probably apply to armv7hl/exynos with CONFIG_USB_DWC3_EXYNOS. Yes, please enable it. I could test it on Arndale board later. Would you be kind enough and provide the patches? I don't even have an arm host or build environment to test the new config files. Blindly editing these arm config files, I could easily commit inconsistent files due to missed dependencies or selects. So I think it's better if you do it and I commit your patches.
I will try to provide those patches by Friday. Are you working on master and 13.1 or only master ? Guillaume -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le Wednesday 09 April 2014 à 11:43 +0200, Guillaume Gardet a écrit :
Le 09/04/2014 11:36, Jean Delvare a écrit :
Would you be kind enough and provide the patches? I don't even have an arm host or build environment to test the new config files. Blindly editing these arm config files, I could easily commit inconsistent files due to missed dependencies or selects. So I think it's better if you do it and I commit your patches.
I will try to provide those patches by Friday. Are you working on master and 13.1 or only master ?
I'm not using arm at all myself so this is really your call :) Whatever makes your life easier. Thanks, -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi jean, Sorry for the delay but here are the requested armv7 config updates + a few other updates. They include: * config/armv7hl/default : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone SoC only - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards * config/armv7hl/exynos : - Enable CONFIG_USB_DWC3* to add USB3 support for Exynos SoC only * config/armv7hl/lpae : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone boards - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards Signed-off-by: Guillaume GARDET <guillaume.gardet@opensuse.org> Regards, Guillaume
Bonjour Guillaume, Le Tuesday 15 April 2014 à 09:27 +0200, Guillaume Gardet a écrit :
Hi jean,
Sorry for the delay but here are the requested armv7 config updates + a few other updates. They include:
* config/armv7hl/default : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone SoC only - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards
* config/armv7hl/exynos : - Enable CONFIG_USB_DWC3* to add USB3 support for Exynos SoC only
* config/armv7hl/lpae : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone boards - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards
Applied to the master branch, thank you! I've added the above explanations to the commit message. The patch doesn't apply to the openSUSE 13.1 branch so I left that branch alone for the moment. If you need some of these changes there too, just send another patch and I'll be happy to apply it. Thanks, -- Jean Delvare SUSE L3 Support -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Le 15/04/2014 10:11, Jean Delvare a écrit :
Bonjour Guillaume,
Le Tuesday 15 April 2014 à 09:27 +0200, Guillaume Gardet a écrit :
Hi jean,
Sorry for the delay but here are the requested armv7 config updates + a few other updates. They include:
* config/armv7hl/default : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone SoC only - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards
* config/armv7hl/exynos : - Enable CONFIG_USB_DWC3* to add USB3 support for Exynos SoC only
* config/armv7hl/lpae : - Switch CONFIG_PHYLIB from =m to =y (fix Ethernet on iMX6 boards) - Enable CONFIG_USB_DWC3* to add USB3 support for keystone boards - Enable CONFIG_USB_CHIPIDEA* to add USB support for iMX boards Applied to the master branch, thank you! I've added the above explanations to the commit message.
Ok. Thanks.
The patch doesn't apply to the openSUSE 13.1 branch so I left that branch alone for the moment. If you need some of these changes there too, just send another patch and I'll be happy to apply it.
I have not much time ATM. But I will backport those changes to 13.1 kernel later. Have a nice day, Guillaume -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Guillaume Gardet
-
Jean Delvare