From patchwork Fri Jun 23 15:40:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 9806803 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 4FAFB60349 for ; Fri, 23 Jun 2017 15:51:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 38D0028542 for ; Fri, 23 Jun 2017 15:51:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2ACBD28692; Fri, 23 Jun 2017 15:51:38 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 9833428542 for ; Fri, 23 Jun 2017 15:51:37 +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: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:In-Reply-To: References:List-Owner; bh=PYjix2vU25m3R35w+SrcmIl7G4LvhrEqwWLX8+SGdyg=; b=f/F KZVtAM6lVTSFAFIcy369NUIb5lEWlxdy4uOd2cojczpDQeIhw67k6XMrrmHp2imI6KhXVOeYmcdIi WRyi7eMKFPH85kUQ/PbBXAYnFvgX3lx2v0YGHA6/BrfuhHMoK+D0FpQwWMnybLkJylMIGDympEI6I eO94wz5ctTJOiqpKM9eoTs8u0lKocysL2ADJ+u2fE7YhpG/kAscW/eltE+3Zk3g/6HeijiZsn/3h4 Lsd25Y/CRLMeyZ0iEMbKYPotJwiThccx+fRZ4amP5a7kBYf7LcUyBKXQuU8bScvxhVWCYP+Ixjd0S dqogYSbMczCv197DqRTna/7C124J2gw==; 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 1dOQrr-0002rP-VY; Fri, 23 Jun 2017 15:51:31 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dOQhJ-0007ej-0T for linux-arm-kernel@lists.infradead.org; Fri, 23 Jun 2017 15:40:40 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 2C7A72097D; Fri, 23 Jun 2017 17:40:18 +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 02F36208E5; Fri, 23 Jun 2017 17:40:17 +0200 (CEST) From: Thomas Petazzoni To: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement Subject: [PATCH 1/2] arm64: dts: marvell: fix USB3 regulator definition on MacchiatoBin Date: Fri, 23 Jun 2017 17:40:13 +0200 Message-Id: <20170623154014.20573-1-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.9.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170623_084037_714547_6D9D68DB X-CRM114-Status: GOOD ( 10.27 ) 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: Thomas Petazzoni , Yehuda Yitschak , Russell King , Antoine Tenart , Nadav Haklai , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Hanna Hawa , linux-arm-kernel@lists.infradead.org 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 Due to the lack of GPIO support, the USB3 regulator definition was left unfinished in the MacchiatoBin DT description. Now that GPIO support is available, this commit adjusts the Device Tree to properly describe the USB3 regulator. Signed-off-by: Thomas Petazzoni --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index 015b58b..dfced8c 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts @@ -46,6 +46,8 @@ #include "armada-8040.dtsi" +#include + / { model = "Marvell 8040 MACHIATOBin"; compatible = "marvell,armada8040-mcbin", "marvell,armada8040", @@ -80,8 +82,9 @@ regulator-name = "v_5v0_usb3_hst_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - /* actually GPIO controlled, but 8k has no GPIO support yet */ + gpio = <&cpm_gpio2 15 GPIO_ACTIVE_HIGH>; regulator-always-on; + enable-active-high; status = "okay"; };