Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2610585ybz; Mon, 27 Apr 2020 00:33:33 -0700 (PDT) X-Google-Smtp-Source: APiQypLz68FGYKbEUgwdTebb2s6KzgXy8nXX9CnFMKCGsaPL+s/42/FMfB718DWVMJk7zib1DpkT X-Received: by 2002:a17:907:2719:: with SMTP id w25mr18889990ejk.107.1587972813209; Mon, 27 Apr 2020 00:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587972813; cv=none; d=google.com; s=arc-20160816; b=pxgaq6NshtYZ9cvqi5rKBrFPyFYAEq5tZo9G1reRRjHM553LqwMvzsR7sCbFiaIFts fEBZlKCyyVi5SCa7x/ezfS+7duOR6P9i7UtwaNv/eRdy2RDkkv2GtI2FFWuux+NVvXk/ 1jw/mCVZd60nWLDETye3K0lYHPidmn/UmQy02Fut9K0ViSERdjebD9LxoAPnNf/TbLYK PGt1rOftB6NpvoQlxYC4QKJQfizGT4IzP69G09gkckDdjewRzzNo9hqsxShQ1T6sShPS L45lVXRSSv8ISLP7s38L4NZLtxGxIHBFr6kz0FemnbgWn0cf5PSA2xu0cj03pOEAb4Oy 182g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DCtOqqtsPeiNgeRJhOYdKlP0XVuF3g5i9RYqKlwS/50=; b=Jl7OuUoWlOtCZAcjy9BXOQdKlS0lFxnVpUYJ6T/yl9T/L9EGTj9kVDtS8HC8FpeApT X5+aerv6B/kuZ547tlCPfoipnNhxXbIvNzTSZOf4IWBMT1ImMPu2ANISFBhgglv9LayN /zDw7tTkasBrO5uFGboZ4+f7RSY8e81Gfk5ipXdlmJbI/koeNQZocM6Rs0my4Kz0DFtY QMY7ATyZnHqRnI3aw6S9lQIKbYZPM0aKwsJS2Q8OwfN2Qzil479WDNYmsHMXVdVs9xl1 izd1XIrw5I63AmobopGUyb2bkbX32mcntQLrKj+UdYNmyUwlBpj/Fm6mcAyfrKFQcwOo YdrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0C6XeUyN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si8109781ejt.47.2020.04.27.00.33.10; Mon, 27 Apr 2020 00:33:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0C6XeUyN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726680AbgD0Hbq (ORCPT + 99 others); Mon, 27 Apr 2020 03:31:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:35472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726507AbgD0Hbp (ORCPT ); Mon, 27 Apr 2020 03:31:45 -0400 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 Cc: Chen-Yu Tsai , linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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"; }; -- 2.26.0