Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp986992pxu; Thu, 26 Nov 2020 18:33:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3XwV3BFLoOawV8mpXae1cVeo518n0cMJY9ds4SaKYg+X6XwJG1fz0IBM9hZq0NImY+1cN X-Received: by 2002:a50:951e:: with SMTP id u30mr5468283eda.197.1606444383255; Thu, 26 Nov 2020 18:33:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606444383; cv=none; d=google.com; s=arc-20160816; b=gx8Ad1kZxrQhfz6Nyb1Xcdg5xBQjjzVfM28cmGHdpXSpoJO3pvAxn4Qya9LDb0TK/N NDDfqu3g47A0HivxVgHmRPhyrPGK2fessKgTpuTKmOTX9w+ODK7uwuu/cuPQ7PjAJteY bqyvdLSQysOFKI042uTu8yefLTvAyUb8rCS0AP2I3dwLemf8j43kyIO5OmS7u3peivxX 5t9VrtYnuwDobFFsAuzZlZwmCcPbs0PJv9m05G7bcH4LmdHBC5qGT0VeTX13j5CKetGE DrAZdjAu7D01pVyDgGfd11tKVTDvxibk/rxcdWmJD15jdPRxpXxXd6t1yc37AjevOGGS fYtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=M4gno9jrHV5XFIGEJVxTjHJMA5Zq8Y3SdLKapUBDS9Q=; b=oPwSCjwd75suzhQGLc7e+Mkw34TvdzCIIQmAQ3Im2VbSf9ORw1Y/EPO9MgMBNdCg/g joKuDQmDJrEpgq8kdppw6XmTMN5y155YHQkQyTu+/1Wth7Uod8t1peeDL9OpIsOJHqa/ TXKxGLacZuMsfBrSYYI8ErP5QAZ92x7mEV2T6POD0ryVFxyYsMWQbyDOvS94xsafWb5C JTWyGAop2V2hkq+/GK4Z5P83vTtLp8KTMMjZ1vQZmXGzLKVBvmOIwXNs9Mer12+YW0Ir Ld40xxVuCqVAYX2hqZAOKmWA1+6TI5LUeuZlWb2OB3rEZsxt3Fyfq0NBAnVr8A6vmP/E cFRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DlNpl7uz; 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 c19si4450168ejk.311.2020.11.26.18.32.19; Thu, 26 Nov 2020 18:33:03 -0800 (PST) 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=DlNpl7uz; 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 S1731349AbgKZHdr (ORCPT + 99 others); Thu, 26 Nov 2020 02:33:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:45222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730205AbgKZHdq (ORCPT ); Thu, 26 Nov 2020 02:33:46 -0500 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 B81902145D; Thu, 26 Nov 2020 07:33:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606376025; bh=KDD41CmV4iq/zVokYN1U7B8lL+F2kYydcU65HLWjkW8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DlNpl7uze499uv2DWFselQ1kdIifK/GUCMrX6ao2fwLQNUAOVZ4cpupYIFK4eZYtV pnmNejo9TYMrkjAiX5zSEsT+0y6PRFaqICe0cUUc3EOlKFm6U6vgOEouc+Vni0J8MG Z+4gua/i2YgqhOmFbbpNM6/qGXOUtdXF4BCPUN98= Received: by wens.tw (Postfix, from userid 1000) id DD5025F755; Thu, 26 Nov 2020 15:33:42 +0800 (CST) From: Chen-Yu Tsai To: Heiko Stuebner , Rob Herring Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] arm64: dts: rockchip: rk3328-roc-cc: Set dr_mode to "host" for OTG Date: Thu, 26 Nov 2020 15:33:34 +0800 Message-Id: <20201126073336.30794-2-wens@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201126073336.30794-1-wens@kernel.org> References: <20201126073336.30794-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 b70ffb1c6a63..b76282e704de 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.29.2