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: 7379181 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 57A8F9F302 for ; Mon, 12 Oct 2015 21:13:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7CB9A20931 for ; Mon, 12 Oct 2015 21:13:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 78FF72092E for ; Mon, 12 Oct 2015 21:13:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752304AbbJLVNR (ORCPT ); Mon, 12 Oct 2015 17:13:17 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:55818 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752237AbbJLVNQ (ORCPT ); Mon, 12 Oct 2015 17:13:16 -0400 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 Cc: linux-omap@vger.kernel.org, Benoit Cousson , Tony Lindgren 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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>; }; };