From patchwork Mon Oct 12 21:13:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 7379191 Return-Path: X-Original-To: patchwork-linux-omap@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 B0426BEEA4 for ; Mon, 12 Oct 2015 21:13:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D5D732092B for ; Mon, 12 Oct 2015 21:13:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0737F20928 for ; Mon, 12 Oct 2015 21:13:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752353AbbJLVNS (ORCPT ); Mon, 12 Oct 2015 17:13:18 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:55823 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752248AbbJLVNQ (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 2F0EC21C76; Mon, 12 Oct 2015 23:12:27 +0200 (CEST) From: Laurent Pinchart To: linux-arm-kernel@lists.infradead.org Cc: linux-omap@vger.kernel.org, Benoit Cousson , Tony Lindgren Subject: [PATCH 33/37] ARM: dts: omap3-tao3530: Fix regulator enable GPIO polarity Date: Tue, 13 Oct 2015 00:13:02 +0300 Message-Id: <1444684386-17094-34-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-tao3530.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Cc: linux-omap@vger.kernel.org Cc: Benoit Cousson Cc: Tony Lindgren diff --git a/arch/arm/boot/dts/omap3-tao3530.dtsi b/arch/arm/boot/dts/omap3-tao3530.dtsi index a520b4fdcf20..68f75be5d99a 100644 --- a/arch/arm/boot/dts/omap3-tao3530.dtsi +++ b/arch/arm/boot/dts/omap3-tao3530.dtsi @@ -37,7 +37,7 @@ regulator-name = "hsusb2_vbus"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&twl_gpio 18 0>; /* GPIO LEDA */ + gpio = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* GPIO LEDA */ startup-delay-us = <70000>; };