From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kukjin Kim Subject: Re: [PATCH 0/3 v4] Fix Exynos USB on kernels with USB Gadget support Date: Thu, 25 Sep 2014 17:34:18 +0900 Message-ID: <5423D38A.5080609@samsung.com> References: <542199F4.3090601@samsung.com> <1411545465-12930-1-git-send-email-sjoerd.simons@collabora.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-pd0-f180.google.com ([209.85.192.180]:43395 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752549AbaIYIe0 (ORCPT ); Thu, 25 Sep 2014 04:34:26 -0400 In-Reply-To: <1411545465-12930-1-git-send-email-sjoerd.simons@collabora.co.uk> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Sjoerd Simons Cc: Kukjin Kim , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , linux-arm-kernel@lists.infradead.org On 09/24/14 16:57, Sjoerd Simons wrote: > Same patches as v3 but rebased on > https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/= log/?h=3Dfor-next > Thanks, applied. - Kukjin > When building a kernel with support for both USB host and USB Gadget = support on > the dwc3 controller on the Exynos5 soc will go into USB OTG mode unle= ss > otherwise specified in the dtb, which is unhelpful for boards hooked = up to run > as USB host. > > First patch in this set explicitely set the dual-role mode for the dw= c3 > controller on Peach pi and Peach pit boards to host mode. Second patc= h adds > similar updates for Arndale Octa as reported by Andreas F=C3=A4rber. = Last patch > enables gadget mode in the default exynos config to more easily catch= /trigger > issues like these. > > I suspect the Samsung SMDK5420 DTS might need similar changes, so it = would be > great if users of those board could verify this. > > Changes in v2: alphabetically sort the dts entries > Changes in v3: Add DTS updates for arndale octa > Changes in v4: Rebased on todays linux-samsungs for-next branch > > Sjoerd Simons (3): > ARM: dts: exynos: Explicitly set dr_mode on peach-pit and peach-pi > ARM: dts: exynos: Explicitly set dr_mode on arndale-octa > ARM: exynos_defconfig: enable USB gadget support > > arch/arm/boot/dts/exynos5420-arndale-octa.dts | 4 ++++ > arch/arm/boot/dts/exynos5420-peach-pit.dts | 8 ++++++++ > arch/arm/boot/dts/exynos5420.dtsi | 4 ++-- > arch/arm/boot/dts/exynos5800-peach-pi.dts | 8 ++++++++ > arch/arm/configs/exynos_defconfig | 1 + > 5 files changed, 23 insertions(+), 2 deletions(-) From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Thu, 25 Sep 2014 17:34:18 +0900 Subject: [PATCH 0/3 v4] Fix Exynos USB on kernels with USB Gadget support In-Reply-To: <1411545465-12930-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <542199F4.3090601@samsung.com> <1411545465-12930-1-git-send-email-sjoerd.simons@collabora.co.uk> Message-ID: <5423D38A.5080609@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 09/24/14 16:57, Sjoerd Simons wrote: > Same patches as v3 but rebased on > https://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next > Thanks, applied. - Kukjin > When building a kernel with support for both USB host and USB Gadget support on > the dwc3 controller on the Exynos5 soc will go into USB OTG mode unless > otherwise specified in the dtb, which is unhelpful for boards hooked up to run > as USB host. > > First patch in this set explicitely set the dual-role mode for the dwc3 > controller on Peach pi and Peach pit boards to host mode. Second patch adds > similar updates for Arndale Octa as reported by Andreas F?rber. Last patch > enables gadget mode in the default exynos config to more easily catch/trigger > issues like these. > > I suspect the Samsung SMDK5420 DTS might need similar changes, so it would be > great if users of those board could verify this. > > Changes in v2: alphabetically sort the dts entries > Changes in v3: Add DTS updates for arndale octa > Changes in v4: Rebased on todays linux-samsungs for-next branch > > Sjoerd Simons (3): > ARM: dts: exynos: Explicitly set dr_mode on peach-pit and peach-pi > ARM: dts: exynos: Explicitly set dr_mode on arndale-octa > ARM: exynos_defconfig: enable USB gadget support > > arch/arm/boot/dts/exynos5420-arndale-octa.dts | 4 ++++ > arch/arm/boot/dts/exynos5420-peach-pit.dts | 8 ++++++++ > arch/arm/boot/dts/exynos5420.dtsi | 4 ++-- > arch/arm/boot/dts/exynos5800-peach-pi.dts | 8 ++++++++ > arch/arm/configs/exynos_defconfig | 1 + > 5 files changed, 23 insertions(+), 2 deletions(-)