From patchwork Fri Oct 20 10:28:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10019553 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B34D602CB for ; Fri, 20 Oct 2017 10:29:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2BC2828ED3 for ; Fri, 20 Oct 2017 10:29:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20A7A28EE2; Fri, 20 Oct 2017 10:29:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCF4A28ED3 for ; Fri, 20 Oct 2017 10:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752735AbdJTK3p (ORCPT ); Fri, 20 Oct 2017 06:29:45 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:38914 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752092AbdJTK3p (ORCPT ); Fri, 20 Oct 2017 06:29:45 -0400 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id 1633B25BEDB; Fri, 20 Oct 2017 21:29:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1508495368; bh=jIvEAbQe+PmyXoFPlmAoaXeHLfmqi10wcZR7LrnrYU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UsnwJaoXAeA7rMEG9kqi4El5h1f/cE7ns+XtIFyX2Q5ZMNnNSUBmkrtbFBV9wUpd1 TC9V5qBG8EeC6Vk+P7S6pGDSzfOWV4TszXIOaY04EC0Lexp3azOW/pkPyBNmCWuGxB UmK77+UYlC5Wr01vdPLZGg9nRaAot28Q4qWHxG0I= Received: by penelope.horms.nl (Postfix, from userid 7100) id BA85DE20430; Fri, 20 Oct 2017 12:28:35 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Yoshihiro Shimoda , Simon Horman Subject: [PATCH 31/31] arm64: dts: renesas: salvator-common: add dr_mode property for USB2.0 channel 0 Date: Fri, 20 Oct 2017 12:28:34 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Yoshihiro Shimoda Since Salvator-X[S] have a USB2.0 dual-role channel (CN9), this patch adds dr_mode property for USB2.0 channel 0 (EHCI/OHCI and HS-USB) as "otg". Signed-off-by: Yoshihiro Shimoda Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi index c883e46c06ac..2fbb6e3b5dbe 100644 --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi @@ -272,6 +272,7 @@ }; &ehci0 { + dr_mode = "otg"; status = "okay"; }; @@ -284,6 +285,7 @@ }; &hsusb { + dr_mode = "otg"; status = "okay"; }; @@ -346,6 +348,7 @@ }; &ohci0 { + dr_mode = "otg"; status = "okay"; };