From patchwork Tue Oct 17 09:06:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10011527 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 0EAD260235 for ; Tue, 17 Oct 2017 09:50:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0402287EB for ; Tue, 17 Oct 2017 09:50:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E31C22882B; Tue, 17 Oct 2017 09:50:39 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7023B287EB for ; Tue, 17 Oct 2017 09:50:39 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=kvbUz1aJDGGzeSfsKoN9EIMCyG7a2xvBsC/0zd2wjTw=; b=RkJKWwTvLBLw9h8oB0PjpNEzs5 hLlcF10QDsy0B5O76RjY8Y7gQ3Q5+6fL8ecLGR22poKB/bCKH0ftJl3fWefe8TE6SVWnzH51UYKcV 5GqVRWO/he5Xix8NOsMeP4tIT8+gmakg+CN3Qak+IjzWbnoAa5jJtWVE2hOZ5rXrTw+m2bepsU3Zf P5oCzNSz4cW//zLS08DpE2QHCr7N3Vec6ypX+t7V6nnDbLU3QGjWO2Lk+Qap9DOSB7qGJO5QgA67b okh1WHe7T7xQ+oz3yUFrIou0ia68y+AfAX4ppGSxexgazvVUHOGPYX94VKF8NNJpTvmUeCOZajX6M Zp1LvWXw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e4OWA-00016d-LU; Tue, 17 Oct 2017 09:50:34 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e4OV2-0007O8-7K for linux-arm-kernel@bombadil.infradead.org; Tue, 17 Oct 2017 09:49:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=rmwwbXK4nqAdyKJZBKGmlUzHN+AIIj8Wj/ciQ33yeHE=; b=DeOuWRG7cZQ9zJK7ulIzBXiNN Jqz5vohIzCr/6TWqRqptmmHRqF4zXcGrHspUSBPaDPz6S4hMqC+XePKhT/AZ3FXyUqlxNEiiShx43 rspjMANAOz3kgbfwyuyYNTY9dHoU8HyRsJwykC3HBv+XQXhoRgp+LjHVwZoP3bepINkfSH/N5VEs9 Kmb4eoD/87wRDdtURz0j2jINtXnFNnZwsKjiFJBp2VxlQ3qI/tx+sLGIWEFe8nLX1D682SaTfmc0M H6CvbfWnaJI2+2DG1/v1ANrc1zKwYCXBrJqdYRBLpKJoYmUqdD1AbPk/+pFLyg+ShJ+Js7le+6QH/ Dbmp9uv9w==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e4Nqr-0006G9-Rk for linux-arm-kernel@lists.infradead.org; Tue, 17 Oct 2017 09:07:55 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 79435208C1; Tue, 17 Oct 2017 11:06:46 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 53BD1208BD; Tue, 17 Oct 2017 11:06:46 +0200 (CEST) From: Maxime Ripard To: Daniel Vetter , David Airlie , Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 22/23] arm: dts: sun8i: a711: Enable USB OTG Date: Tue, 17 Oct 2017 11:06:29 +0200 Message-Id: <95434e5704d3cf721f011de76526575222e58bd6.1508231063.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: References: In-Reply-To: References: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Thomas Petazzoni , plaes@plaes.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Quentin Schulz , Rob Herring , Mylene Josserand , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, icenowy@aosc.io MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 98dc0c22160b..e4d08bff3158 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -337,7 +337,14 @@ status = "okay"; }; +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + &usbphy { + usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ + usb0_vbus-supply = <®_drivevbus>; usb1_vbus_supply = <®_vmain>; usb2_vbus_supply = <®_vmain>; status = "okay";