From patchwork Fri Jun 10 13:17:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 69778 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp289935qgf; Fri, 10 Jun 2016 06:18:08 -0700 (PDT) X-Received: by 10.98.32.140 with SMTP id m12mr2233251pfj.119.1465564688058; Fri, 10 Jun 2016 06:18:08 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ai10si12134309pad.165.2016.06.10.06.18.07; Fri, 10 Jun 2016 06:18:08 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933303AbcFJNR6 (ORCPT + 30 others); Fri, 10 Jun 2016 09:17:58 -0400 Received: from bear.ext.ti.com ([198.47.19.11]:38695 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752040AbcFJNRy (ORCPT ); Fri, 10 Jun 2016 09:17:54 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u5ADHlSo022192; Fri, 10 Jun 2016 08:17:47 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u5ADHlgD029331; Fri, 10 Jun 2016 08:17:47 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 10 Jun 2016 08:17:46 -0500 Received: from lta0400828d.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u5ADHWLS020504; Fri, 10 Jun 2016 08:17:43 -0500 From: Roger Quadros To: CC: , , , , , , , , , , , Roger Quadros Subject: [PATCH v7 3/4] ARM: dts: dra7*-evm: Enable dual-role for usb1 Date: Fri, 10 Jun 2016 16:17:29 +0300 Message-ID: <1465564650-27516-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1465564650-27516-1-git-send-email-rogerq@ti.com> References: <1465564650-27516-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 Now that we have dual-role support working at USB core, enable dual-role support for usb1 controller. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dra7-evm.dts | 5 ++++- arch/arm/boot/dts/dra72-evm-common.dtsi | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index bafcfac..75a4065 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -731,7 +731,10 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; pinctrl-names = "default"; pinctrl-0 = <&usb1_pins>; }; diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index 093538e..24ad2ff 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -571,7 +571,10 @@ }; &usb2 { - dr_mode = "host"; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; pinctrl-names = "default"; pinctrl-0 = <&usb2_pins>; };