From patchwork Wed Sep 24 07:57:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 4962321 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D9E849F2BB for ; Wed, 24 Sep 2014 08:02:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C79B2026D for ; Wed, 24 Sep 2014 08:02:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 452DB201B9 for ; Wed, 24 Sep 2014 08:02:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbaIXICV (ORCPT ); Wed, 24 Sep 2014 04:02:21 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:44189 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbaIXH6d (ORCPT ); Wed, 24 Sep 2014 03:58:33 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 830AE6093A6 Received: by dusk.luon.net (Postfix, from userid 1000) id 655C022E86; Wed, 24 Sep 2014 09:57:58 +0200 (CEST) From: Sjoerd Simons To: Kukjin Kim Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, Sjoerd Simons Subject: [PATCH 2/3] ARM: dts: exynos: Explicitly set dr_mode on arndale-octa Date: Wed, 24 Sep 2014 09:57:44 +0200 Message-Id: <1411545465-12930-3-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.1.0 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> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Explicitly set the dr_mode for the second dwc3 controller on the Arndale Octa board to host mode. This is required to ensure the controller is initialized in the right mode if the kernel is build with USB gadget support Reported-By: Andreas Färber Signed-off-by: Sjoerd Simons --- Changes in v3: new patch Changes in v4: Rebased on linux-samsung for-next arch/arm/boot/dts/exynos5420-arndale-octa.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts index 70a559c..7508099 100644 --- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts +++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts @@ -367,3 +367,7 @@ }; }; }; + +&usbdrd_dwc3_1 { + dr_mode = "host"; +};