From patchwork Mon Apr 27 07:31:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 11511343 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E584912 for ; Mon, 27 Apr 2020 07:32:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9D3EF2051A for ; Mon, 27 Apr 2020 07:32:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WC2jjX0q"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="0C6XeUyN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D3EF2051A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oQN6unobKLdEJIcMCnjZjFOr6stuSVzsbAo+6vTJPKM=; b=WC2jjX0qeK/MrU FKIjRSQZBfU3YZoaOZT/BvFCngrJjx8pOMKJQcwm2SXMK6DvruPnWKE/yZzf6pY+6oXSaJAJ1I/fv sNLzGwBQP+QHZ26mCl1XNSj8tVpaYcTCi90R4oN62E1UhLtrqxCGwU9lTSLD6LxKT8eewVT1/8u/V OMFQej8rrygioddbUaaKYU4TxHWyaW5fSOr4mq8yi5Y8pdrOlYwANR9zj6HZ9F1twyjmUZ29o8zk2 epWCHh8qoQ6eM8Is8w5lD5xUD+ET05qE9+qPWnLv6gM5fH9sNhJku9yKUIO3WyHunOYpdhwBFof6k 9YUjH1ogd+s0pu1MqD1w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jSyFV-0008Q8-Vo; Mon, 27 Apr 2020 07:32:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jSyEz-0007yZ-JI; Mon, 27 Apr 2020 07:31:46 +0000 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A1F0A2078E; Mon, 27 Apr 2020 07:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587972704; bh=SP8aLjy9l4P/fkjE4Dozlhxl5z9646o52s6YgA7cBHc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0C6XeUyNg6YZJHHn9hnpBRZSaZp4t0vkz/pLHBmSXFNBNzGqiReNP8+Gm/aO3eFVw N/Q4Sqs64q1H8m/bG+ibxtwVGAFQ3q5etv8UVWuNivr7lI+nRENcMeJoQOiep+Sgt+ w1E2YF7rrRXQpI1i9l5RPkiIx06ltj0btviqS0q0= Received: by wens.tw (Postfix, from userid 1000) id 78BA35FD54; Mon, 27 Apr 2020 15:31:42 +0800 (CST) From: Chen-Yu Tsai To: Heiko Stuebner , Rob Herring , Jacek Anaszewski , Pavel Machek , Dan Murphy Subject: [PATCH v2 3/3] arm64: dts: rockchip: rk3328-roc-cc: Set dr_mode to "host" for OTG Date: Mon, 27 Apr 2020 15:31:32 +0800 Message-Id: <20200427073132.29997-4-wens@kernel.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200427073132.29997-1-wens@kernel.org> References: <20200427073132.29997-1-wens@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200427_003145_657184_1A57FC6B X-CRM114-Status: GOOD ( 10.93 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-leds@vger.kernel.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org From: Chen-Yu Tsai The board has a standard USB A female port connected to the USB OTG controller's data pins. Set dr_mode in the OTG controller node to indicate this usage, instead of having the implementation guess. Fixes: 2171f4fdac06 ("arm64: dts: rockchip: add roc-rk3328-cc board") Signed-off-by: Chen-Yu Tsai --- arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 8d553c92182a..56e79ce9101b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -334,6 +334,7 @@ &uart2 { }; &usb20_otg { + dr_mode = "host"; status = "okay"; };