From patchwork Mon Oct 12 21:13:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 7379641 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 505BABEEA4 for ; Mon, 12 Oct 2015 21:25:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8A62A20931 for ; Mon, 12 Oct 2015 21:25:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 918542092A for ; Mon, 12 Oct 2015 21:25:34 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZlkZU-0007P1-H8; Mon, 12 Oct 2015 21:23:52 +0000 Received: from galahad.ideasonboard.com ([185.26.127.97]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZlkW2-0001Ez-Ow for linux-arm-kernel@lists.infradead.org; Mon, 12 Oct 2015 21:20:25 +0000 Received: from avalon.bb.dnainternet.fi (85-23-193-79.bb.dnainternet.fi [85.23.193.79]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 94A3A21C75; Mon, 12 Oct 2015 23:12:26 +0200 (CEST) From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 32/37] ARM: dts: omap3-overo-base: Fix regulator enable GPIO polarity Date: Tue, 13 Oct 2015 00:13:01 +0300 Message-Id: <1444684386-17094-33-git-send-email-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.4.9 In-Reply-To: <1444684386-17094-1-git-send-email-laurent.pinchart@ideasonboard.com> References: <1444684386-17094-1-git-send-email-laurent.pinchart@ideasonboard.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151012_142019_528715_E67F7C57 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tony Lindgren , linux-omap@vger.kernel.org, Benoit Cousson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The enable GPIO is active low, but is flagged as active high in the gpio property. As the gpio property flags are currently unused by the driver this doesn't cause any issue for now, but will break later if the driver starts making use of the flags. Fix it. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/omap3-overo-base.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Cc: linux-omap@vger.kernel.org Cc: Benoit Cousson Cc: Tony Lindgren diff --git a/arch/arm/boot/dts/omap3-overo-base.dtsi b/arch/arm/boot/dts/omap3-overo-base.dtsi index 18e1649681c1..1fa59d0e1e8a 100644 --- a/arch/arm/boot/dts/omap3-overo-base.dtsi +++ b/arch/arm/boot/dts/omap3-overo-base.dtsi @@ -65,7 +65,7 @@ regulator-name = "regulator-w3cbw003c-wifi-nreset"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>; /* gpio_16: WiFi nReset */ + gpio = <&gpio1 16 GPIO_ACTIVE_LOW>; /* gpio_16: WiFi nReset */ startup-delay-us = <10000>; }; @@ -75,7 +75,7 @@ regulator-name = "regulator-w3cbw003c-bt-nreset"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* gpio_164: BT nReset */ + gpio = <&gpio6 4 GPIO_ACTIVE_LOW>; /* gpio_164: BT nReset */ startup-delay-us = <10000>; }; };