From patchwork Tue Aug 8 05:20:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 9886563 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 AF97D60352 for ; Tue, 8 Aug 2017 05:21:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A23D41FEBB for ; Tue, 8 Aug 2017 05:21:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 970CF2877B; Tue, 8 Aug 2017 05:21:34 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2FEBE1FEBB for ; Tue, 8 Aug 2017 05:21:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751698AbdHHFVU (ORCPT ); Tue, 8 Aug 2017 01:21:20 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:58738 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784AbdHHFVT (ORCPT ); Tue, 8 Aug 2017 01:21:19 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v785L7YU010081; Tue, 8 Aug 2017 00:21:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1502169667; bh=jvrcMy980Ui/i3oC6aRpgOh9mAv+DzoB71+UIxmyy0c=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=BI20AuBb1U5vCqeKrncu7zq5qH0UDC6GaIokPpYOLUL7syyWZgAFmSBhrqic16YG+ 2oANrUj9vslY/XxO9nOUYA0xhVfpqFiQddIxtP1x21+cwZaryxtHBqVbIhXj/tvvdc Ihk4wuCVN2OrTP3pVZygx2ct6if5U77rocsxgYDM= Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v785L762022742; Tue, 8 Aug 2017 00:21:07 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Tue, 8 Aug 2017 00:21:06 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v785KwsR026490; Tue, 8 Aug 2017 00:21:03 -0500 From: Kishon Vijay Abraham I To: Tony Lindgren CC: Russell King , Ulf Hansson , , , , , Subject: [PATCH 2/2] ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect Date: Tue, 8 Aug 2017 10:50:57 +0530 Message-ID: <20170808052057.24433-2-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170808052057.24433-1-kishon@ti.com> References: <20170808052057.24433-1-kishon@ti.com> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/am572x-idk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts index 9da6d83ca185..940fcbe5380b 100644 --- a/arch/arm/boot/dts/am572x-idk.dts +++ b/arch/arm/boot/dts/am572x-idk.dts @@ -81,7 +81,7 @@ vmmc-supply = <&v3_3d>; vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; - cd-gpios = <&gpio6 27 0>; /* gpio 219 */ + cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &sn65hvs882 {