From patchwork Fri Mar 16 11:11:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 131916 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp603381ljb; Fri, 16 Mar 2018 04:11:58 -0700 (PDT) X-Google-Smtp-Source: AG47ELuGxxfGW+GMXLHDmKQ806hspi5hZtBpk0GC9xdimRaFfgWdZR6KAG/C2017iToveZM3yz2F X-Received: by 10.101.83.13 with SMTP id m13mr1192523pgq.248.1521198717898; Fri, 16 Mar 2018 04:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521198717; cv=none; d=google.com; s=arc-20160816; b=EmZRw/W86H0GlLWwEGFDTvZUxzI/Tv0hbg3ncJfbjfY1rJMMPbriFeu2F44xWksvv/ OPJdBzCBMzPlMbRnzBRhoomUKmuObAFqR73wqvoUoOesYN6ApH0SnvH8VahyTxHcrzim dGp1UqNZrDztvVwSBCYAkcP9yelr1hAbVjt2SyKMYgkz0+n6LH0fvHwGBq1UQ9coXM0/ kCvG2Cnt5czmVzJabnLTheE/J2FG24QwU3tijRdbevGczgUkADd9GOh7wQlo+Mz0tDhE i5O03VvbG4aJOX2lSzDLOttr/dmSzFzgsX/GTBK0xAlvk+iKx7mC9ZcC189MzE06kjPI 7cVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature:arc-authentication-results; bh=i0KrqAvST7RcAftP0jO/L2GdFxupXuGwtS84JXslGoU=; b=LhBt+pU79U4gs3G6gnQdDvtGlfICoLQ/1WsFt46Dtu75MsIfYEQ3tq45eHrDfvZcUm /y9keW2WbnwpxO7LmxQkFOh5a9bOkJA/Wxc43gDv6svxoJf4ybkrdffvPegxtxc+M4q7 ZAq+qiMT+zxsibjsi1rBusKdWl8nyUt0qoI4DpTfbgslea+x892aj7brPt0m98nnrJSB v7/iz7bffWy3CgvX3A89g3Y4ngmXmNoGjjmr6F94/pWaff8qSRz/7exn4BuzZG0hCwQh gBBD/ZaAQuoiUXeLiWqYRWuhLFDVMwaVnS0BsFr1gEGANUB+KHkK8L6nSKBowQ6A9xf8 iKxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nrK9Q3Mm; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19si4783542pgv.74.2018.03.16.04.11.57; Fri, 16 Mar 2018 04:11:57 -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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=nrK9Q3Mm; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbeCPLLw (ORCPT + 28 others); Fri, 16 Mar 2018 07:11:52 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:62630 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753585AbeCPLLt (ORCPT ); Fri, 16 Mar 2018 07:11:49 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx193.ext.ti.com (8.15.1/8.15.1) with ESMTP id w2GBBleo031451; Fri, 16 Mar 2018 06:11:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1521198707; bh=ha5ucRydrffx9bBIY/kdqKeXCTrb7lVNs8sifS1gzSQ=; h=From:To:CC:Subject:Date; b=nrK9Q3MmiyzNryMBOhZLP2FZ5A3u3d7dVc71lrd3VEF3xL3whoTJccqrc2G0MOvlv E1Kt+sFCE1W5uSJbDY/7qkihMhFYQ8xbVAJ17r8kwV80HDU519Q4up8Go1I1X9sm+9 ggx0wC9Peoj1ODZ1oyHHd7UgG3bv4nTzIk8jodVQ= Received: from DLEE110.ent.ti.com (dlee110.ent.ti.com [157.170.170.21]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2GBBlA8011349; Fri, 16 Mar 2018 06:11:47 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 16 Mar 2018 06:11:46 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 16 Mar 2018 06:11:46 -0500 Received: from dlelxv97.itg.ti.com (dlelxv97.itg.ti.com [172.17.2.193]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2GBBk9u000423; Fri, 16 Mar 2018 06:11:46 -0500 Received: from lta0400828d.ti.com (vboxa0400828d.emea.dhcp.ti.com [172.22.232.51]) by dlelxv97.itg.ti.com (8.14.3/8.13.8) with ESMTP id w2GBBiah019237; Fri, 16 Mar 2018 06:11:45 -0500 From: Roger Quadros To: CC: , , , Roger Quadros Subject: [PATCH] ARM: dts: am43xx: Enable dual-role mode for USB1 Date: Fri, 16 Mar 2018 13:11:43 +0200 Message-ID: <1521198703-27352-1-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org USB1 port is micro-AB type and can function as peripheral as well as host. Enable dual-role mode for USB1. Signed-off-by: Roger Quadros --- Tony, The USB driver side patches are already in Felipe's next branch. arch/arm/boot/dts/am437x-gp-evm.dts | 2 +- arch/arm/boot/dts/am437x-sk-evm.dts | 2 +- arch/arm/boot/dts/am43x-epos-evm.dts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- cheers, -roger Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index c3b1a3f..8fe95cd 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -805,7 +805,7 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; status = "okay"; }; diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts index 3fa3b22..4118802 100644 --- a/arch/arm/boot/dts/am437x-sk-evm.dts +++ b/arch/arm/boot/dts/am437x-sk-evm.dts @@ -600,7 +600,7 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&usb1_pins>; diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 00c3d1d..a669418 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -856,7 +856,7 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; status = "okay"; };