From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759138Ab3JOFvA (ORCPT ); Tue, 15 Oct 2013 01:51:00 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:39034 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759116Ab3JOFu4 (ORCPT ); Tue, 15 Oct 2013 01:50:56 -0400 From: Kishon Vijay Abraham I To: CC: , , , , , , , , , , , , , George Cherian Subject: [PATCH v2 2/2] ARM: dts: omap5: Add dr_mode for dwc3 Date: Tue, 15 Oct 2013 11:19:59 +0530 Message-ID: <1381816199-7966-1-git-send-email-kishon@ti.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <52580F34.8030809@ti.com> References: <52580F34.8030809@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: George Cherian Added dr_mode property in dwc3 and set its default mode to device. Currently dwc3 driver doesn't have support for OTG mode. So explicitly setting to peripheral even dwc3 is a OTG controller since OMAP5 has already got an EHCI host. Signed-off-by: George Cherian Signed-off-by: Kishon Vijay Abraham I --- Changes from v1: Changed the commit log to explain why dr_mode was not set to OTG. arch/arm/boot/dts/omap5.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 6d0a1d5..ef598af 100644 --- a/arch/arm/boot/dts/omap5.dtsi +++ b/arch/arm/boot/dts/omap5.dtsi @@ -652,6 +652,7 @@ reg = <0x4a030000 0x10000>; interrupts = ; usb-phy = <&usb2_phy>, <&usb3_phy>; + dr_mode = "peripheral"; tx-fifo-resize; }; }; -- 1.7.10.4