From patchwork Tue Oct 16 10:50:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baruch Siach X-Patchwork-Id: 10643427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A96961057 for ; Tue, 16 Oct 2018 11:04:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8CA41296F3 for ; Tue, 16 Oct 2018 11:04:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80EE92986B; Tue, 16 Oct 2018 11:04:18 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 5A69D296F3 for ; Tue, 16 Oct 2018 11:04:17 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=IzfZ+kmnoPb0luWfqjO3/YrvynxkwzQDiiklHLlFW0o=; b=celL1mW5noBocp QVhapXzPPAmNcqtQG37PHCbn3Sbk1nsTLzAZTgMQxEnbW6sXkrbRkMDWc4ion9bF7RIlpDFY7Q+H2 Kgnljz20XNCodOSnlGOBSNgOr10qHExBqRvdX3VlSqMd81SIxj5hK66YUBWuegm8zpmSPASjlg2Uk eqvBONmCRWqwJ890ODaXZTnJ5DcJsPE7iu9EfXzk47SpSnYN73ACrVkPVLUSFrSAz43eEMlV3dPKt 6SB2CfUCb1ctSHPBg3hd6f8cXBHLcZFl0PSuguBwCzkV7D9C91dKffluM6yJ9NjSwTQ7pnT0T/Kai 5ViNwaF8IPgknjd8Q5QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCN90-0000em-4L; Tue, 16 Oct 2018 11:04:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCN8n-0000YE-Nw for linux-arm-kernel@bombadil.infradead.org; Tue, 16 Oct 2018 11:03:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=h+e+OBT7GuJaX3+XcJZGIG3/bFt43spT6TDBBJg/Tk0=; b=mVcCDAbVGrlWIBtMltW1TG9tP6 gB4DTEgJMmBdXwQ6cJemLDOSDggOi76XXMxcMcu6AaT3Z/AwvcuY1epEaCSIb5sGnn4sncFDYVIun vwV7HDmMX0wX1NbdWrZigYiwBmp8wcQmGwSA6K4HPTEsaizRjjOclVW5xzB6wax/rFSn4+BbPdprq m337WPN5EOo8jt2gnXJs7ZJdKHjJCQKsV8aI1bjdPQG6R8Jb7l3Pf85fXVJgQ2k5M2lAeKzqevWzA +8idCwIcX6OO1HIBkOIuFbqfvkq32HXDEytGnNz2SjU3D+MZeXqFV+iv3gDNpfHZyZNUZb6+blxiM QkXGHynw==; Received: from guitar.tcltek.co.il ([192.115.133.116] helo=mx.tkos.co.il) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCMyK-00036a-8e for linux-arm-kernel@lists.infradead.org; Tue, 16 Oct 2018 10:53:10 +0000 Received: from tarshish.tkos.co.il (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 21636440072; Tue, 16 Oct 2018 13:52:49 +0300 (IDT) From: Baruch Siach To: Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth Subject: [PATCH 1/2] arm64: dts: clearfog-gt-8k: fix USB regulator gpio polarity Date: Tue, 16 Oct 2018 13:50:52 +0300 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181016_115308_414751_9ED28C50 X-CRM114-Status: GOOD ( 13.00 ) 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: Baruch Siach , Florian Fainelli , netdev@vger.kernel.org, Linus Walleij , Russell King , Ori Shemtov , linux-arm-kernel@lists.infradead.org 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 The fixed regulator driver ignores the gpio flags, so this change has no practical effect in the current implementation. Fix it anyway to correct the hardware description. Signed-off-by: Baruch Siach --- arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts index aea9c220ae6a..af1310c53bc8 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts @@ -42,7 +42,7 @@ v_5v0_usb3_hst_vbus: regulator-usb3-vbus0 { compatible = "regulator-fixed"; - gpio = <&cp0_gpio2 15 GPIO_ACTIVE_HIGH>; + gpio = <&cp0_gpio2 15 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&cp0_xhci_vbus_pins>; regulator-name = "v_5v0_usb3_hst_vbus";