From patchwork Mon Jan 23 11:19:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 92209 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1176964qgi; Mon, 23 Jan 2017 03:22:54 -0800 (PST) X-Received: by 10.99.116.22 with SMTP id p22mr31845458pgc.161.1485170573949; Mon, 23 Jan 2017 03:22:53 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32si15386320pld.175.2017.01.23.03.22.52; Mon, 23 Jan 2017 03:22:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751142AbdAWLUl (ORCPT + 25 others); Mon, 23 Jan 2017 06:20:41 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:44677 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbdAWLUj (ORCPT ); Mon, 23 Jan 2017 06:20:39 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v0NBK6Ba021649; Mon, 23 Jan 2017 05:20:06 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v0NBK5c1014165; Mon, 23 Jan 2017 05:20:06 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.294.0; Mon, 23 Jan 2017 05:20:05 -0600 Received: from lta0400828d.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v0NBJgSS009680; Mon, 23 Jan 2017 05:20:04 -0600 From: Roger Quadros To: , CC: , , , , , Roger Quadros Subject: [PATCH 8/8] ARM: dts: am57xx-idk: Enable dual-role mode for USB2 Date: Mon, 23 Jan 2017 13:19:41 +0200 Message-ID: <1485170381-32110-9-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1485170381-32110-1-git-send-email-rogerq@ti.com> References: <1485170381-32110-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org USB port is micro-AB type and can function as peripheral as well as host. Enable dual-role mode for USB2. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am57xx-idk-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm/boot/dts/am57xx-idk-common.dtsi b/arch/arm/boot/dts/am57xx-idk-common.dtsi index 814a720..14bdb24 100644 --- a/arch/arm/boot/dts/am57xx-idk-common.dtsi +++ b/arch/arm/boot/dts/am57xx-idk-common.dtsi @@ -376,7 +376,7 @@ }; &usb2 { - dr_mode = "peripheral"; + dr_mode = "otg"; }; &mmc2 {