From patchwork Sun Apr 26 09:41:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: LiYunzhi X-Patchwork-Id: 6275511 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A9C659F2BA for ; Sun, 26 Apr 2015 09:42:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EE920203A9 for ; Sun, 26 Apr 2015 09:42:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B864203A4 for ; Sun, 26 Apr 2015 09:42:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmJ5Q-0007nz-Fr; Sun, 26 Apr 2015 09:42:52 +0000 Received: from lucky1.263xmail.com ([211.157.147.130]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YmJ59-0007l3-4y; Sun, 26 Apr 2015 09:42:35 +0000 Received: from lyz?rock-chips.com (unknown [192.168.167.157]) by lucky1.263xmail.com (Postfix) with SMTP id 8A72B1B3BFC; Sun, 26 Apr 2015 17:42:05 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 1 X-MAIL-DELIVERY: 0 X-KSVirus-check: 0 X-ABS-CHECKED: 4 X-ADDR-CHECKED: 0 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id B99D31BAE9; Sun, 26 Apr 2015 17:41:57 +0800 (CST) X-RL-SENDER: lyz@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: lyz@rock-chips.com X-UNIQUE-TAG: <1e5ef80d85ecf7110581fa11ce386212> X-ATTACHMENT-NUM: 0 X-SENDER: lyz@rock-chips.com X-DNS-TYPE: 0 Received: from unknown (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith SMTP id 1594961CKCQ; Sun, 26 Apr 2015 17:41:59 +0800 (CST) From: Yunzhi Li To: heiko@sntech.de Subject: [PATCH v1 2/2] ARM: dts: rockchip: set dr_mode property for rk3288-firefly board Date: Sun, 26 Apr 2015 17:41:39 +0800 Message-Id: <1430041299-24874-2-git-send-email-lyz@rock-chips.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1430041299-24874-1-git-send-email-lyz@rock-chips.com> References: <1430041299-24874-1-git-send-email-lyz@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150426_024235_352155_862A07FE X-CRM114-Status: UNSURE ( 5.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) Cc: gauravsh@google.com, Mark Rutland , Russell King , hl@rock-chips.com, Pawel Moll , Ian Campbell , devicetree@vger.kernel.org, alberto@google.com, linux-kernel@vger.kernel.org, yk@rock-chips.com, linux-rockchip@lists.infradead.org, Rob Herring , Yunzhi Li , Kumar Gala , cf@rock-chips.com, wulf@rock-chips.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP rk3288-firefly board use the dwc2 usb otg controller as a host controller and the device mode not used, so the dr_mode should be "host" then the dwc2 usb otg controller will work at host only mode Signed-off-by: Yunzhi Li --- arch/arm/boot/dts/rk3288-firefly.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/rk3288-firefly.dtsi b/arch/arm/boot/dts/rk3288-firefly.dtsi index e6f873a..a861776 100644 --- a/arch/arm/boot/dts/rk3288-firefly.dtsi +++ b/arch/arm/boot/dts/rk3288-firefly.dtsi @@ -466,6 +466,7 @@ }; &usb_otg { + dr_modr = "host"; status = "okay"; };